diff --git a/.gitignore b/.gitignore index db36a1763..f697b8831 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ secrets.yaml prod-sim dist/ + +interchaintest/ +heighliner/ \ No newline at end of file diff --git a/Makefile b/Makefile index de0062f9f..1e8f8a644 100644 --- a/Makefile +++ b/Makefile @@ -117,41 +117,35 @@ lint-folder-fix: ############################################################################### ### Protobuf ### ############################################################################### +CURRENT_UID := $(shell id -u) +CURRENT_GID := $(shell id -g) protoVer=0.14.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) -protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) +protoImage="$(DOCKER)" run -e BUF_CACHE_DIR=/tmp/buf --rm -v "$(CURDIR)":/workspace:rw --user ${CURRENT_UID}:${CURRENT_GID} --workdir /workspace $(protoImageName) -#? proto-all: Run make proto-format proto-lint proto-gen -proto-all: proto-format proto-lint proto-gen +proto-all: proto-format proto-lint proto-gen format -#? proto-gen: Generate Protobuf files proto-gen: + @go install cosmossdk.io/orm/cmd/protoc-gen-go-cosmos-orm@v1.0.0-beta.3 + @echo "Generating Protobuf files" @$(protoImage) sh ./scripts/protocgen.sh + @go mod tidy -#? proto-swagger-gen: Generate Protobuf Swagger -proto-swagger-gen: - @echo "Generating Protobuf Swagger" - @$(protoImage) sh ./scripts/protoc-swagger-gen.sh - -#? proto-format: Format proto file proto-format: + @echo "Formatting Protobuf files" @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; -#? proto-lint: Lint proto file +proto-swagger-gen: + @./scripts/protoc-swagger-gen.sh + proto-lint: @$(protoImage) buf lint --error-format=json -#? proto-check-breaking: Check proto file is breaking proto-check-breaking: @$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=main -#? proto-update-deps: Update protobuf dependencies -proto-update-deps: - @echo "Updating Protobuf dependencies" - $(DOCKER) run --rm -v $(CURDIR)/proto:/workspace --workdir /workspace $(protoImageName) buf mod update - -.PHONY: proto-all proto-gen proto-swagger-gen proto-format proto-lint proto-check-breaking proto-update-deps +.PHONY: proto-all proto-gen proto-swagger-gen proto-format proto-lint proto-check-breaking ############################################################################### ### tests ### @@ -231,9 +225,13 @@ mock-gen: $(MAKE) mock-gen-registry $(MAKE) mock-gen-reporter +.PHONY: mock-gen mock-gen-bridge mock-gen-dispute mock-gen-mint mock-gen-oracle mock-gen-registry mock-gen-reporter mock-gen-daemon + get-heighliner: - git clone https://github.com/strangelove-ventures/heighliner.git + git clone --depth 1 https://github.com/strangelove-ventures/heighliner.git cd heighliner && go install + @sleep 0.1 + @echo ✅ heighliner installed to $(shell which heighliner) local-image: ifeq (,$(shell which heighliner)) @@ -242,4 +240,20 @@ else heighliner build -c layer --local --dockerfile cosmos --build-target "make install" --binaries "/go/bin/layerd" endif -.PHONY: mock-gen mock-gen-bridge mock-gen-dispute mock-gen-mint mock-gen-oracle mock-gen-registry mock-gen-reporter mock-gen-daemon \ No newline at end of file +get-localic: + @echo "Installing local-interchain" + git clone --depth 1 https://github.com/strangelove-ventures/interchaintest.git + cd interchaintest/local-interchain && make install + @sleep 0.1 + @echo ✅ local-interchain installed $(shell which local-ic) + + +local-devnet: +ifeq (,$(shell which local-ic)) + echo 'local-ic' binary not found. Consider running `make get-localic` +else + echo "Starting local interchain" + cd local_devnet && ICTEST_HOME=. local-ic start layer.json + +endif +.PHONY: get-heighliner local-image get-localic local-devnet \ No newline at end of file diff --git a/README.md b/README.md index 0bcb853a3..ed539acda 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,10 @@ For docs on how to join our public testnet go here: [https://docs.tellor.io/lay - `start_two_chains.sh` (mac environment) sets up two nodes/validators and starts one of them from this script. Then to start the other validator you would run the `start_bill.sh` script 2) Run the selected script from the base layer folder: -`sh ./start_scripts/{selected_script}` + +```sh +./start_scripts/{selected_script} +``` ## Joining a Running Chain @@ -36,6 +39,16 @@ To find more information please go to the layer_scripts folder. Here you will find a detailed breakdown for how to join a chain as a node and how to create a new validator for the chain +## Start a local devnet + +Run the chain locally in a docker container, powered by [local-ic](https://github.com/strangelove-ventures/interchaintest/tree/main/local-interchain) + +```sh +make local-devnet +``` + +To configure the chain (ie add more validators plus more) edit the json in local_devnet/chains/layer.json + ## Tests To run integration tests: diff --git a/daemons/token_bridge_feed/client/client.go b/daemons/token_bridge_feed/client/client.go index df8bf92b6..e9ec3da4c 100644 --- a/daemons/token_bridge_feed/client/client.go +++ b/daemons/token_bridge_feed/client/client.go @@ -8,13 +8,13 @@ import ( "math/big" "net/http" "net/url" + "os" "sync" "time" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/ethclient" - "github.com/spf13/viper" tokenbridgetypes "github.com/tellor-io/layer/daemons/server/types/token_bridge" tokenbridge "github.com/tellor-io/layer/daemons/token_bridge_feed/abi" @@ -381,31 +381,17 @@ func (c *Client) EncodeReportValue(depositReceipt DepositReceipt) ([]byte, error } func (c *Client) getEthRpcUrl() (string, error) { - viper.SetConfigName("secrets") - viper.SetConfigType("yaml") - viper.AddConfigPath(".") - err := viper.ReadInConfig() - if err != nil { - panic(fmt.Errorf("fatal error config file: %w", err)) - } - ethRpcUrl := viper.GetString("eth_rpc_url") + ethRpcUrl := os.Getenv("ETH_RPC_URL") if ethRpcUrl == "" { - return "", fmt.Errorf("eth_rpc_url not set") + return "", fmt.Errorf("ETH_RPC_URL not set") } return ethRpcUrl, nil } func (c *Client) getTokenBridgeContractAddress() (common.Address, error) { - viper.SetConfigName("secrets") - viper.SetConfigType("yaml") - viper.AddConfigPath(".") - err := viper.ReadInConfig() - if err != nil { - panic(fmt.Errorf("fatal error config file: %w", err)) - } - tokenBridgeContractAddress := viper.GetString("token_bridge_contract") + tokenBridgeContractAddress := os.Getenv("TOKEN_BRIDGE_CONTRACT") if tokenBridgeContractAddress == "" { - return common.Address{}, fmt.Errorf("token_bridge_contract not set") + return common.Address{}, fmt.Errorf("TOKEN_BRIDGE_CONTRACT not set") } return common.HexToAddress(tokenBridgeContractAddress), nil } diff --git a/local_devnet/chains/layer.json b/local_devnet/chains/layer.json new file mode 100644 index 000000000..97456e23a --- /dev/null +++ b/local_devnet/chains/layer.json @@ -0,0 +1,78 @@ +{ + "chains": [ + { + "name": "layer", + "chain_id": "layer-1", + "denom": "loya", + "binary": "layerd", + "bech32_prefix": "tellor", + "docker_image": { + "repository": "layer", + "version": "local", + "uid-gid": "1025:1025" + }, + "gas_prices": "0%DENOM%", + "coin_type": 118, + "trusting_period": "112h", + "gas_adjustment": 2.0, + "number_vals": 4, + "number_node": 0, + "debugging": true, + "block_time": "5000ms", + "host_port_override": { + "26657": "26657", + "1317": "1317", + "9090": "9090" + }, + "additional_start_args": [ + "--keyring-backend", + "test", + "--key-name", + "validator" + ], + "env": [ + "ETH_RPC_URL=https://sepolia.infura.io/v3/key", + "TOKEN_BRIDGE_CONTRACT=0x" + ], + "config_file_overrides": [ + { + "file": "config/config.toml", + "paths": { + "moniker": "localic", + "rpc.cors_allowed_origins": [ + "*" + ] + } + } + ], + "genesis": { + "modify": [ + { + "key": "app_state.gov.params.voting_period", + "value": "15s" + }, + { + "key": "app_state.gov.params.max_deposit_period", + "value": "15s" + }, + { + "key": "app_state.gov.params.min_deposit.0.denom", + "value": "loya" + }, + { + "key": "app_state.gov.params.min_deposit.0.amount", + "value": "1" + }, + { + "key": "consensus.params.abci.vote_extensions_enable_height", + "value": "1" + } + ], + "startup_commands": [ + "ls %HOME%", + "%BIN% keys add example-key-after --keyring-backend test --home %HOME%" + ] + } + } + ] +} \ No newline at end of file diff --git a/local_devnet/configs/logs.json b/local_devnet/configs/logs.json new file mode 100644 index 000000000..a2bd217fb --- /dev/null +++ b/local_devnet/configs/logs.json @@ -0,0 +1,15 @@ +{ + "start_time": 1730826722, + "chains": [ + { + "chain_id": "layer-1", + "chain_name": "layer-1", + "rpc_address": "http://0.0.0.0:26657", + "rest_address": "http://0.0.0.0:1317", + "grpc_address": "0.0.0.0:9090", + "p2p_address": "0.0.0.0:62372", + "ibc_paths": [] + } + ], + "ibc_channels": [] +} \ No newline at end of file diff --git a/local_devnet/docker-compose.yml b/local_devnet/docker-compose.yml deleted file mode 100644 index 831398d21..000000000 --- a/local_devnet/docker-compose.yml +++ /dev/null @@ -1,157 +0,0 @@ -services: - core0: - user: "0:0" - container_name: core0 - build: - context: .. - expose: - - "26660" # for prometheus - ports: - - "9090:9090" - - "26657:26657" - entrypoint: [ "/bin/bash" ] - command: [ "/opt/start_core0.sh" ] - volumes: - - ${PWD}/layer-app/core0/config/priv_validator_key.json:/opt/config/priv_validator_key.json:ro - - ${PWD}/layer-app/core0/config/node_key.json:/opt/config/node_key.json:ro - - ${PWD}/layer-app/core0/keyring-test:/opt/keyring-test:ro - - ${PWD}/layer-app/config.toml:/opt/config/config.toml:ro - - ${PWD}/layer-app/app.toml:/opt/config/app.toml:ro - - ${PWD}/layer-app/genesis.json:/opt/config/genesis.json:rw - - ${PWD}/layer-app/secrets.yaml:/opt/config/secrets.yaml:ro - - ${PWD}/layer-app/market_params.toml:/opt/config/market_params.toml:ro - - ${PWD}/layer-app/pricefeed_exchange_config.toml:/opt/config/pricefeed_exchange_config.toml:ro - - ${PWD}/scripts/start_core0.sh:/opt/start_core0.sh:ro - - core1: - user: "0:0" - container_name: core1 - build: - context: .. - expose: - - "26660" # for prometheus - depends_on: - - core0 - environment: - - MONIKER=core1 - - LAYERD_NODE_HOME=/opt - - AMOUNT=24000000loya - - COMMISSION_RATE=100000000000000000 - - MIN_TOKENS_REQUIRED=1000000 - entrypoint: [ "/bin/bash" ] - command: [ "/opt/start_node_and_create_validator.sh" ] - volumes: - - ${PWD}/layer-app/core1/config/priv_validator_key.json:/opt/config/priv_validator_key.json:ro - - ${PWD}/layer-app/core1/config/node_key.json:/opt/config/node_key.json:ro - - ${PWD}/layer-app/core1/keyring-test:/opt/keyring-test:ro - - ${PWD}/scripts/start_node_and_create_validator.sh:/opt/start_node_and_create_validator.sh:ro - - ${PWD}/layer-app/config.toml:/opt/config/config.toml:ro - - ${PWD}/layer-app/secrets.yaml:/opt/config/secrets.yaml:ro - - ${PWD}/layer-app/market_params.toml:/opt/config/market_params.toml:ro - - ${PWD}/layer-app/pricefeed_exchange_config.toml:/opt/config/pricefeed_exchange_config.toml:ro - - ${PWD}/layer-app/app.toml:/opt/config/app.toml:ro - - ${PWD}/layer-app/genesis.json:/opt/config/genesis.json:ro - - core2: - user: "0:0" - container_name: core2 - build: - context: .. - expose: - - "26660" # for prometheus - depends_on: - - core0 - environment: - - MONIKER=core2 - - LAYERD_NODE_HOME=/opt - - AMOUNT=10000000loya - - COMMISSION_RATE=100000000000000000 - - MIN_TOKENS_REQUIRED=1000000 - entrypoint: [ "/bin/bash" ] - command: [ "/opt/start_node_and_create_validator.sh" ] - volumes: - - ${PWD}/layer-app/core2/config/priv_validator_key.json:/opt/config/priv_validator_key.json:ro - - ${PWD}/layer-app/core2/config/node_key.json:/opt/config/node_key.json:ro - - ${PWD}/layer-app/core2/keyring-test:/opt/keyring-test:ro - - ${PWD}/scripts/start_node_and_create_validator.sh:/opt/start_node_and_create_validator.sh:ro - - ${PWD}/layer-app/config.toml:/opt/config/config.toml:ro - - ${PWD}/layer-app/secrets.yaml:/opt/config/secrets.yaml:ro - - ${PWD}/layer-app/market_params.toml:/opt/config/market_params.toml:ro - - ${PWD}/layer-app/pricefeed_exchange_config.toml:/opt/config/pricefeed_exchange_config.toml:ro - - ${PWD}/layer-app/app.toml:/opt/config/app.toml:ro - - ${PWD}/layer-app/genesis.json:/opt/config/genesis.json:ro - - core3: - user: "0:0" - container_name: core3 - build: - context: .. - expose: - - "26660" # for prometheus - depends_on: - - core0 - environment: - - MONIKER=core3 - - LAYERD_NODE_HOME=/opt - - AMOUNT=10000000loya - - COMMISSION_RATE=100000000000000000 - - MIN_TOKENS_REQUIRED=1000000 - entrypoint: [ "/bin/bash" ] - command: [ "/opt/start_node_and_create_validator.sh" ] - volumes: - - ${PWD}/layer-app/core3/config/priv_validator_key.json:/opt/config/priv_validator_key.json:ro - - ${PWD}/layer-app/core3/config/node_key.json:/opt/config/node_key.json:ro - - ${PWD}/layer-app/core3/keyring-test:/opt/keyring-test:ro - - ${PWD}/scripts/start_node_and_create_validator.sh:/opt/start_node_and_create_validator.sh:ro - - ${PWD}/layer-app/config.toml:/opt/config/config.toml:ro - - ${PWD}/layer-app/secrets.yaml:/opt/config/secrets.yaml:ro - - ${PWD}/layer-app/market_params.toml:/opt/config/market_params.toml:ro - - ${PWD}/layer-app/pricefeed_exchange_config.toml:/opt/config/pricefeed_exchange_config.toml:ro - - ${PWD}/layer-app/app.toml:/opt/config/app.toml:ro - - ${PWD}/layer-app/genesis.json:/opt/config/genesis.json:ro - - prometheus: - container_name: prometheus - image: prom/prometheus - ports: - - "9000:9090" - volumes: - - ${PWD}/telemetry/prometheus:/etc/prometheus - - prometheus-data:/prometheus - # yamllint disable-line rule:line-length - command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml - extra_hosts: - - "host.docker.internal:host-gateway" - - otel-collector: - container_name: otel-collector - image: otel/opentelemetry-collector - command: [ "--config=/root/otel-collector/config.yml" ] - volumes: - - ${PWD}/telemetry/otel-collector:/root/otel-collector/ - ports: - - "8888:8888" # Prometheus metrics exposed by the collector - - "8889:8889" # Prometheus exporter metrics - - "55681:55681" - - "13133:13133" # health_check extension - - "4317:4317" # OTLP gRPC receiver - - "4318:4318" # OTLP http receiver - - "4319:4319" # OTLP http receiver - - grafana: - # default credentials: admin:admin - container_name: grafana - image: grafana/grafana:latest - user: "0" - ports: - - "3000:3000" - restart: unless-stopped - volumes: - - ${PWD}/telemetry/grafana/:/etc/grafana/provisioning/ - - ${PWD}/telemetry/grafana/:/var/lib/grafana/dashboards/ - - ${PWD}/telemetry/grafana/datasources/:/var/lib/grafana/datasources/ - - grafana-data:/var/lib/grafana - -volumes: - prometheus-data: - grafana-data: diff --git a/local_devnet/layer-app/app.toml b/local_devnet/layer-app/app.toml deleted file mode 100644 index 0e62cf397..000000000 --- a/local_devnet/layer-app/app.toml +++ /dev/null @@ -1,235 +0,0 @@ -# This is a TOML config file. -# For more information, see https://github.com/toml-lang/toml - -############################################################################### -### Base Configuration ### -############################################################################### - -# The minimum gas prices a validator is willing to accept for processing a -# transaction. A transaction's fees must meet the minimum of any denomination -# specified in this config (e.g. 0.25token1,0.0001token2). -minimum-gas-prices = "0loya" - -# The maximum gas a query coming over rest/grpc may consume. -# If this is set to zero, the query can consume an unbounded amount of gas. -query-gas-limit = "0" - -# default: the last 362880 states are kept, pruning at 10 block intervals -# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node) -# everything: 2 latest states will be kept; pruning at 10 block intervals. -# custom: allow pruning options to be manually specified through 'pruning-keep-recent', and 'pruning-interval' -pruning = "default" - -# These are applied if and only if the pruning strategy is custom. -pruning-keep-recent = "0" -pruning-interval = "0" - -# HaltHeight contains a non-zero block height at which a node will gracefully -# halt and shutdown that can be used to assist upgrades and testing. -# -# Note: Commitment of state will be attempted on the corresponding block. -halt-height = 0 - -# HaltTime contains a non-zero minimum block time (in Unix seconds) at which -# a node will gracefully halt and shutdown that can be used to assist upgrades -# and testing. -# -# Note: Commitment of state will be attempted on the corresponding block. -halt-time = 0 - -# MinRetainBlocks defines the minimum block height offset from the current -# block being committed, such that all blocks past this offset are pruned -# from CometBFT. It is used as part of the process of determining the -# ResponseCommit.RetainHeight value during ABCI Commit. A value of 0 indicates -# that no blocks should be pruned. -# -# This configuration value is only responsible for pruning CometBFT blocks. -# It has no bearing on application state pruning which is determined by the -# "pruning-*" configurations. -# -# Note: CometBFT block pruning is dependant on this parameter in conjunction -# with the unbonding (safety threshold) period, state pruning and state sync -# snapshot parameters to determine the correct minimum value of -# ResponseCommit.RetainHeight. -min-retain-blocks = 0 - -# InterBlockCache enables inter-block caching. -inter-block-cache = true - -# IndexEvents defines the set of events in the form {eventType}.{attributeKey}, -# which informs CometBFT what to index. If empty, all events will be indexed. -# -# Example: -# ["message.sender", "message.recipient"] -index-events = [] - -# IavlCacheSize set the size of the iavl tree cache (in number of nodes). -iavl-cache-size = 781250 - -# IAVLDisableFastNode enables or disables the fast node feature of IAVL. -# Default is false. -iavl-disable-fastnode = false - -# AppDBBackend defines the database backend type to use for the application and snapshots DBs. -# An empty string indicates that a fallback will be used. -# The fallback is the db_backend value set in CometBFT's config.toml. -app-db-backend = "" - -############################################################################### -### Telemetry Configuration ### -############################################################################### - -[telemetry] - -# Prefixed with keys to separate services. -service-name = "" - -# Enabled enables the application telemetry functionality. When enabled, -# an in-memory sink is also enabled by default. Operators may also enabled -# other sinks such as Prometheus. -enabled = false - -# Enable prefixing gauge values with hostname. -enable-hostname = false - -# Enable adding hostname to labels. -enable-hostname-label = false - -# Enable adding service to labels. -enable-service-label = false - -# PrometheusRetentionTime, when positive, enables a Prometheus metrics sink. -prometheus-retention-time = 0 - -# GlobalLabels defines a global set of name/value label tuples applied to all -# metrics emitted using the wrapper functions defined in telemetry package. -# -# Example: -# [["chain_id", "cosmoshub-1"]] -global-labels = [] - -# MetricsSink defines the type of metrics sink to use. -metrics-sink = "" - -# StatsdAddr defines the address of a statsd server to send metrics to. -# Only utilized if MetricsSink is set to "statsd" or "dogstatsd". -statsd-addr = "" - -# DatadogHostname defines the hostname to use when emitting metrics to -# Datadog. Only utilized if MetricsSink is set to "dogstatsd". -datadog-hostname = "" - -############################################################################### -### API Configuration ### -############################################################################### - -[api] - -# Enable defines if the API server should be enabled. -enable = false - -# Swagger defines if swagger documentation should automatically be registered. -swagger = false - -# Address defines the API server to listen on. -address = "tcp://0.0.0.0:1317" - -# MaxOpenConnections defines the number of maximum open connections. -max-open-connections = 1000 - -# RPCReadTimeout defines the CometBFT RPC read timeout (in seconds). -rpc-read-timeout = 10 - -# RPCWriteTimeout defines the CometBFT RPC write timeout (in seconds). -rpc-write-timeout = 0 - -# RPCMaxBodyBytes defines the CometBFT maximum request body (in bytes). -rpc-max-body-bytes = 1000000 - -# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk). -enabled-unsafe-cors = false - -############################################################################### -### gRPC Configuration ### -############################################################################### - -[grpc] - -# Enable defines if the gRPC server should be enabled. -enable = true - -# Address defines the gRPC server address to bind to. -address = "0.0.0.0:9090" - -# MaxRecvMsgSize defines the max message size in bytes the server can receive. -# The default value is 10MB. -max-recv-msg-size = "10485760" - -# MaxSendMsgSize defines the max message size in bytes the server can send. -# The default value is math.MaxInt32. -max-send-msg-size = "2147483647" - -############################################################################### -### gRPC Web Configuration ### -############################################################################### - -[grpc-web] - -# GRPCWebEnable defines if the gRPC-web should be enabled. -# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op. -# NOTE: gRPC-Web uses the same address as the API server. -enable = true - -############################################################################### -### State Sync Configuration ### -############################################################################### - -# State sync snapshots allow other nodes to rapidly join the network without replaying historical -# blocks, instead downloading and applying a snapshot of the application state at a given height. -[state-sync] - -# snapshot-interval specifies the block interval at which local state sync snapshots are -# taken (0 to disable). -snapshot-interval = 0 - -# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). -snapshot-keep-recent = 2 - -############################################################################### -### State Streaming ### -############################################################################### - -# Streaming allows nodes to stream state to external systems. -[streaming] - -# streaming.abci specifies the configuration for the ABCI Listener streaming service. -[streaming.abci] - -# List of kv store keys to stream out via gRPC. -# The store key names MUST match the module's StoreKey name. -# -# Example: -# ["acc", "bank", "gov", "staking", "mint"[,...]] -# ["*"] to expose all keys. -keys = [] - -# The plugin name used for streaming via gRPC. -# Streaming is only enabled if this is set. -# Supported plugins: abci -plugin = "" - -# stop-node-on-err specifies whether to stop the node on message delivery error. -stop-node-on-err = true - -############################################################################### -### Mempool ### -############################################################################### - -[mempool] -# Setting max-txs to 0 will allow for a unbounded amount of transactions in the mempool. -# Setting max_txs to negative 1 (-1) will disable transactions from being inserted into the mempool (no-op mempool). -# Setting max_txs to a positive number (> 0) will limit the number of transactions in the mempool, by the specified amount. -# -# Note, this configuration only applies to SDK built-in app-side mempool -# implementations. -max-txs = -1 diff --git a/local_devnet/layer-app/client.toml b/local_devnet/layer-app/client.toml deleted file mode 100644 index 4c2f86586..000000000 --- a/local_devnet/layer-app/client.toml +++ /dev/null @@ -1,17 +0,0 @@ -# This is a TOML config file. -# For more information, see https://github.com/toml-lang/toml - -############################################################################### -### Client Configuration ### -############################################################################### - -# The network chain ID -chain-id = "layer" -# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory) -keyring-backend = "test" -# CLI output format (text|json) -output = "text" -# : to CometBFT RPC interface for this chain -node = "tcp://localhost:26657" -# Transaction broadcasting mode (sync|async) -broadcast-mode = "sync" diff --git a/local_devnet/layer-app/config.toml b/local_devnet/layer-app/config.toml deleted file mode 100644 index 5c7940c40..000000000 --- a/local_devnet/layer-app/config.toml +++ /dev/null @@ -1,488 +0,0 @@ -# This is a TOML config file. -# For more information, see https://github.com/toml-lang/toml - -# NOTE: Any path below can be absolute (e.g. "/var/myawesomeapp/data") or -# relative to the home directory (e.g. "data"). The home directory is -# "$HOME/.cometbft" by default, but could be changed via $CMTHOME env variable -# or --home cmd flag. - -# The version of the CometBFT binary that created or -# last modified the config file. Do not modify this. -version = "0.38.7" - -####################################################################### -### Main Base Config Options ### -####################################################################### - -# TCP or UNIX socket address of the ABCI application, -# or the name of an ABCI application compiled in with the CometBFT binary -proxy_app = "tcp://127.0.0.1:26658" - -# A custom human readable name for this node -moniker = "core0" - -# Database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb -# * goleveldb (github.com/syndtr/goleveldb - most popular implementation) -# - pure go -# - stable -# * cleveldb (uses levigo wrapper) -# - fast -# - requires gcc -# - use cleveldb build tag (go build -tags cleveldb) -# * boltdb (uses etcd's fork of bolt - github.com/etcd-io/bbolt) -# - EXPERIMENTAL -# - may be faster is some use-cases (random reads - indexer) -# - use boltdb build tag (go build -tags boltdb) -# * rocksdb (uses github.com/tecbot/gorocksdb) -# - EXPERIMENTAL -# - requires gcc -# - use rocksdb build tag (go build -tags rocksdb) -# * badgerdb (uses github.com/dgraph-io/badger) -# - EXPERIMENTAL -# - use badgerdb build tag (go build -tags badgerdb) -db_backend = "goleveldb" - -# Database directory -db_dir = "data" - -# Output level for logging, including package level options -log_level = "info" - -# Output format: 'plain' (colored text) or 'json' -log_format = "plain" - -##### additional base config options ##### - -# Path to the JSON file containing the initial validator set and other meta data -genesis_file = "config/genesis.json" - -# Path to the JSON file containing the private key to use as a validator in the consensus protocol -priv_validator_key_file = "config/priv_validator_key.json" - -# Path to the JSON file containing the last sign state of a validator -priv_validator_state_file = "data/priv_validator_state.json" - -# TCP or UNIX socket address for CometBFT to listen on for -# connections from an external PrivValidator process -priv_validator_laddr = "" - -# Path to the JSON file containing the private key to use for node authentication in the p2p protocol -node_key_file = "config/node_key.json" - -# Mechanism to connect to the ABCI application: socket | grpc -abci = "socket" - -# If true, query the ABCI app on connecting to a new peer -# so the app can decide if we should keep the connection or not -filter_peers = false - - -####################################################################### -### Advanced Configuration Options ### -####################################################################### - -####################################################### -### RPC Server Configuration Options ### -####################################################### -[rpc] - -# TCP or UNIX socket address for the RPC server to listen on -laddr = "tcp://0.0.0.0:26657" - -# A list of origins a cross-domain request can be executed from -# Default value '[]' disables cors support -# Use '["*"]' to allow any origin -cors_allowed_origins = ["*"] - -# A list of methods the client is allowed to use with cross-domain requests -cors_allowed_methods = ["HEAD", "GET", "POST"] - -# A list of non simple headers the client is allowed to use with cross-domain requests -cors_allowed_headers = [ - "Origin", - "Accept", - "Content-Type", - "X-Requested-With", - "X-Server-Time", -] - -# TCP or UNIX socket address for the gRPC server to listen on -# NOTE: This server only supports /broadcast_tx_commit -grpc_laddr = "" - -# Maximum number of simultaneous connections. -# Does not include RPC (HTTP&WebSocket) connections. See max_open_connections -# If you want to accept a larger number than the default, make sure -# you increase your OS limits. -# 0 - unlimited. -# Should be < {ulimit -Sn} - {MaxNumInboundPeers} - {MaxNumOutboundPeers} - {N of wal, db and other open files} -# 1024 - 40 - 10 - 50 = 924 = ~900 -grpc_max_open_connections = 900 - -# Activate unsafe RPC commands like /dial_seeds and /unsafe_flush_mempool -unsafe = false - -# Maximum number of simultaneous connections (including WebSocket). -# Does not include gRPC connections. See grpc_max_open_connections -# If you want to accept a larger number than the default, make sure -# you increase your OS limits. -# 0 - unlimited. -# Should be < {ulimit -Sn} - {MaxNumInboundPeers} - {MaxNumOutboundPeers} - {N of wal, db and other open files} -# 1024 - 40 - 10 - 50 = 924 = ~900 -max_open_connections = 900 - -# Maximum number of unique clientIDs that can /subscribe -# If you're using /broadcast_tx_commit, set to the estimated maximum number -# of broadcast_tx_commit calls per block. -max_subscription_clients = 100 - -# Maximum number of unique queries a given client can /subscribe to -# If you're using GRPC (or Local RPC client) and /broadcast_tx_commit, set to -# the estimated # maximum number of broadcast_tx_commit calls per block. -max_subscriptions_per_client = 5 - -# Experimental parameter to specify the maximum number of events a node will -# buffer, per subscription, before returning an error and closing the -# subscription. Must be set to at least 100, but higher values will accommodate -# higher event throughput rates (and will use more memory). -experimental_subscription_buffer_size = 200 - -# Experimental parameter to specify the maximum number of RPC responses that -# can be buffered per WebSocket client. If clients cannot read from the -# WebSocket endpoint fast enough, they will be disconnected, so increasing this -# parameter may reduce the chances of them being disconnected (but will cause -# the node to use more memory). -# -# Must be at least the same as "experimental_subscription_buffer_size", -# otherwise connections could be dropped unnecessarily. This value should -# ideally be somewhat higher than "experimental_subscription_buffer_size" to -# accommodate non-subscription-related RPC responses. -experimental_websocket_write_buffer_size = 200 - -# If a WebSocket client cannot read fast enough, at present we may -# silently drop events instead of generating an error or disconnecting the -# client. -# -# Enabling this experimental parameter will cause the WebSocket connection to -# be closed instead if it cannot read fast enough, allowing for greater -# predictability in subscription behavior. -experimental_close_on_slow_client = false - -# How long to wait for a tx to be committed during /broadcast_tx_commit. -# WARNING: Using a value larger than 10s will result in increasing the -# global HTTP write timeout, which applies to all connections and endpoints. -# See https://github.com/tendermint/tendermint/issues/3435 -timeout_broadcast_tx_commit = "10s" - -# Maximum size of request body, in bytes -max_body_bytes = 1000000 - -# Maximum size of request header, in bytes -max_header_bytes = 1048576 - -# The path to a file containing certificate that is used to create the HTTPS server. -# Might be either absolute path or path related to CometBFT's config directory. -# If the certificate is signed by a certificate authority, -# the certFile should be the concatenation of the server's certificate, any intermediates, -# and the CA's certificate. -# NOTE: both tls_cert_file and tls_key_file must be present for CometBFT to create HTTPS server. -# Otherwise, HTTP server is run. -tls_cert_file = "" - -# The path to a file containing matching private key that is used to create the HTTPS server. -# Might be either absolute path or path related to CometBFT's config directory. -# NOTE: both tls-cert-file and tls-key-file must be present for CometBFT to create HTTPS server. -# Otherwise, HTTP server is run. -tls_key_file = "" - -# pprof listen address (https://golang.org/pkg/net/http/pprof) -pprof_laddr = "localhost:6060" - -####################################################### -### P2P Configuration Options ### -####################################################### -[p2p] - -# Address to listen for incoming connections -laddr = "tcp://0.0.0.0:26656" - -# Address to advertise to peers for them to dial. If empty, will use the same -# port as the laddr, and will introspect on the listener to figure out the -# address. IP and port are required. Example: 159.89.10.97:26656 -external_address = "" - -# Comma separated list of seed nodes to connect to -seeds = "" - -# Comma separated list of nodes to keep persistent connections to -persistent_peers = "" - -# Path to address book -addr_book_file = "config/addrbook.json" - -# Set true for strict address routability rules -# Set false for private or local networks -addr_book_strict = true - -# Maximum number of inbound peers -max_num_inbound_peers = 40 - -# Maximum number of outbound peers to connect to, excluding persistent peers -max_num_outbound_peers = 10 - -# List of node IDs, to which a connection will be (re)established ignoring any existing limits -unconditional_peer_ids = "" - -# Maximum pause when redialing a persistent peer (if zero, exponential backoff is used) -persistent_peers_max_dial_period = "0s" - -# Time to wait before flushing messages out on the connection -flush_throttle_timeout = "100ms" - -# Maximum size of a message packet payload, in bytes -max_packet_msg_payload_size = 1024 - -# Rate at which packets can be sent, in bytes/second -send_rate = 5120000 - -# Rate at which packets can be received, in bytes/second -recv_rate = 5120000 - -# Set true to enable the peer-exchange reactor -pex = true - -# Seed mode, in which node constantly crawls the network and looks for -# peers. If another node asks it for addresses, it responds and disconnects. -# -# Does not work if the peer-exchange reactor is disabled. -seed_mode = false - -# Comma separated list of peer IDs to keep private (will not be gossiped to other peers) -private_peer_ids = "" - -# Toggle to disable guard against peers connecting from the same ip. -allow_duplicate_ip = false - -# Peer connection configuration. -handshake_timeout = "20s" -dial_timeout = "3s" - -####################################################### -### Mempool Configuration Option ### -####################################################### -[mempool] - -# The type of mempool for this node to use. -# -# Possible types: -# - "flood" : concurrent linked list mempool with flooding gossip protocol -# (default) -# - "nop" : nop-mempool (short for no operation; the ABCI app is responsible -# for storing, disseminating and proposing txs). "create_empty_blocks=false" is -# not supported. -type = "flood" - -# Recheck (default: true) defines whether CometBFT should recheck the -# validity for all remaining transaction in the mempool after a block. -# Since a block affects the application state, some transactions in the -# mempool may become invalid. If this does not apply to your application, -# you can disable rechecking. -recheck = true - -# Broadcast (default: true) defines whether the mempool should relay -# transactions to other peers. Setting this to false will stop the mempool -# from relaying transactions to other peers until they are included in a -# block. In other words, if Broadcast is disabled, only the peer you send -# the tx to will see it until it is included in a block. -broadcast = true - -# WalPath (default: "") configures the location of the Write Ahead Log -# (WAL) for the mempool. The WAL is disabled by default. To enable, set -# WalPath to where you want the WAL to be written (e.g. -# "data/mempool.wal"). -wal_dir = "" - -# Maximum number of transactions in the mempool -size = 5000 - -# Limit the total size of all txs in the mempool. -# This only accounts for raw transactions (e.g. given 1MB transactions and -# max_txs_bytes=5MB, mempool will only accept 5 transactions). -max_txs_bytes = 1073741824 - -# Size of the cache (used to filter transactions we saw earlier) in transactions -cache_size = 10000 - -# Do not remove invalid transactions from the cache (default: false) -# Set to true if it's not possible for any invalid transaction to become valid -# again in the future. -keep-invalid-txs-in-cache = false - -# Maximum size of a single transaction. -# NOTE: the max size of a tx transmitted over the network is {max_tx_bytes}. -max_tx_bytes = 1048576 - -# Maximum size of a batch of transactions to send to a peer -# Including space needed by encoding (one varint per transaction). -# XXX: Unused due to https://github.com/tendermint/tendermint/issues/5796 -max_batch_bytes = 0 - -# Experimental parameters to limit gossiping txs to up to the specified number of peers. -# We use two independent upper values for persistent and non-persistent peers. -# Unconditional peers are not affected by this feature. -# If we are connected to more than the specified number of persistent peers, only send txs to -# ExperimentalMaxGossipConnectionsToPersistentPeers of them. If one of those -# persistent peers disconnects, activate another persistent peer. -# Similarly for non-persistent peers, with an upper limit of -# ExperimentalMaxGossipConnectionsToNonPersistentPeers. -# If set to 0, the feature is disabled for the corresponding group of peers, that is, the -# number of active connections to that group of peers is not bounded. -# For non-persistent peers, if enabled, a value of 10 is recommended based on experimental -# performance results using the default P2P configuration. -experimental_max_gossip_connections_to_persistent_peers = 0 -experimental_max_gossip_connections_to_non_persistent_peers = 0 - -####################################################### -### State Sync Configuration Options ### -####################################################### -[statesync] -# State sync rapidly bootstraps a new node by discovering, fetching, and restoring a state machine -# snapshot from peers instead of fetching and replaying historical blocks. Requires some peers in -# the network to take and serve state machine snapshots. State sync is not attempted if the node -# has any local state (LastBlockHeight > 0). The node will have a truncated block history, -# starting from the height of the snapshot. -enable = false - -# RPC servers (comma-separated) for light client verification of the synced state machine and -# retrieval of state data for node bootstrapping. Also needs a trusted height and corresponding -# header hash obtained from a trusted source, and a period during which validators can be trusted. -# -# For Cosmos SDK-based chains, trust_period should usually be about 2/3 of the unbonding time (~2 -# weeks) during which they can be financially punished (slashed) for misbehavior. -rpc_servers = "" -trust_height = 0 -trust_hash = "" -trust_period = "168h0m0s" - -# Time to spend discovering snapshots before initiating a restore. -discovery_time = "15s" - -# Temporary directory for state sync snapshot chunks, defaults to the OS tempdir (typically /tmp). -# Will create a new, randomly named directory within, and remove it when done. -temp_dir = "" - -# The timeout duration before re-requesting a chunk, possibly from a different -# peer (default: 1 minute). -chunk_request_timeout = "10s" - -# The number of concurrent chunk fetchers to run (default: 1). -chunk_fetchers = "4" - -####################################################### -### Block Sync Configuration Options ### -####################################################### -[blocksync] - -# Block Sync version to use: -# -# In v0.37, v1 and v2 of the block sync protocols were deprecated. -# Please use v0 instead. -# -# 1) "v0" - the default block sync implementation -version = "v0" - -####################################################### -### Consensus Configuration Options ### -####################################################### -[consensus] - -wal_file = "data/cs.wal/wal" - -# How long we wait for a proposal block before prevoting nil -timeout_propose = "3s" -# How much timeout_propose increases with each round -timeout_propose_delta = "500ms" -# How long we wait after receiving +2/3 prevotes for “anything” (ie. not a single block or nil) -timeout_prevote = "1s" -# How much the timeout_prevote increases with each round -timeout_prevote_delta = "500ms" -# How long we wait after receiving +2/3 precommits for “anything” (ie. not a single block or nil) -timeout_precommit = "1s" -# How much the timeout_precommit increases with each round -timeout_precommit_delta = "500ms" -# How long we wait after committing a block, before starting on the new -# height (this gives us a chance to receive some more precommits, even -# though we already have +2/3). -timeout_commit = "1s" - -# How many blocks to look back to check existence of the node's consensus votes before joining consensus -# When non-zero, the node will panic upon restart -# if the same consensus key was used to sign {double_sign_check_height} last blocks. -# So, validators should stop the state machine, wait for some blocks, and then restart the state machine to avoid panic. -double_sign_check_height = 0 - -# Make progress as soon as we have all the precommits (as if TimeoutCommit = 0) -skip_timeout_commit = false - -# EmptyBlocks mode and possible interval between empty blocks -create_empty_blocks = true -create_empty_blocks_interval = "0s" - -# Reactor sleep duration parameters -peer_gossip_sleep_duration = "100ms" -peer_query_maj23_sleep_duration = "2s" - -####################################################### -### Storage Configuration Options ### -####################################################### -[storage] - -# Set to true to discard ABCI responses from the state store, which can save a -# considerable amount of disk space. Set to false to ensure ABCI responses are -# persisted. ABCI responses are required for /block_results RPC queries, and to -# reindex events in the command-line tool. -discard_abci_responses = false - -####################################################### -### Transaction Indexer Configuration Options ### -####################################################### -[tx_index] - -# What indexer to use for transactions -# -# The application will set which txs to index. In some cases a node operator will be able -# to decide which txs to index based on configuration set in the application. -# -# Options: -# 1) "null" -# 2) "kv" (default) - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend). -# - When "kv" is chosen "tx.height" and "tx.hash" will always be indexed. -# 3) "psql" - the indexer services backed by PostgreSQL. -# When "kv" or "psql" is chosen "tx.height" and "tx.hash" will always be indexed. -indexer = "kv" - -# The PostgreSQL connection configuration, the connection format: -# postgresql://:@:/? -psql-conn = "" - -####################################################### -### Instrumentation Configuration Options ### -####################################################### -[instrumentation] - -# When true, Prometheus metrics are served under /metrics on -# PrometheusListenAddr. -# Check out the documentation for the list of available metrics. -prometheus = true - -# Address to listen for Prometheus collector(s) connections -prometheus_listen_addr = ":26660" - -# Maximum number of simultaneous connections. -# If you want to accept a larger number than the default, make sure -# you increase your OS limits. -# 0 - unlimited. -max_open_connections = 3 - -# Instrumentation namespace -namespace = "cometbft" diff --git a/local_devnet/layer-app/core0/config/gentx/gentx-91171d0413637a38d382acb615e068e6ce908ed0.json b/local_devnet/layer-app/core0/config/gentx/gentx-91171d0413637a38d382acb615e068e6ce908ed0.json deleted file mode 100644 index 5236aaf7e..000000000 --- a/local_devnet/layer-app/core0/config/gentx/gentx-91171d0413637a38d382acb615e068e6ce908ed0.json +++ /dev/null @@ -1 +0,0 @@ -{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"core0","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"","validator_address":"tellorvaloper10nlzpk75qzhhhwyfxnz4x9kl5lpxu9h43aw2xd","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"vxn0O4ZKOi6UvywR/1Bkg4XyvuvmP90YaaTQtsvIOoE="},"value":{"denom":"loya","amount":"1000000000"}}],"memo":"91171d0413637a38d382acb615e068e6ce908ed0@192.168.1.160:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AyGbHAIVfKOAdXNEMcRG7H5Uuo1rw+HR8w+NdGgBIxEW"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["c8xWsAWx9cv6l/AuHvE9trcLNDJs/hLOeSkAYns0PZpyuN7VQYNGRsDQF3wFjJFSZPAedDLmU0vyPGFoAMY3Ig=="]} diff --git a/local_devnet/layer-app/core0/config/node_key.json b/local_devnet/layer-app/core0/config/node_key.json deleted file mode 100644 index 3fa439dd0..000000000 --- a/local_devnet/layer-app/core0/config/node_key.json +++ /dev/null @@ -1 +0,0 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"g3vMJAAUvEzTdLd6f9hO8/24GMEii+LcsmalzJNDgDLq/vhvioCQ14UvL7EPiYnY4KX8mlglZHd19Pf0KUDYdg=="}} \ No newline at end of file diff --git a/local_devnet/layer-app/core0/config/priv_validator_key.json b/local_devnet/layer-app/core0/config/priv_validator_key.json deleted file mode 100644 index 5dd889bce..000000000 --- a/local_devnet/layer-app/core0/config/priv_validator_key.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "address": "31522977BAA11CE089CD24A151FA845C2A6CA288", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "vxn0O4ZKOi6UvywR/1Bkg4XyvuvmP90YaaTQtsvIOoE=" - }, - "priv_key": { - "type": "tendermint/PrivKeyEd25519", - "value": "++bmSXk0pIctfGxOPO8gmaRLlbkFygtcsuPpui94TJa/GfQ7hko6LpS/LBH/UGSDhfK+6+Y/3RhppNC2y8g6gQ==" - } -} \ No newline at end of file diff --git a/local_devnet/layer-app/core0/keyring-test/7cfe20dbd400af7bb88934c55316dfa7c26e16f5.address b/local_devnet/layer-app/core0/keyring-test/7cfe20dbd400af7bb88934c55316dfa7c26e16f5.address deleted file mode 100644 index 86b3eb7f2..000000000 --- a/local_devnet/layer-app/core0/keyring-test/7cfe20dbd400af7bb88934c55316dfa7c26e16f5.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjoyNy4xMjc5NjIgLTA0MDAgRURUIG09KzAuMDUyMzk4NzkzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiVFJPX0dvSE5VU29GVERiRSJ9.yvGmN5ftEMLEmZYLcQt2b7tKZflloP3qUuXg0p7PhPg6-e_TR3Cf0g.cVXq5D916u6hiJlr.W9eUN0CBaufGN0llNhJInJVi_gqizHO6E5DdYYqnwHXwUAmVZgoveK7nYaqJp5dyoT9EIGpKtWpu4Gexgz4VSRt-trzX-kBH7xdOp7ascIzevS9mWduLgLIx1Qngr2DMeURLcpl5n_RJOj0gjeonwRv-ApFIWbtZMhtTBTa7LLlTdn9etnIs6-3Tg1dvf9mKNMHqYJ5LfljH4CayjzfsuQUuKxM8tzoqTMcdNWQHAE1e9E1j3jw.JCjmf6xvCxafSPe8RiVwPQ \ No newline at end of file diff --git a/local_devnet/layer-app/core0/keyring-test/core0.info b/local_devnet/layer-app/core0/keyring-test/core0.info deleted file mode 100644 index e846246ee..000000000 --- a/local_devnet/layer-app/core0/keyring-test/core0.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjoyNy4xMjY1NjYgLTA0MDAgRURUIG09KzAuMDUxMDAzMDAxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiamFiZnRWTUFkQlhQaEhjMyJ9.XQeFWQ_4taVQBiIwYxi2HquAdAMut73IDaGJyGgbHpsZ3PWhWgkQ-Q.spRAwNeXlxpjuyIR.AdM_R30xRp0R1EWbp-uQIYZvM06hnC7g330mjCB9cQ9gQ7jXUwog9v03T4KAOD0VFmvbBO3s3TER97Ou9semDKk7eftGUo8u0ygbCE0wgrhcrpF1KqR_A57U2VTJrK-pjKxkrIsnZTcki8ntzO0PF-1zqDUgaccaqXMpqs7nhqB49LRNB2t6c2SqFBomx_sJrOiVdNXpu0UE-duxeiujIO9uUQ8SVcBfASewLGulGOglDGM_vQyI7LPqphH1FIXmj3y7Pp6bKuxYjBleAaoa7l87HEjQG66fY8RX8jgtWcfpBjbaSerlgzypBDcbDazPR_Q6hr4Ksr-E-FJe9ACOGbPphzXFfR9vfHsPWu9LXHUzfcAiqCdsR4_F0UkyeCm8_08TgXd5Du1grWJNNC2tfd-4hRyKO208Z7O6EIRGCzCeHmttrJshPqrFSnU.0bcpD0wSUKHHdmnAe6fX2A \ No newline at end of file diff --git a/local_devnet/layer-app/core1/config/node_key.json b/local_devnet/layer-app/core1/config/node_key.json deleted file mode 100644 index fb905f1c9..000000000 --- a/local_devnet/layer-app/core1/config/node_key.json +++ /dev/null @@ -1 +0,0 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"Rpp5yUSw8BnF1y9TKEW+1HGkYXk18bHOEy1wK+h/blr+FE6fDsk9vuhJYWgIyDBImVtGCsrlQJRZ8J8vZPErKg=="}} \ No newline at end of file diff --git a/local_devnet/layer-app/core1/config/priv_validator_key.json b/local_devnet/layer-app/core1/config/priv_validator_key.json deleted file mode 100644 index 38ea24ae5..000000000 --- a/local_devnet/layer-app/core1/config/priv_validator_key.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "address": "87CFB2542BFE2D4CB58DD2D88CF21EACBD144F54", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "YqtN7duw/d4vS5avdASed3Eq6tbYBJrnpkwGlOcBzZ4=" - }, - "priv_key": { - "type": "tendermint/PrivKeyEd25519", - "value": "TvfdbsbBi6ecjRtFOP+K+iRqRwgGb7hymH/N9FvQyuhiq03t27D93i9Llq90BJ53cSrq1tgEmuemTAaU5wHNng==" - } -} \ No newline at end of file diff --git a/local_devnet/layer-app/core1/keyring-test/3af49300e238439bdac6cc4ecdf5e862331dafd2.address b/local_devnet/layer-app/core1/keyring-test/3af49300e238439bdac6cc4ecdf5e862331dafd2.address deleted file mode 100644 index bb4c974a2..000000000 --- a/local_devnet/layer-app/core1/keyring-test/3af49300e238439bdac6cc4ecdf5e862331dafd2.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjoyNy4yODIxNjMgLTA0MDAgRURUIG09KzAuMDUwNTkyOTU5IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiVW05OFp0OEpPTDc3d1FaTiJ9.KtFPP7sNHbQYSF9oHEAVMH7xx1KrwKTat6sGaGIENiajVYQkcCs2ZA.QLRof2bA22V37O5A.imIy4AAMquIuBVLnRPvTSq130o3_wy5f_GVUPQE1foTzYCI4b0B4et0nFHsdMS48qxBpTCC2RK_SYmSHO11JY698dcpuXbB14loIVkAf9DTheGxCbuuFeUnqaAml-wBffv8Zwg6zC9Gmn-lKwD3uqPLe5im1ceyZEKk7ERgL0p0rs7Q56pKSIJRJDkYD3lAn8qJlkjKP3wETexqbuVocKCO84v03TUwGUgMR5gybJ9fln6a4PyA.GSqniSkuL64gz5cAsceL8g \ No newline at end of file diff --git a/local_devnet/layer-app/core1/keyring-test/core1.info b/local_devnet/layer-app/core1/keyring-test/core1.info deleted file mode 100644 index 277e297ec..000000000 --- a/local_devnet/layer-app/core1/keyring-test/core1.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjoyNy4yODA0ODMgLTA0MDAgRURUIG09KzAuMDQ4OTEyOTE4IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiWlRyQjdGYzk3VG5MOUN0NiJ9.B4MACq6JO1r1JGXFzsRcNCMW-Mb4F8Y-72v5GdyqixPCsG33FWwqtw.TmebQRpaIY3T-Aiw.xCpgAkCVJ4RGbkpMZRursDvkSdI_A9Evy_QeWIsoJx2EEtp-sAUi9F-9Whca15KLvBk54IzHKlV_UDax63_JGrJ2Wq8yrmZP0yAmpsh6MHc7aJvL0_197ZvUoObC5tIOOe1lFLakLPSXOw2zgQjVu6ujkptu0T49gQzFyePPX5hYGpwF2IGtIlUlwBBuCKiGH67bi2nvJzchVdBl97o5Ni6FkY2DQ7D0j8PsVbarapxovb7xQgmDQCt1Xq5S6V7S_tZwpo6y63olucK6nQPOcZz1C7Qf5XjzUIVBbiZEwI09In4PHdnPzUF8AOZwriJx8PpK_SIFCCEDulAuTh4iBxLV1lr9BF5RcbHjgaqHo0yK3IUpVX6U6gd9yhxA641-hsPWq7NwV5FU9l_vVb5osSd6Miqy1xMAvfOaY5beHKqBOxjk5VadrGYAico.w-SbMtYNTvWwaA8osLEPpA \ No newline at end of file diff --git a/local_devnet/layer-app/core2/config/node_key.json b/local_devnet/layer-app/core2/config/node_key.json deleted file mode 100644 index 062f15d9a..000000000 --- a/local_devnet/layer-app/core2/config/node_key.json +++ /dev/null @@ -1 +0,0 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"hGZFDtB5Ol37qv1oNYaiE9dK6l0H3SaELGhuwhZzyg+fmexJCy0bCfMQ+oFD/CSA8tOVVSLJkstugQYlIaRCnw=="}} \ No newline at end of file diff --git a/local_devnet/layer-app/core2/config/priv_validator_key.json b/local_devnet/layer-app/core2/config/priv_validator_key.json deleted file mode 100644 index 8a57b55c1..000000000 --- a/local_devnet/layer-app/core2/config/priv_validator_key.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "address": "1A6E47FD60051BBB43686164F8C0F409AA57D646", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "jfQONCejLy/4NvvVaFPXQLnuqGgeAwmCM/ytQPFINok=" - }, - "priv_key": { - "type": "tendermint/PrivKeyEd25519", - "value": "PH96KgfnsfaIJu2Lx58ewRVG04cLSxa1ZmUtcS4IOlyN9A40J6MvL/g2+9VoU9dAue6oaB4DCYIz/K1A8Ug2iQ==" - } -} \ No newline at end of file diff --git a/local_devnet/layer-app/core2/keyring-test/a8d594886a67f2a7d05d2a067b6c8291caa71e8d.address b/local_devnet/layer-app/core2/keyring-test/a8d594886a67f2a7d05d2a067b6c8291caa71e8d.address deleted file mode 100644 index 2be4c09c3..000000000 --- a/local_devnet/layer-app/core2/keyring-test/a8d594886a67f2a7d05d2a067b6c8291caa71e8d.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjozNy4zNjUzMzYgLTA0MDAgRURUIG09KzAuMDYxNDAwMzM1IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoieXI5ZGI2TjlyV1dGWmFreSJ9.wBFdn3gVwp2QlcZjTua2vxQhvS8jx-GMGXiaRJGWee91ewtEztGVyA.gYeQEwDsQYxhBYxM.gyBxCc3orDn_4zQr72Oy59PRLIT3QNpfUKXoWEX6XCKHONzW_I5o2g95H_BLjE6Tw3KtwRzjdd4RbbIkdKcqebrq8aTBAfel2wybgwOQ3UAINwCZSZ8Xq2hvwEYztYjl9U5KSXh5lvwDtbwmpK_LB0PORYv392M2EgS2cZXwk-gITl0BG9OJsFOot5_AlPxhY2cgH-kLKQKrk6GEhCZyHyNzyqIiGzjiIz-lrOP99VuVOGACFjo.MZU0heF6XMoeQosF9A5MaA \ No newline at end of file diff --git a/local_devnet/layer-app/core2/keyring-test/core2.info b/local_devnet/layer-app/core2/keyring-test/core2.info deleted file mode 100644 index 8c873bb9e..000000000 --- a/local_devnet/layer-app/core2/keyring-test/core2.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjozNy4zNjM3NDcgLTA0MDAgRURUIG09KzAuMDU5ODExMjUxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiZlNDUVRKR00tbS1jTEVBRyJ9.4D5wpe4w9LcIcZWYNFTZCPBuMAZOEP_2ZmiPgF5zlIuYEutqyMYvhg.7BlEDHtZ-t3nTQ9N.pDT92IUVUATCnmQlpCLySRswEqfgYHjpuv6OlQG7Q7RqjaREKko7eyUfHTpWPo3Vq6NYWipc3RG6VICTeD7MvZ_jbVnhpli0w6gF5JkRTfBB6n-yUuWQPSu6sNAmAEBv2kuMkHa82O9kf75ldXbZn0xuaMqXIwEqxugqzzQvQ0oa6eLWLMzLj0lMII-Aqbv9BENqQkD5qs_YG_zdjB9PhMITtKv7yVGBJjTXnji9wzf9knJnSOTw9D3k8RnJbPFfKzhR_Gqf9M_8c-9j4GJH2ZtLLBbjhscd4FgIGdSYswDJ-2kHk2RSgJ-ojUjmrSeshEKDAWtsXjWt0lqSF5KAJsyOWgFXbm7lsMGfCyybxig6sJp9bQY3AiYoWUut-VH9FJkNy1ZmoSTyX46n8lSgnx1h69RUVWxdsZpr3326btReM3rXnTHUTwsZxWY.7_B4kyv9fafHWrfU3i4LhQ \ No newline at end of file diff --git a/local_devnet/layer-app/core3/config/node_key.json b/local_devnet/layer-app/core3/config/node_key.json deleted file mode 100644 index 277a22d20..000000000 --- a/local_devnet/layer-app/core3/config/node_key.json +++ /dev/null @@ -1 +0,0 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"LW294hurp1bNa4PWjYTL6ai5Ir+kEa8WRsV2eOEgdP22Y3rS6CSequAfvE3qP4ItGsVIr93gXECC3Wpe+nNBgA=="}} \ No newline at end of file diff --git a/local_devnet/layer-app/core3/config/priv_validator_key.json b/local_devnet/layer-app/core3/config/priv_validator_key.json deleted file mode 100644 index 7ae0f1c6e..000000000 --- a/local_devnet/layer-app/core3/config/priv_validator_key.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "address": "C40569173AAEEA9E25DFA1E197E745DCA8612A86", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "Xti2d5hHC77e44WYQA8xKIXBdmQuf0CSlJDOFCgYf9U=" - }, - "priv_key": { - "type": "tendermint/PrivKeyEd25519", - "value": "PSwWYJUemWERwddL7raDmASxIPJSAKMdkPd3yuXSt/te2LZ3mEcLvt7jhZhADzEohcF2ZC5/QJKUkM4UKBh/1Q==" - } -} \ No newline at end of file diff --git a/local_devnet/layer-app/core3/keyring-test/core3.info b/local_devnet/layer-app/core3/keyring-test/core3.info deleted file mode 100644 index 9658be6e0..000000000 --- a/local_devnet/layer-app/core3/keyring-test/core3.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjo0Ny40NTYxNDQgLTA0MDAgRURUIG09KzAuMDY0NDQ1NTAxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiX2hldTJEYUtrMm1yUTlNXyJ9.1-49wu_EpEAbDExcWORIfOqdFH9afum2QE-BYNxmHFtKDveHSyBmkg.V7PfErRj3ol7VlZd.eFl9_r9RT3mPqBiO0lwiV4rI7W3bhGNQmLKINBrtzp895SjMkUg_6MmTfA67PqgHKJSiHHO8rLI44P6pQLfBiLbUumpGaajcOU3WU_blA7tYkJ89nVxvNpB0xP5vbVMceOrLfUCDZxeh-athLEKQ4V5HAKbLtsqB_ixRK2PImCAHQ6SHBFu-MZcsL0E1UzjmHQWUOL3LHwGre-373S1aJr2mIqsez9VulCtkGFrTyAku9DegI7etUyqoHAFb0r-k6fbKZfvnm26anyH88E93tm0sQbscW2aFI-ZUJbCeEcNaa5hyzuhRIWM591ERf_erFIkKlDpJ7KfjAKS4D365dtD6SMMYBfagFWKTDwkphIrM7GkGbIlWhatHSCMh6Bd1R6Wjuxs5JIUtFyaHwCY0djYU_vm0qnBhFKbbm08UThWVbdBpwCQhEcr78EI.ozkiDrRPPB3SuJjYRE-K8A \ No newline at end of file diff --git a/local_devnet/layer-app/core3/keyring-test/d75dc6c99bc460615b895ee2fe7841d63203ec9c.address b/local_devnet/layer-app/core3/keyring-test/d75dc6c99bc460615b895ee2fe7841d63203ec9c.address deleted file mode 100644 index 89d66cf23..000000000 --- a/local_devnet/layer-app/core3/keyring-test/d75dc6c99bc460615b895ee2fe7841d63203ec9c.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjo0Ny40NTc1ODggLTA0MDAgRURUIG09KzAuMDY1ODg5MTI2IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTmNJNV9sNzMyaXhsVWV2YyJ9.8o_Dfw5YLbTpyBL3V-AffKCEjudrdKIG__xIVAoQ0I2WdATVA_c5lg.aLRm7YLJ7qiUZCqj.ttb0OOp8cgsZHOihOd7v4yJmgUf0oFPIR8ShM13MpG0Qhncdvwe6IV_14K5LDdSEdjQObEHKcfK3pzF96kAC8L5Y8N6bep72UGUkX77M7ttInoY8S5nzY6Pd7TGRAazdqQsgdO1cLbBvNGAFhA_F8IcyJXO4QlYuDJuBJQumEJ7GBKta4t7kbplFadBuPeZd6XDYpo-EORIhclaKdyNuxPueihIRfTxve-SxDs2cxEv9LVcJbGQ.uRwVcLih-SDI4qd9Mkgm4g \ No newline at end of file diff --git a/local_devnet/layer-app/faucet/keyring-test/e83371055a987964317ad91d16cd0cb21ab3c17d.address b/local_devnet/layer-app/faucet/keyring-test/e83371055a987964317ad91d16cd0cb21ab3c17d.address deleted file mode 100644 index de7f1f390..000000000 --- a/local_devnet/layer-app/faucet/keyring-test/e83371055a987964317ad91d16cd0cb21ab3c17d.address +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjoyNy4yMjAxNzcgLTA0MDAgRURUIG09KzAuMDc5ODUwNDE4IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiellYRUwwaGpRQ1NTOTg5WSJ9.7akSot3Nt_mRsL2yw3_9NunFhc3__8SBTlFwjMsL5rjGdKDXiOAKzA.hTqH7dEPkhVa4vvC.CpyfOZ7_nYqqdvsqyH4zCJ-sPdxDAu0ZuuzOEe6HdVOFIwEIpBuGW8AKQQHYyBC_xZBFMrExxgLEUMys_Tcuya0RZHtWAKqCKi6j7bHgewGUVibYyHIQV8eMOt-FvfQCAykwgSXu1M732s-9QdgT1nTR28VUDsOvSVgMD4xj-fxojj3v_VqoJNoMjOiVRkNFnt9wfP1Mg7bYG7TisniMjC7YNaJJfflLyNgJ6bFdh5oxVUoTDIk.QQPYE9Hd_h6H_nTtYoKmhw \ No newline at end of file diff --git a/local_devnet/layer-app/faucet/keyring-test/faucet.info b/local_devnet/layer-app/faucet/keyring-test/faucet.info deleted file mode 100644 index 249ad099f..000000000 --- a/local_devnet/layer-app/faucet/keyring-test/faucet.info +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wNy0yMyAyMzoxMjoyNy4yMTg1OTIgLTA0MDAgRURUIG09KzAuMDc4MjY1NjY4IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiN2dubk1TVF92eWFqcWRuTyJ9.fWJbrdY1jvJY0V6mPsgHi6uzF5NjbcqoZEIITb2lggphSqPOpW7CUA.z-aciLmK4RQNmJtN.QuIEOytqs3J5Caq9__dwY1KocRoqgb3f-EwxNlj8RGuVGo2CZMqcenhqIOzFGd4adl9mnyt1q7jn9rq1OBSHCCRafhrSBvB7hi6N8kHtOTndHjOQdDa0sqUmhz0rW_6iNaKff4DOfjsCfq-diK2NMSba1PBmO3xOrUyxiAsMOlXbUoRRMjqN5NLKEYV45SePBgAlvfDsofRUIiKWzzTGn_f-RMBedsyTPE6d6pej-j6JjKyYTux0sP1nqcfa1mCfE97Qjpm4eB612MHX9YSrO78Q-kZJbTJSyj5ycX2MWeto-feqbns7sSoIRLS2oTWIU43n-wD_ykH0U4mGOmbwFyR7L9aAKPSzoaVSexqm_i8ZC0LD_G-hBiGpgFoLgg68ZyJTAjT3WkKVMxspTsanc-_VwbPpTp_mUauXc5H5sooTLmQT6gzZhYpEDtHJ0FVE5Q.rXv4BIy7XDLDh5cSnCBS7w \ No newline at end of file diff --git a/local_devnet/layer-app/genesis.json b/local_devnet/layer-app/genesis.json deleted file mode 100644 index 07590fbc9..000000000 --- a/local_devnet/layer-app/genesis.json +++ /dev/null @@ -1,467 +0,0 @@ -{ - "app_name": "layer", - "app_version": "", - "genesis_time": "2024-08-17T16:02:20.128111Z", - "chain_id": "layer", - "initial_height": 1, - "app_hash": null, - "app_state": { - "07-tendermint": null, - "auth": { - "params": { - "max_memo_characters": "256", - "tx_sig_limit": "7", - "tx_size_cost_per_byte": "10", - "sig_verify_cost_ed25519": "590", - "sig_verify_cost_secp256k1": "1000" - }, - "accounts": [ - { - "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tellor10nlzpk75qzhhhwyfxnz4x9kl5lpxu9h4yjzcla", - "pub_key": null, - "account_number": "0", - "sequence": "0" - }, - { - "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tellor18t6fxq8z8ppehkkxe38vma0gvge3mt7ju4qppy", - "pub_key": null, - "account_number": "1", - "sequence": "0" - }, - { - "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tellor14r2efzr2vle205za9gr8kmyzj892w85d6j3g2x", - "pub_key": null, - "account_number": "2", - "sequence": "0" - }, - { - "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tellor16awudjvmc3sxzkuftm30u7zp6ceq8myuuvxx0v", - "pub_key": null, - "account_number": "3", - "sequence": "0" - }, - { - "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tellor1aqehzp26npukgvt6myw3dngvkgdt8staqr7lpx", - "pub_key": null, - "account_number": "4", - "sequence": "0" - } - ] - }, - "authz": { - "authorization": [] - }, - "bank": { - "params": { - "send_enabled": [], - "default_send_enabled": true - }, - "balances": [ - { - "address": "tellor18t6fxq8z8ppehkkxe38vma0gvge3mt7ju4qppy", - "coins": [ - { - "denom": "loya", - "amount": "100000000000" - } - ] - }, - { - "address": "tellor10nlzpk75qzhhhwyfxnz4x9kl5lpxu9h4yjzcla", - "coins": [ - { - "denom": "loya", - "amount": "100000000000" - } - ] - }, - { - "address": "tellor14r2efzr2vle205za9gr8kmyzj892w85d6j3g2x", - "coins": [ - { - "denom": "loya", - "amount": "100000000000" - } - ] - }, - { - "address": "tellor16awudjvmc3sxzkuftm30u7zp6ceq8myuuvxx0v", - "coins": [ - { - "denom": "loya", - "amount": "100000000000" - } - ] - }, - { - "address": "tellor1aqehzp26npukgvt6myw3dngvkgdt8staqr7lpx", - "coins": [ - { - "denom": "loya", - "amount": "1000000000000000000000000000" - } - ] - } - ], - "supply": [ - { - "denom": "loya", - "amount": "1000000000000000400000000000" - } - ], - "denom_metadata": [ - { - "description": "The native token of the Tellor Layer.", - "denom_units": [ - { - "denom": "loya", - "exponent": 0, - "aliases": [] - }, - { - "denom": "TRB", - "exponent": 6, - "aliases": [] - } - ], - "base": "loya", - "display": "TRB", - "name": "TRB", - "symbol": "TRB", - "uri": "", - "uri_hash": "" - } - ], - "send_enabled": [] - }, - "bridge": { - "params": {} - }, - "capability": { - "index": "1", - "owners": [] - }, - "consensus": null, - "dispute": { - "params": { - "team_address": "+mmRVs069FJdX1vYIwz0VOW05BA=" - } - }, - "distribution": { - "params": { - "community_tax": "0.000000000000000000", - "base_proposer_reward": "0.000000000000000000", - "bonus_proposer_reward": "0.000000000000000000", - "withdraw_addr_enabled": true - }, - "fee_pool": { - "community_pool": [] - }, - "delegator_withdraw_infos": [], - "previous_proposer": "", - "outstanding_rewards": [], - "validator_accumulated_commissions": [], - "validator_historical_rewards": [], - "validator_current_rewards": [], - "delegator_starting_infos": [], - "validator_slash_events": [] - }, - "evidence": { - "evidence": [] - }, - "feegrant": { - "allowances": [] - }, - "genutil": { - "gen_txs": [ - { - "body": { - "messages": [ - { - "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", - "description": { - "moniker": "core0", - "identity": "", - "website": "", - "security_contact": "", - "details": "" - }, - "commission": { - "rate": "0.100000000000000000", - "max_rate": "0.200000000000000000", - "max_change_rate": "0.010000000000000000" - }, - "min_self_delegation": "1", - "delegator_address": "", - "validator_address": "tellorvaloper10nlzpk75qzhhhwyfxnz4x9kl5lpxu9h43aw2xd", - "pubkey": { - "@type": "/cosmos.crypto.ed25519.PubKey", - "key": "vxn0O4ZKOi6UvywR/1Bkg4XyvuvmP90YaaTQtsvIOoE=" - }, - "value": { - "denom": "loya", - "amount": "1000000000" - } - } - ], - "memo": "91171d0413637a38d382acb615e068e6ce908ed0@192.168.1.160:26656", - "timeout_height": "0", - "extension_options": [], - "non_critical_extension_options": [] - }, - "auth_info": { - "signer_infos": [ - { - "public_key": { - "@type": "/cosmos.crypto.secp256k1.PubKey", - "key": "AyGbHAIVfKOAdXNEMcRG7H5Uuo1rw+HR8w+NdGgBIxEW" - }, - "mode_info": { - "single": { - "mode": "SIGN_MODE_DIRECT" - } - }, - "sequence": "0" - } - ], - "fee": { - "amount": [], - "gas_limit": "200000", - "payer": "", - "granter": "" - }, - "tip": null - }, - "signatures": [ - "c8xWsAWx9cv6l/AuHvE9trcLNDJs/hLOeSkAYns0PZpyuN7VQYNGRsDQF3wFjJFSZPAedDLmU0vyPGFoAMY3Ig==" - ] - } - ] - }, - "globalfee": { - "params": { - "minimum_gas_prices": [ - { - "denom": "loya", - "amount": "0.002500000000000000" - } - ] - } - }, - "gov": { - "starting_proposal_id": "1", - "deposits": [], - "votes": [], - "proposals": [], - "deposit_params": null, - "voting_params": null, - "tally_params": null, - "params": { - "min_deposit": [ - { - "denom": "loya", - "amount": "1" - } - ], - "max_deposit_period": "172800s", - "voting_period": "60s", - "quorum": "0.334000000000000000", - "threshold": "0.500000000000000000", - "veto_threshold": "0.334000000000000000", - "min_initial_deposit_ratio": "0.000000000000000000", - "proposal_cancel_ratio": "0.500000000000000000", - "proposal_cancel_dest": "", - "expedited_voting_period": "45s", - "expedited_threshold": "0.667000000000000000", - "expedited_min_deposit": [ - { - "denom": "loya", - "amount": "1" - } - ], - "burn_vote_quorum": false, - "burn_proposal_deposit_prevote": false, - "burn_vote_veto": true, - "min_deposit_ratio": "0.010000000000000000" - }, - "constitution": "" - }, - "group": { - "group_seq": "0", - "groups": [], - "group_members": [], - "group_policy_seq": "0", - "group_policies": [], - "proposal_seq": "0", - "proposals": [], - "votes": [] - }, - "ibc": { - "client_genesis": { - "clients": [], - "clients_consensus": [], - "clients_metadata": [], - "params": { - "allowed_clients": [ - "06-solomachine", - "07-tendermint", - "09-localhost" - ] - }, - "create_localhost": false, - "next_client_sequence": "0" - }, - "connection_genesis": { - "connections": [], - "client_connection_paths": [], - "next_connection_sequence": "0", - "params": { - "max_expected_time_per_block": "30000000000" - } - }, - "channel_genesis": { - "channels": [], - "acknowledgements": [], - "commitments": [], - "receipts": [], - "send_sequences": [], - "recv_sequences": [], - "ack_sequences": [], - "next_channel_sequence": "0" - } - }, - "interchainaccounts": { - "controller_genesis_state": { - "active_channels": [], - "interchain_accounts": [], - "ports": [], - "params": { - "controller_enabled": true - } - }, - "host_genesis_state": { - "active_channels": [], - "interchain_accounts": [], - "port": "icahost", - "params": { - "host_enabled": true, - "allow_messages": [ - "*" - ] - } - } - }, - "mint": { - "bond_denom": "loya" - }, - "oracle": { - "params": { - "minStakeAmount": "1000000" - }, - "cyclelist": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJU3BvdFByaWNlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA2V0aAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN1c2QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", - "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJU3BvdFByaWNlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA2J0YwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN1c2QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", - "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJU3BvdFByaWNlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3RyYgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN1c2QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==" - ] - }, - "registry": { - "params": { - "max_report_buffer_window": "1814400s" - }, - "dataspec": { - "document_hash": "", - "response_value_type": "uint256", - "abi_components": [ - { - "name": "asset", - "field_type": "string", - "nested_component": [] - }, - { - "name": "currency", - "field_type": "string", - "nested_component": [] - } - ], - "aggregation_method": "weighted-median", - "registrar": "genesis", - "report_buffer_window": "2s" - } - }, - "reporter": { - "params": { - "min_commission_rate": "0.000000000000000000", - "min_trb": "1000000", - "max_selectors": "100" - } - }, - "slashing": { - "params": { - "signed_blocks_window": "1000", - "min_signed_per_window": "0.500000000000000000", - "downtime_jail_duration": "600s", - "slash_fraction_double_sign": "0.050000000000000000", - "slash_fraction_downtime": "0.010000000000000000" - }, - "signing_infos": [], - "missed_blocks": [] - }, - "staking": { - "params": { - "unbonding_time": "1814400s", - "max_validators": 100, - "max_entries": 7, - "historical_entries": 10000, - "bond_denom": "loya", - "min_commission_rate": "0.000000000000000000" - }, - "last_total_power": "0", - "last_validator_powers": [], - "validators": [], - "delegations": [], - "unbonding_delegations": [], - "redelegations": [], - "exported": false - }, - "transfer": { - "port_id": "transfer", - "denom_traces": [], - "params": { - "send_enabled": true, - "receive_enabled": true - }, - "total_escrowed": [] - }, - "upgrade": {}, - "vesting": {} - }, - "consensus": { - "params": { - "block": { - "max_bytes": "22020096", - "max_gas": "-1" - }, - "evidence": { - "max_age_num_blocks": "100000", - "max_age_duration": "172800000000000", - "max_bytes": "1048576" - }, - "validator": { - "pub_key_types": [ - "ed25519" - ] - }, - "version": { - "app": "0" - }, - "abci": { - "vote_extensions_enable_height": "1" - } - } - } -} \ No newline at end of file diff --git a/local_devnet/layer-app/market_params.toml b/local_devnet/layer-app/market_params.toml deleted file mode 100644 index dc4ae5ce4..000000000 --- a/local_devnet/layer-app/market_params.toml +++ /dev/null @@ -1,40 +0,0 @@ -# This is a TOML config file. - # StaticMarketParamStartupConfig represents the mapping of exchanges to the parameters for - # querying from them. - # - # market_params - Unique string identifying an exchange. - # - # Id - Delays between sending API requests to get exchange market prices - cannot be 0. - # - # MinExchanges - The minimum number of exchanges that should be reporting a live price for - # a price update to be considered valid. - # - # Exponent - The exponent of the price. - # - # Pair - The human-readable name of the market pair (e.g. "BTC-USD"). - # - # QueryData - Layer representation of the market pair. - [[market_params]] - ExchangeConfigJson = "{\"exchanges\":[{\"exchangeName\":\"Binance\",\"ticker\":\"\\\"BTCUSDT\\\"\"},{\"exchangeName\":\"BinanceUS\",\"ticker\":\"\\\"BTCUSD\\\"\"},{\"exchangeName\":\"Bitfinex\",\"ticker\":\"tBTCUSD\"},{\"exchangeName\":\"Bitstamp\",\"ticker\":\"BTC/USD\"},{\"exchangeName\":\"Bybit\",\"ticker\":\"BTCUSDT\"},{\"exchangeName\":\"CoinbasePro\",\"ticker\":\"BTC-USD\"},{\"exchangeName\":\"CryptoCom\",\"ticker\":\"BTC_USD\"},{\"exchangeName\":\"Kraken\",\"ticker\":\"XXBTZUSD\"},{\"exchangeName\":\"Okx\",\"ticker\":\"BTC-USDT\"}]}" - QueryData = "00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000953706F745072696365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003627463000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037573640000000000000000000000000000000000000000000000000000000000" - Exponent = -5 - Id = 0 - MinExchanges = 1 - MinPriceChangePpm = 1000 - Pair = "BTC-USD" - [[market_params]] - ExchangeConfigJson = "{\"exchanges\":[{\"exchangeName\":\"Binance\",\"ticker\":\"\\\"ETHUSDT\\\"\"},{\"exchangeName\":\"BinanceUS\",\"ticker\":\"\\\"ETHUSD\\\"\"},{\"exchangeName\":\"Bitfinex\",\"ticker\":\"tETHUSD\"},{\"exchangeName\":\"Bitstamp\",\"ticker\":\"ETH/USD\"},{\"exchangeName\":\"Bybit\",\"ticker\":\"ETHUSDT\"},{\"exchangeName\":\"CoinbasePro\",\"ticker\":\"ETH-USD\"},{\"exchangeName\":\"CryptoCom\",\"ticker\":\"ETH_USD\"},{\"exchangeName\":\"Kraken\",\"ticker\":\"XETHZUSD\"},{\"exchangeName\":\"Okx\",\"ticker\":\"ETH-USDT\"}]}" - QueryData = "00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000953706F745072696365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003657468000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037573640000000000000000000000000000000000000000000000000000000000" - Exponent = -6 - Id = 1 - MinExchanges = 1 - MinPriceChangePpm = 1000 - Pair = "ETH-USD" - [[market_params]] - ExchangeConfigJson = "{\"exchanges\":[{\"exchangeName\":\"Binance\",\"ticker\":\"\\\"TRBUSDT\\\"\"},{\"exchangeName\":\"Bybit\",\"ticker\":\"TRBUSDT\"},{\"exchangeName\":\"CoinbasePro\",\"ticker\":\"TRB-USD\"}]}" - QueryData = "00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000953706F745072696365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003747262000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037573640000000000000000000000000000000000000000000000000000000000" - Exponent = -6 - Id = 69 - MinExchanges = 1 - MinPriceChangePpm = 1000 - Pair = "TRB-USD" diff --git a/local_devnet/layer-app/pricefeed_exchange_config.toml b/local_devnet/layer-app/pricefeed_exchange_config.toml deleted file mode 100644 index cebecd276..000000000 --- a/local_devnet/layer-app/pricefeed_exchange_config.toml +++ /dev/null @@ -1,87 +0,0 @@ -# This is a TOML config file. - # StaticExchangeStartupConfig represents the mapping of exchanges to the parameters for - # querying from them. - # - # ExchangeId - Unique string identifying an exchange. - # - # IntervalMs - Delays between sending API requests to get exchange market prices - cannot be 0. - # - # TimeoutMs - Max time to wait on an API call to an exchange - cannot be 0. - # - # MaxQueries - Max api calls to get market prices for an exchange to make in a task-loop - - # cannot be 0. For multi-market API exchanges, the behavior will default to 1. - [[exchanges]] - ExchangeId = "Binance" - IntervalMs = 2500 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "BinanceUS" - IntervalMs = 2500 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Bitfinex" - IntervalMs = 2500 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Bitstamp" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Bybit" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "CoinbasePro" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 3 - [[exchanges]] - ExchangeId = "CryptoCom" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Gate" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Huobi" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Kraken" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Kucoin" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Mexc" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "Okx" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 1 - [[exchanges]] - ExchangeId = "TestFixedPriceExchange" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 3 - [[exchanges]] - ExchangeId = "TestVolatileExchange" - IntervalMs = 2000 - TimeoutMs = 3000 - MaxQueries = 3 diff --git a/local_devnet/readme.md b/local_devnet/readme.md deleted file mode 100644 index f0a4bd0ef..000000000 --- a/local_devnet/readme.md +++ /dev/null @@ -1,28 +0,0 @@ -# local devnet - -## dependency - -- docker -- docker-compose - -## steps to run devnet - -- `go build ./cmd/layerd` - -- `cd local_devnet` -- `docker-compose build --no-cache core0 core1 core2 core3 grafana prometheus otel-collector` -- `docker-compose up core0 core1 and so on` - -Note: - -- you don't have to build everything if you don't want, ie run only one node - -## grafana - -- `localhost:3000` - -after starting the chain you can interact with the chain: -`../layerd query staking validators` - -to reset: -`docker-compose down` diff --git a/local_devnet/scripts/start_core0.sh b/local_devnet/scripts/start_core0.sh deleted file mode 100644 index af536ab54..000000000 --- a/local_devnet/scripts/start_core0.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# This script starts core0 - -if [[ ! -f /opt/data/priv_validator_state.json ]] -then - mkdir /opt/data - cat < /opt/data/priv_validator_state.json -{ - "height": "0", - "round": 0, - "step": 0 -} -EOF -fi - -/bin/layerd start \ - --moniker core0 \ - --rpc.laddr tcp://0.0.0.0:26657 \ - --home /opt \ - --keyring-backend test \ - --key-name core0 \ No newline at end of file diff --git a/local_devnet/scripts/start_node_and_create_validator.sh b/local_devnet/scripts/start_node_and_create_validator.sh deleted file mode 100644 index e6498cd69..000000000 --- a/local_devnet/scripts/start_node_and_create_validator.sh +++ /dev/null @@ -1,111 +0,0 @@ -#!/bin/bash - -# This script starts a Layer-app, creates a validator with the provided parameters, then -# keeps running it validating blocks. -echo "LAYERD_NODE_HOME: ${LAYERD_NODE_HOME}" -# check if environment variables are set -if [[ -z "${LAYERD_NODE_HOME}" || -z "${MONIKER}" || -z "${AMOUNT}" || -z "${COMMISSION_RATE}" || -z "${MIN_TOKENS_REQUIRED}" ]] -then - echo "Environment not setup correctly. Please set: LAYERD_NODE_HOME, MONIKER, AMOUNT variables" - exit 1 -fi - -# create necessary structure if doesn't exist -if [[ ! -f ${LAYERD_NODE_HOME}/data/priv_validator_state.json ]] -then - mkdir "${LAYERD_NODE_HOME}"/data - cat < ${LAYERD_NODE_HOME}/data/priv_validator_state.json -{ - "height": "0", - "round": 0, - "step": 0 -} -EOF -fi - -# write create validator json if it doesn't exist -if [[ ! -f ${LAYERD_NODE_HOME}/${MONIKER}.json ]] -then - pubkey=$(layerd comet show-validator --home ${LAYERD_NODE_HOME}) - cat < ${LAYERD_NODE_HOME}/${MONIKER}.json -{ - "pubkey": $pubkey, - "amount": "$AMOUNT", - "moniker": "$MONIKER", - "commission-rate": "0.10", - "commission-max-rate": "0.20", - "commission-max-change-rate": "0.01", - "min-self-delegation": "1" -} -EOF -fi - -{ - # wait for the node to get up and running - while true - do - status_code=$(curl --write-out '%{http_code}' --silent --output /dev/null localhost:26657/status) - if [[ "${status_code}" -eq 200 ]] ; then - break - fi - echo "Waiting for node to be up..." - sleep 2s - done - - VAL_ADDRESS=$(layerd keys show "${MONIKER}" --keyring-backend test --bech=val --home ${LAYERD_NODE_HOME} --keyring-dir ${LAYERD_NODE_HOME} -a) - -while true -do - # check if the validator already exists - output=$(layerd query staking validator "${VAL_ADDRESS}" 2>/dev/null) - if [[ -n "${output}" ]] ; then - echo "Validator already exists." - break - fi - - # create validator - layerd tx staking create-validator /${LAYERD_NODE_HOME}/${MONIKER}.json \ - --chain-id="layer" \ - --from="${MONIKER}" \ - --keyring-backend="test" \ - --home="${LAYERD_NODE_HOME}" \ - --keyring-dir="${LAYERD_NODE_HOME}" \ - --gas-prices="1000loya" \ - --yes - - echo "trying to create validator..." - sleep 1s -done - - - REPORTER=$(layerd keys show "${MONIKER}" --keyring-backend test --home ${LAYERD_NODE_HOME} --keyring-dir ${LAYERD_NODE_HOME} -a) - while true - do - - selector=$(layerd query reporter selector-reporter "${REPORTER}" 2>/dev/null) - if [[ -n "${selector}" ]] ; then - break - fi - echo "trying to create reporter..." - layerd tx reporter create-reporter "${COMMISSION_RATE}" "${MIN_TOKENS_REQUIRED}" \ - --from=${MONIKER} \ - --keyring-backend="test" \ - --keyring-dir="${LAYERD_NODE_HOME}" \ - --chain-id="layer" \ - --gas-prices="1000loya" \ - --yes - sleep 1s - done -} & - -# start node -layerd start \ ---home="${LAYERD_NODE_HOME}" \ ---moniker="${MONIKER}" \ ---key-name="${MONIKER}" \ ---keyring-backend="test" \ ---p2p.persistent_peers=46caafaef9237b2015dca76e5b3e3ae5109736fe@core0:26656 \ ---rpc.laddr=tcp://0.0.0.0:26657 \ ---api.enable \ ---api.swagger \ ---panic-on-daemon-failure-enabled=false \ No newline at end of file diff --git a/local_devnet/telemetry/grafana/datasources/config.yml b/local_devnet/telemetry/grafana/datasources/config.yml deleted file mode 100644 index a0d613bac..000000000 --- a/local_devnet/telemetry/grafana/datasources/config.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -apiVersion: 1 - -datasources: - - name: Prometheus - type: prometheus - access: proxy - url: http://prometheus:9090 \ No newline at end of file diff --git a/local_devnet/telemetry/otel-collector/config.yml b/local_devnet/telemetry/otel-collector/config.yml deleted file mode 100644 index dc68ff1be..000000000 --- a/local_devnet/telemetry/otel-collector/config.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -extensions: - health_check: - -receivers: - otlp: - protocols: - grpc: - # endpoint: "0.0.0.0:4317" - http: - # endpoint: "0.0.0.0:4318" - -exporters: - prometheus: - endpoint: "otel-collector:8889" - send_timestamps: true - metric_expiration: 1800m - -service: - extensions: [health_check] - pipelines: - metrics: - receivers: [otlp] - exporters: [prometheus] \ No newline at end of file diff --git a/local_devnet/telemetry/prometheus/prometheus.yml b/local_devnet/telemetry/prometheus/prometheus.yml deleted file mode 100644 index 78260694d..000000000 --- a/local_devnet/telemetry/prometheus/prometheus.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -global: - scrape_interval: 15s - scrape_timeout: 10s - evaluation_interval: 15s - -scrape_configs: - - job_name: 'collector' - metrics_path: /metrics - honor_timestamps: true - scrape_interval: 15s - scrape_timeout: 10s - scheme: http - static_configs: - - targets: - - 'otel-collector:8889' - - job_name: 'core0' - static_configs: - - targets: ['core0:26660'] - labels: - group: 'Core0' - - job_name: 'core1' - static_configs: - - targets: ['core1:26660'] - labels: - group: 'Core1' - - job_name: 'core2' - static_configs: - - targets: ['core2:26660'] - labels: - group: 'Core2' - - job_name: 'core3' - static_configs: - - targets: ['core3:26660'] - labels: - group: 'Core3' \ No newline at end of file diff --git a/secrets.yaml.example b/secrets.yaml.example deleted file mode 100644 index b91f84bba..000000000 --- a/secrets.yaml.example +++ /dev/null @@ -1,2 +0,0 @@ -eth_rpc_url: "" -token_bridge_contract: "" \ No newline at end of file