From fcbc6e5dc60d38ed8e7a84831e16e4cba3d84bb6 Mon Sep 17 00:00:00 2001 From: Andy Nogueira Date: Fri, 6 Aug 2021 14:00:18 -0400 Subject: [PATCH] Upgrade to gaia v5.0.5 (#1175) --- ci/README.md | 3 + ci/build-ibc-chains.sh | 18 +- .../gaia/v5.0.5/ibc-0/config/addrbook.json | 4 + ci/chains/gaia/v5.0.5/ibc-0/config/app.toml | 152 +++++++ .../gaia/v5.0.5/ibc-0/config/client.toml | 17 + .../gaia/v5.0.5/ibc-0/config/config.toml | 400 ++++++++++++++++++ .../gaia/v5.0.5/ibc-0/config/genesis.json | 342 +++++++++++++++ ...7e76f6743997bde26b522ef43e886b1baa95d.json | 1 + .../gaia/v5.0.5/ibc-0/config/node_key.json | 1 + .../ibc-0/config/priv_validator_key.json | 11 + ...a276b243a6f235f16430bb45828989382d.address | 1 + ...907bd0f30dab598252aea96a3ae97b97ee.address | 1 + ...dad97dd40751c1d8fcd577d3eccc83847d.address | 1 + .../gaia/v5.0.5/ibc-0/keyring-test/user.info | 1 + .../gaia/v5.0.5/ibc-0/keyring-test/user2.info | 1 + .../v5.0.5/ibc-0/keyring-test/validator.info | 1 + ci/chains/gaia/v5.0.5/ibc-0/user2_seed.json | 1 + ci/chains/gaia/v5.0.5/ibc-0/user_seed.json | 1 + .../gaia/v5.0.5/ibc-0/validator_seed.json | 1 + ci/chains/gaia/v5.0.5/ibc-1/config/app.toml | 152 +++++++ .../gaia/v5.0.5/ibc-1/config/client.toml | 17 + .../gaia/v5.0.5/ibc-1/config/config.toml | 400 ++++++++++++++++++ .../gaia/v5.0.5/ibc-1/config/genesis.json | 342 +++++++++++++++ ...b1ad566fa381f6e6b4afd639559e0505fd9d0.json | 1 + .../gaia/v5.0.5/ibc-1/config/node_key.json | 1 + .../ibc-1/config/priv_validator_key.json | 11 + ...c429320d582a78e3c9997dedb9fe307082.address | 1 + ...a6bfd105eb477b2433c8459a2aea93c34f.address | 1 + ...57446ff6086960a12ad95a6d31787df226.address | 1 + .../gaia/v5.0.5/ibc-1/keyring-test/user.info | 1 + .../gaia/v5.0.5/ibc-1/keyring-test/user2.info | 1 + .../v5.0.5/ibc-1/keyring-test/validator.info | 1 + ci/chains/gaia/v5.0.5/ibc-1/user2_seed.json | 1 + ci/chains/gaia/v5.0.5/ibc-1/user_seed.json | 1 + .../gaia/v5.0.5/ibc-1/validator_seed.json | 1 + ci/docker-compose.yml | 16 +- ci/gaia.Dockerfile | 4 + ci/relayer.Dockerfile | 6 +- ci/run-gaiad.sh | 3 + ci/simple_config.toml | 18 +- relayer/src/chain/cosmos/compatibility.rs | 2 +- 41 files changed, 1926 insertions(+), 14 deletions(-) create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/config/addrbook.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/config/app.toml create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/config/client.toml create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/config/config.toml create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/config/genesis.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/config/gentx/gentx-0a67e76f6743997bde26b522ef43e886b1baa95d.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/config/node_key.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/config/priv_validator_key.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/keyring-test/3dccd2a276b243a6f235f16430bb45828989382d.address create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/keyring-test/4da888907bd0f30dab598252aea96a3ae97b97ee.address create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/keyring-test/d96ea1dad97dd40751c1d8fcd577d3eccc83847d.address create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/keyring-test/user.info create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/keyring-test/user2.info create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/keyring-test/validator.info create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/user2_seed.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/user_seed.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-0/validator_seed.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/config/app.toml create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/config/client.toml create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/config/config.toml create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/config/genesis.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/config/gentx/gentx-1feb1ad566fa381f6e6b4afd639559e0505fd9d0.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/config/node_key.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/config/priv_validator_key.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/keyring-test/340bb9c429320d582a78e3c9997dedb9fe307082.address create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/keyring-test/408f79a6bfd105eb477b2433c8459a2aea93c34f.address create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/keyring-test/faebec57446ff6086960a12ad95a6d31787df226.address create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/keyring-test/user.info create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/keyring-test/user2.info create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/keyring-test/validator.info create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/user2_seed.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/user_seed.json create mode 100644 ci/chains/gaia/v5.0.5/ibc-1/validator_seed.json create mode 100755 ci/run-gaiad.sh diff --git a/ci/README.md b/ci/README.md index c9435190d3..bea8098dcc 100644 --- a/ci/README.md +++ b/ci/README.md @@ -165,6 +165,9 @@ Removing network ibc-rs_relaynet The repository stores the files used to configure and build the chains for the containers. For example, the files for a `gaia` chain release `v5.0.0` can be seen [here](./chains/gaia) +> Note: Please ensure you have gaiad installed on your machine and it matches the version that you're trying to upgrade. +> You can check but running `gaiad version` in your machine + If you need to generate configuration files for a new gaia release and new containers, please follow the steps below: 1. Move into the `ci` folder diff --git a/ci/build-ibc-chains.sh b/ci/build-ibc-chains.sh index da36f4840a..d24470b711 100755 --- a/ci/build-ibc-chains.sh +++ b/ci/build-ibc-chains.sh @@ -8,7 +8,23 @@ set -eou pipefail ## After updating the gaia version below, double-check the following (see readme.md also): ## - the new version made it to docker hub, and is available for download, e.g. `docker pull informaldev/ibc-1:v4.0.0` ## - the image versions and the relayer release in `docker-compose.yml` are consistent with the new version -GAIA_BRANCH="v5.0.0" # Requires a version with the `--keyring-backend` option. v2.1 and above. +GAIA_BRANCH="v5.0.5" # Requires a version with the `--keyring-backend` option. v2.1 and above. + +# Check if gaiad is installed and if the versions match +if ! [ -x "$(command -v gaiad)" ]; then + echo 'Error: gaiad is not installed.' >&2 + exit 1 +fi + +CURRENT_GAIA="$(gaiad version)" +echo "Current Gaia Version: $CURRENT_GAIA" + +if [ "$GAIA_BRANCH" != "$CURRENT_GAIA" ]; then + echo "Error: gaiad installed is different than target gaiad ($CURRENT_GAIA != $GAIA_BRANCH)" + exit 1 +else + echo "Gaiad installed matches desired version ($CURRENT_GAIA = $GAIA_BRANCH)" +fi BASE_DIR="$(dirname $0)" ONE_CHAIN="$BASE_DIR/../scripts/one-chain" diff --git a/ci/chains/gaia/v5.0.5/ibc-0/config/addrbook.json b/ci/chains/gaia/v5.0.5/ibc-0/config/addrbook.json new file mode 100644 index 0000000000..cce9f7f27c --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/config/addrbook.json @@ -0,0 +1,4 @@ +{ + "key": "d551bab9ec950b3c71733c80", + "addrs": [] +} \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/config/app.toml b/ci/chains/gaia/v5.0.5/ibc-0/config/app.toml new file mode 100644 index 0000000000..54de73e392 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/config/app.toml @@ -0,0 +1,152 @@ +# 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 = "" + +# default: the last 100 states are kept in addition to every 500th state; pruning at 10 block intervals +# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node) +# everything: all saved states will be deleted, storing only the current state; pruning at 10 block intervals +# custom: allow pruning options to be manually specified through 'pruning-keep-recent', 'pruning-keep-every', and 'pruning-interval' +pruning = "default" + +# These are applied if and only if the pruning strategy is custom. +pruning-keep-recent = "0" +pruning-keep-every = "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 Tendermint. 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 Tendermint blocks. +# It has no bearing on application state pruning which is determined by the +# "pruning-*" configurations. +# +# Note: Tendermint block pruning is dependant on this parameter in conunction +# 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 Tendermint what to index. If empty, all events will be indexed. +# +# Example: +# ["message.sender", "message.recipient"] +index-events = [] + +############################################################################### +### 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 = [ +] + +############################################################################### +### 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 Tendermint RPC read timeout (in seconds). +rpc-read-timeout = 10 + +# RPCWriteTimeout defines the Tendermint RPC write timeout (in seconds). +rpc-write-timeout = 0 + +# RPCMaxBodyBytes defines the Tendermint maximum response 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" + +############################################################################### +### 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). Must be a multiple of pruning-keep-every. +snapshot-interval = 0 + +# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). +snapshot-keep-recent = 2 diff --git a/ci/chains/gaia/v5.0.5/ibc-0/config/client.toml b/ci/chains/gaia/v5.0.5/ibc-0/config/client.toml new file mode 100644 index 0000000000..222695a3f8 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/config/client.toml @@ -0,0 +1,17 @@ +# This is a TOML config file. +# For more information, see https://github.com/toml-lang/toml + +############################################################################### +### Client Configuration ### +############################################################################### + +# The network chain ID +chain-id = "" +# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory) +keyring-backend = "os" +# CLI output format (text|json) +output = "text" +# : to Tendermint RPC interface for this chain +node = "tcp://localhost:26657" +# Transaction broadcasting mode (sync|async|block) +broadcast-mode = "sync" diff --git a/ci/chains/gaia/v5.0.5/ibc-0/config/config.toml b/ci/chains/gaia/v5.0.5/ibc-0/config/config.toml new file mode 100644 index 0000000000..071a9c4199 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/config/config.toml @@ -0,0 +1,400 @@ +# 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/.tendermint" by default, but could be changed via $TMHOME env variable +# or --home cmd flag. + +####################################################################### +### Main Base Config Options ### +####################################################################### + +# TCP or UNIX socket address of the ABCI application, +# or the name of an ABCI application compiled in with the Tendermint binary +proxy_app = "tcp://127.0.0.1:26658" + +# A custom human readable name for this node +moniker = "ibc-0" + +# If this node is many blocks behind the tip of the chain, FastSync +# allows them to catchup quickly by downloading blocks in parallel +# and verifying their commits +fast_sync = true + +# 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 Tendermint 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 + +# 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 Tendermint'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 Tendermint 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 Tendermint's config directory. +# NOTE: both tls-cert-file and tls-key-file must be present for Tendermint 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 or use UPnP +# to figure out the address. +external_address = "" + +# Comma separated list of seed nodes to connect to +seeds = "" + +# Comma separated list of nodes to keep persistent connections to +persistent_peers = "" + +# UPNP port forwarding +upnp = false + +# 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] + +recheck = true +broadcast = true +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 + +####################################################### +### 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" + +####################################################### +### Fast Sync Configuration Connections ### +####################################################### +[fastsync] + +# Fast Sync version to use: +# 1) "v0" (default) - the legacy fast sync implementation +# 2) "v1" - refactor of v0 version for better testability +# 2) "v2" - complete redesign of v0, optimized for testability & readability +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 = "1s" +# 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" + +####################################################### +### 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. +indexer = "kv" + +####################################################### +### 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 = false + +# 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 = "tendermint" diff --git a/ci/chains/gaia/v5.0.5/ibc-0/config/genesis.json b/ci/chains/gaia/v5.0.5/ibc-0/config/genesis.json new file mode 100644 index 0000000000..0fd111e818 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/config/genesis.json @@ -0,0 +1,342 @@ +{ + "genesis_time": "2021-08-06T15:55:09.233573359Z", + "chain_id": "ibc-0", + "initial_height": "1", + "consensus_params": { + "block": { + "max_bytes": "22020096", + "max_gas": "-1", + "time_iota_ms": "1000" + }, + "evidence": { + "max_age_num_blocks": "100000", + "max_age_duration": "172800000000000", + "max_bytes": "1048576" + }, + "validator": { + "pub_key_types": [ + "ed25519" + ] + }, + "version": {} + }, + "app_hash": "", + "app_state": { + "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": "cosmos18hxd9gnkkfp6du3479jrpw69s2ycjwpd5kwm3m", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "cosmos1fk5g3yrm6resm26esff2a2t28t5hh9lwv65hdr", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "cosmos1m9h2rkke0h2qw5wpmr7d2a7nanxg8prankvar9", + "pub_key": null, + "account_number": "0", + "sequence": "0" + } + ] + }, + "bank": { + "params": { + "send_enabled": [], + "default_send_enabled": true + }, + "balances": [ + { + "address": "cosmos18hxd9gnkkfp6du3479jrpw69s2ycjwpd5kwm3m", + "coins": [ + { + "denom": "samoleans", + "amount": "100000000000" + }, + { + "denom": "stake", + "amount": "100000000000" + } + ] + }, + { + "address": "cosmos1fk5g3yrm6resm26esff2a2t28t5hh9lwv65hdr", + "coins": [ + { + "denom": "samoleans", + "amount": "100000000000" + }, + { + "denom": "stake", + "amount": "100000000000" + } + ] + }, + { + "address": "cosmos1m9h2rkke0h2qw5wpmr7d2a7nanxg8prankvar9", + "coins": [ + { + "denom": "stake", + "amount": "100000000000" + } + ] + } + ], + "supply": [ + { + "denom": "samoleans", + "amount": "200000000000" + }, + { + "denom": "stake", + "amount": "300000000000" + } + ], + "denom_metadata": [] + }, + "capability": { + "index": "1", + "owners": [] + }, + "crisis": { + "constant_fee": { + "denom": "stake", + "amount": "1000" + } + }, + "distribution": { + "params": { + "community_tax": "0.020000000000000000", + "base_proposer_reward": "0.010000000000000000", + "bonus_proposer_reward": "0.040000000000000000", + "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": [] + }, + "genutil": { + "gen_txs": [ + { + "body": { + "messages": [ + { + "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", + "description": { + "moniker": "ibc-0", + "identity": "", + "website": "", + "security_contact": "", + "details": "" + }, + "commission": { + "rate": "0.100000000000000000", + "max_rate": "0.200000000000000000", + "max_change_rate": "0.010000000000000000" + }, + "min_self_delegation": "1", + "delegator_address": "cosmos1m9h2rkke0h2qw5wpmr7d2a7nanxg8prankvar9", + "validator_address": "cosmosvaloper1m9h2rkke0h2qw5wpmr7d2a7nanxg8prakzcg0k", + "pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "UWzLnjUlTmMPHJISY+GWB5I4wJKRjMGzNf/o0rB50vo=" + }, + "value": { + "denom": "stake", + "amount": "100000000000" + } + } + ], + "memo": "0a67e76f6743997bde26b522ef43e886b1baa95d@192.168.50.214:26656", + "timeout_height": "0", + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [ + { + "public_key": { + "@type": "/cosmos.crypto.secp256k1.PubKey", + "key": "A8om4wMSv7tTzlhjxv9wF/Pc4SZTZh1tb6kqRF4OOBJp" + }, + "mode_info": { + "single": { + "mode": "SIGN_MODE_DIRECT" + } + }, + "sequence": "0" + } + ], + "fee": { + "amount": [], + "gas_limit": "200000", + "payer": "", + "granter": "" + } + }, + "signatures": [ + "dbccwhF7NQmGAHDr4+5JiVlNL/KqevVYSFCIGlSqYWZ9QOSxSJ+J40pzGWsaAyeVpo91xnQkl8CpuTofBzfXkQ==" + ] + } + ] + }, + "gov": { + "starting_proposal_id": "1", + "deposits": [], + "votes": [], + "proposals": [], + "deposit_params": { + "min_deposit": [ + { + "denom": "stake", + "amount": "10000000" + } + ], + "max_deposit_period": "200s" + }, + "voting_params": { + "voting_period": "200s" + }, + "tally_params": { + "quorum": "0.334000000000000000", + "threshold": "0.500000000000000000", + "veto_threshold": "0.334000000000000000" + } + }, + "ibc": { + "client_genesis": { + "clients": [], + "clients_consensus": [], + "clients_metadata": [], + "params": { + "allowed_clients": [ + "06-solomachine", + "07-tendermint" + ] + }, + "create_localhost": false, + "next_client_sequence": "0" + }, + "connection_genesis": { + "connections": [], + "client_connection_paths": [], + "next_connection_sequence": "0" + }, + "channel_genesis": { + "channels": [], + "acknowledgements": [], + "commitments": [], + "receipts": [], + "send_sequences": [], + "recv_sequences": [], + "ack_sequences": [], + "next_channel_sequence": "0" + } + }, + "liquidity": { + "params": { + "pool_types": [ + { + "id": 1, + "name": "StandardLiquidityPool", + "min_reserve_coin_num": 2, + "max_reserve_coin_num": 2, + "description": "Standard liquidity pool with pool price function X/Y, ESPM constraint, and two kinds of reserve coins" + } + ], + "min_init_deposit_amount": "1000000", + "init_pool_coin_mint_amount": "1000000", + "max_reserve_coin_amount": "0", + "pool_creation_fee": [ + { + "denom": "stake", + "amount": "40000000" + } + ], + "swap_fee_rate": "0.003000000000000000", + "withdraw_fee_rate": "0.000000000000000000", + "max_order_amount_ratio": "0.100000000000000000", + "unit_batch_height": 1, + "circuit_breaker_enabled": false + }, + "pool_records": [] + }, + "mint": { + "minter": { + "inflation": "0.130000000000000000", + "annual_provisions": "0.000000000000000000" + }, + "params": { + "mint_denom": "stake", + "inflation_rate_change": "0.130000000000000000", + "inflation_max": "0.200000000000000000", + "inflation_min": "0.070000000000000000", + "goal_bonded": "0.670000000000000000", + "blocks_per_year": "6311520" + } + }, + "params": null, + "slashing": { + "params": { + "signed_blocks_window": "100", + "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": "stake" + }, + "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 + } + }, + "upgrade": {}, + "vesting": {} + } +} \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/config/gentx/gentx-0a67e76f6743997bde26b522ef43e886b1baa95d.json b/ci/chains/gaia/v5.0.5/ibc-0/config/gentx/gentx-0a67e76f6743997bde26b522ef43e886b1baa95d.json new file mode 100644 index 0000000000..36cc8ac3d0 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/config/gentx/gentx-0a67e76f6743997bde26b522ef43e886b1baa95d.json @@ -0,0 +1 @@ +{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"ibc-0","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1m9h2rkke0h2qw5wpmr7d2a7nanxg8prankvar9","validator_address":"cosmosvaloper1m9h2rkke0h2qw5wpmr7d2a7nanxg8prakzcg0k","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"UWzLnjUlTmMPHJISY+GWB5I4wJKRjMGzNf/o0rB50vo="},"value":{"denom":"stake","amount":"100000000000"}}],"memo":"0a67e76f6743997bde26b522ef43e886b1baa95d@192.168.50.214:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A8om4wMSv7tTzlhjxv9wF/Pc4SZTZh1tb6kqRF4OOBJp"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["dbccwhF7NQmGAHDr4+5JiVlNL/KqevVYSFCIGlSqYWZ9QOSxSJ+J40pzGWsaAyeVpo91xnQkl8CpuTofBzfXkQ=="]} diff --git a/ci/chains/gaia/v5.0.5/ibc-0/config/node_key.json b/ci/chains/gaia/v5.0.5/ibc-0/config/node_key.json new file mode 100644 index 0000000000..1ad4894060 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/config/node_key.json @@ -0,0 +1 @@ +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"XSr6UzSuk0yJGLPr8HNJmOvR0Ll4lXd0Q1f3JwCTsarMfTCiPkwdB7XuIaUYZ+EqPMQlGswfcX1MsmQnwT7tiA=="}} \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/config/priv_validator_key.json b/ci/chains/gaia/v5.0.5/ibc-0/config/priv_validator_key.json new file mode 100644 index 0000000000..5acf485cbc --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/config/priv_validator_key.json @@ -0,0 +1,11 @@ +{ + "address": "3CE3FE24E325D665404E83E08F52B6F690F53696", + "pub_key": { + "type": "tendermint/PubKeyEd25519", + "value": "UWzLnjUlTmMPHJISY+GWB5I4wJKRjMGzNf/o0rB50vo=" + }, + "priv_key": { + "type": "tendermint/PrivKeyEd25519", + "value": "aHKU0D6vWVoOY/yGbG99aTwunQw/OLIWSXq+RnmLihRRbMueNSVOYw8ckhJj4ZYHkjjAkpGMwbM1/+jSsHnS+g==" + } +} \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/3dccd2a276b243a6f235f16430bb45828989382d.address b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/3dccd2a276b243a6f235f16430bb45828989382d.address new file mode 100644 index 0000000000..0ee685e76d --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/3dccd2a276b243a6f235f16430bb45828989382d.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToxMS40MDg4OTA0OTQgLTA0MDAgRURUIG09KzAuMDcyNDk0NTU0IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiVDJ0N0FLQlU3M1dFbU9vVSJ9.c_tFqk0Us6om3ARhb75Nc6Sbfr3pKIoAMN9iFbMTnxZClTMEjWQlrw.p3d8hSE0wlkjQJFq.TVz3yHFFHaaYbe2Tvxm2ZjFXHZchdMSNmOwqQpOx9kEA7E-lsDJtMTVZ67CHca6hONRQNN1qNGwmnc_qGt4EsFFkLSs8FoP4CbhZbpeiFP8hCGifaJeB3V-7rB1QqaCHXv6bWjo22J8R4Ab2FYSsmIzkVDsbJ0bwF6X1zvy-HK31DaX-7pXiZ_ZpHPLPulbNkuQOuw1Ko60pn7gddsd2KtVb8XGdfF2AwPbwm1JwJat1dA.6gvhCUm2fYsEaC83zEaArw \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/4da888907bd0f30dab598252aea96a3ae97b97ee.address b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/4da888907bd0f30dab598252aea96a3ae97b97ee.address new file mode 100644 index 0000000000..10aca78a47 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/4da888907bd0f30dab598252aea96a3ae97b97ee.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToxMi40OTEwMDU5NTYgLTA0MDAgRURUIG09KzAuMDY4MTU1MzM3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiV1FRdjdLTVJZTlh4NF9kZyJ9.sYBSSj4WLgksCMvTmINlA29D5xOghK-f2MAW1jFdVdIRhjKJ8pvFVw.zVwXJihE_WugBihe.ZYweIxXQ4BfXomdUiYjrNsmBn4N1J2SqHeDTC21Od6oy-tjq5xOMxKSDCqbPl9828txXEB9eCOzCkDMQkcEz7dYWGjQcBkGsln9JefEK_xchdSmeK3pfy2hVpQvqtt0OO8EsDlcIsm6gGloTq7ACJ9vJCtTiP2H0gTdNTqmX5ERRvy6KCVypZSCvPg7znXCTeW7vG8x7be9VA33ZT6KJIuphk91EamFFYOqJPQ9konae3u9OKP4.9gG1lM3T0U-TEVvH1NHF6A \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/d96ea1dad97dd40751c1d8fcd577d3eccc83847d.address b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/d96ea1dad97dd40751c1d8fcd577d3eccc83847d.address new file mode 100644 index 0000000000..d97809d0a3 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/d96ea1dad97dd40751c1d8fcd577d3eccc83847d.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToxMC4zMTkyMjcyMzYgLTA0MDAgRURUIG09KzAuMDc2Mjg1MTUwIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiZnZiVzhmdERKcTJWdEdseiJ9.5XAKEXhLRZMMdbEJtqUUTcXqwkxICMQUfYnKdzyUmO6oItkgvgSAdw._w8dTWEfuIPQW82G._kamePXu2Pkx3reyUjSK1Abw4gn199CXbP8YHU1Zur5cu4P9tVIen3-tu0VJ9ou8sA-QUVdvcG3_kVxIu1mvcUdgQOGJidA6dndOuPevkFDWAvvtnUQaTKBzdiQaM3e7arGMgjXvFJlDM0IrCjmBBHiBCG7_kx-VLF-FC4D9OvypINRk-d-HVCpAOHfyrdMj08EcpRvpFQu0Q7WcEaZsl8Wl0u-TdQslkVZupPXSNfT79qxg1LwLvKzY.UA2-tzWmzhuGS83LLNFTJQ \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/user.info b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/user.info new file mode 100644 index 0000000000..6378434dba --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/user.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToxMS40MDI1NjU5NCAtMDQwMCBFRFQgbT0rMC4wNjYxNjk5OTYiLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJFam1uQmRUT3VHOVJFdGRuIn0.5BCtBSgTthznCJgVzxwvR6LV8-AsVAfkKJgaR3MahCuhcKjgM6H7ig.qO-A9NhUkrc3OcZM.lHVVATkQuFo34HYnmBu5r5uOeCt9FfYpArvr4SEwaltfzucjVPkunpNTG6VEuVkM-QNo86pwTi-nx3K-QydzkCpcjYM8vn-R-HuROwKp2yDgRdNr-QK9XLoYJqL0rrDabpwxJnyghuth0D6iJOlTkZyGn6Gkl7GkF3ewI7ny9qKwdTwv5AkbNI4UmN1cEDikFUgJ-EdtvjZB6iy3DsBuacXQspNZLw4IsVNS6G5y3ODBomdt4VrBlsYmfKVO_UFlmnuAhLHUbRw6pCibQgWhWll1IoC0zx491fqoNX049gFfJN2uDcCX7vy5svG2__4omQvBdCr5QtRwsvCFZPChNf0vuLmNLhg.di2QoHAwspqXNXe0Kwzm1Q \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/user2.info b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/user2.info new file mode 100644 index 0000000000..fde543a535 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/user2.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToxMi40ODQ2OTQ0NTggLTA0MDAgRURUIG09KzAuMDYxODQzODI1IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTE9BMXRvanItQ0lsZHZjdSJ9.QvxZZ5KouVuuw39bKORfHDJRGSep8hdZQyuP-Xuvxu2pmfYYQ_1YYQ.W7y3-VIQfHW6SsWs.WlSMpDVl0Ej8pVq2HpoxiyEVZSdWygRWFHSM-zteFePNLjYUymhtg3jGx8s3jX5d6NwtX0PxmPVYYClLNMKWDHJH9GC5AfZgUCoCPeya0VkmOc9V9u8hBVBMDisnDCkE5IRlQzi5bd_hf-AJH_8vGNHvqsI9mtoeLF-BNAFTma_MUUd5wJNSxZYL3rsnhPmzBvNklAf3noCKQmmnIpNenMP23BwMSyki6y3pbYyJrERuo7noqHJ749vL2QG7AuogM70FUfiAABJXkL3EVZX7lOXJLxx6GCOlWMTLrAQE9bzxbCSYDISlmEfQgjhRgKPzGRqb8um98nXN7aa0eYGWL5OEiN7RBPTd.Tq-m5jicmGvDOuUNI2B_IQ \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/validator.info b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/validator.info new file mode 100644 index 0000000000..3f1a7adf11 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/keyring-test/validator.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToxMC4zMTAwNzkyNTEgLTA0MDAgRURUIG09KzAuMDY3MTM3MTYyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiNXZDekQ5cFBPbHQ3T3E1ciJ9.LQcsbodiuLHFDBxBMqGqec2nsjt3GFMeV4ePzX4YyGJz7bUyoCw3Mw.m4YUYOicLq53eixI.dPpXWczIiJnumz44yxHMkaU1-tYYjPsN9Sn_9PC_c8T3mDXPWCLWdaywYif8BP1jpQ__tF8iHh6HiOO9r6yp3mH6SGodkj2ey3FwBQwBwQ0L7N1sx6D4ASCaBaAcsjsc2aHew427LyDJhpMoW6luf4XzzzJsCRN0QXBWtpdffE23JAkahgIgrHARAKxYyqRkqRnesItEjJZXwjobm_ENEcyaUPdg7N5Ys3VDEp55FySa7shyBABprk4BdSu8N9ivaz6nk0sjvIzEDuINMCg9JdneErkIyr33mebIhAzaK3Aw6i0Umg1BTYvruai2eMp9ryh8nryMVrVDhBnf8DHaEkfiKUDPrP0rvzgAyjpWAleKrrb1.w1S63MsoNXdNVFgRuo0DCw \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-0/user2_seed.json b/ci/chains/gaia/v5.0.5/ibc-0/user2_seed.json new file mode 100644 index 0000000000..f14517d186 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/user2_seed.json @@ -0,0 +1 @@ +{"name":"user2","type":"local","address":"cosmos1fk5g3yrm6resm26esff2a2t28t5hh9lwv65hdr","pubkey":"cosmospub1addwnpepqgssups8ywx8rp2h85xt0y7cfunpeadzwh9r5ss9w6awask3q257zld37vn","mnemonic":"dynamic life add hill bundle hold tone square damage library wrist news used text circle imitate walnut control curious cactus canal employ load half"} diff --git a/ci/chains/gaia/v5.0.5/ibc-0/user_seed.json b/ci/chains/gaia/v5.0.5/ibc-0/user_seed.json new file mode 100644 index 0000000000..bcba356514 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/user_seed.json @@ -0,0 +1 @@ +{"name":"user","type":"local","address":"cosmos18hxd9gnkkfp6du3479jrpw69s2ycjwpd5kwm3m","pubkey":"cosmospub1addwnpepqd4gesy8r0wyvay4a2m3x34xlhnds853tnhal0mwnzxdmlls3lukk4gwgjs","mnemonic":"regret area gas slab game feel corn picture click match myself flip fragile shuffle field toddler rack cycle shield blouse cup prefer depart picnic"} diff --git a/ci/chains/gaia/v5.0.5/ibc-0/validator_seed.json b/ci/chains/gaia/v5.0.5/ibc-0/validator_seed.json new file mode 100644 index 0000000000..f816aa20ac --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-0/validator_seed.json @@ -0,0 +1 @@ +{"name":"validator","type":"local","address":"cosmos1m9h2rkke0h2qw5wpmr7d2a7nanxg8prankvar9","pubkey":"cosmospub1addwnpepq09zdccrz2lmk57wtp3udlmszleaecfx2dnp6mt04y4yghsw8qfxju3rfl3","mnemonic":"robust nerve resist tip spoil grid poem invest unfold wrong helmet change poverty network popular strategy vague consider valid shrug salad health flush staff"} diff --git a/ci/chains/gaia/v5.0.5/ibc-1/config/app.toml b/ci/chains/gaia/v5.0.5/ibc-1/config/app.toml new file mode 100644 index 0000000000..54de73e392 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/config/app.toml @@ -0,0 +1,152 @@ +# 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 = "" + +# default: the last 100 states are kept in addition to every 500th state; pruning at 10 block intervals +# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node) +# everything: all saved states will be deleted, storing only the current state; pruning at 10 block intervals +# custom: allow pruning options to be manually specified through 'pruning-keep-recent', 'pruning-keep-every', and 'pruning-interval' +pruning = "default" + +# These are applied if and only if the pruning strategy is custom. +pruning-keep-recent = "0" +pruning-keep-every = "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 Tendermint. 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 Tendermint blocks. +# It has no bearing on application state pruning which is determined by the +# "pruning-*" configurations. +# +# Note: Tendermint block pruning is dependant on this parameter in conunction +# 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 Tendermint what to index. If empty, all events will be indexed. +# +# Example: +# ["message.sender", "message.recipient"] +index-events = [] + +############################################################################### +### 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 = [ +] + +############################################################################### +### 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 Tendermint RPC read timeout (in seconds). +rpc-read-timeout = 10 + +# RPCWriteTimeout defines the Tendermint RPC write timeout (in seconds). +rpc-write-timeout = 0 + +# RPCMaxBodyBytes defines the Tendermint maximum response 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" + +############################################################################### +### 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). Must be a multiple of pruning-keep-every. +snapshot-interval = 0 + +# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). +snapshot-keep-recent = 2 diff --git a/ci/chains/gaia/v5.0.5/ibc-1/config/client.toml b/ci/chains/gaia/v5.0.5/ibc-1/config/client.toml new file mode 100644 index 0000000000..222695a3f8 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/config/client.toml @@ -0,0 +1,17 @@ +# This is a TOML config file. +# For more information, see https://github.com/toml-lang/toml + +############################################################################### +### Client Configuration ### +############################################################################### + +# The network chain ID +chain-id = "" +# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory) +keyring-backend = "os" +# CLI output format (text|json) +output = "text" +# : to Tendermint RPC interface for this chain +node = "tcp://localhost:26657" +# Transaction broadcasting mode (sync|async|block) +broadcast-mode = "sync" diff --git a/ci/chains/gaia/v5.0.5/ibc-1/config/config.toml b/ci/chains/gaia/v5.0.5/ibc-1/config/config.toml new file mode 100644 index 0000000000..bef1cae571 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/config/config.toml @@ -0,0 +1,400 @@ +# 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/.tendermint" by default, but could be changed via $TMHOME env variable +# or --home cmd flag. + +####################################################################### +### Main Base Config Options ### +####################################################################### + +# TCP or UNIX socket address of the ABCI application, +# or the name of an ABCI application compiled in with the Tendermint binary +proxy_app = "tcp://127.0.0.1:26658" + +# A custom human readable name for this node +moniker = "ibc-1" + +# If this node is many blocks behind the tip of the chain, FastSync +# allows them to catchup quickly by downloading blocks in parallel +# and verifying their commits +fast_sync = true + +# 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 Tendermint 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 + +# 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 Tendermint'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 Tendermint 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 Tendermint's config directory. +# NOTE: both tls-cert-file and tls-key-file must be present for Tendermint 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 or use UPnP +# to figure out the address. +external_address = "" + +# Comma separated list of seed nodes to connect to +seeds = "" + +# Comma separated list of nodes to keep persistent connections to +persistent_peers = "" + +# UPNP port forwarding +upnp = false + +# 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] + +recheck = true +broadcast = true +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 + +####################################################### +### 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" + +####################################################### +### Fast Sync Configuration Connections ### +####################################################### +[fastsync] + +# Fast Sync version to use: +# 1) "v0" (default) - the legacy fast sync implementation +# 2) "v1" - refactor of v0 version for better testability +# 2) "v2" - complete redesign of v0, optimized for testability & readability +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 = "1s" +# 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" + +####################################################### +### 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. +indexer = "kv" + +####################################################### +### 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 = false + +# 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 = "tendermint" diff --git a/ci/chains/gaia/v5.0.5/ibc-1/config/genesis.json b/ci/chains/gaia/v5.0.5/ibc-1/config/genesis.json new file mode 100644 index 0000000000..5857a4c3fa --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/config/genesis.json @@ -0,0 +1,342 @@ +{ + "genesis_time": "2021-08-06T15:55:22.411963459Z", + "chain_id": "ibc-1", + "initial_height": "1", + "consensus_params": { + "block": { + "max_bytes": "22020096", + "max_gas": "-1", + "time_iota_ms": "1000" + }, + "evidence": { + "max_age_num_blocks": "100000", + "max_age_duration": "172800000000000", + "max_bytes": "1048576" + }, + "validator": { + "pub_key_types": [ + "ed25519" + ] + }, + "version": {} + }, + "app_hash": "", + "app_state": { + "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": "cosmos1gz8hnf4l6yz7k3mmyseus3v69t4f8s60hth0fx", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "cosmos1lt47c46ydlmqs6tq5y4djkndx9u8mu3x6mqhje", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "cosmos1xs9mn3pfxgx4s2ncu0yejl0dh8lrquyzekqwz3", + "pub_key": null, + "account_number": "0", + "sequence": "0" + } + ] + }, + "bank": { + "params": { + "send_enabled": [], + "default_send_enabled": true + }, + "balances": [ + { + "address": "cosmos1xs9mn3pfxgx4s2ncu0yejl0dh8lrquyzekqwz3", + "coins": [ + { + "denom": "stake", + "amount": "100000000000" + } + ] + }, + { + "address": "cosmos1gz8hnf4l6yz7k3mmyseus3v69t4f8s60hth0fx", + "coins": [ + { + "denom": "samoleans", + "amount": "100000000000" + }, + { + "denom": "stake", + "amount": "100000000000" + } + ] + }, + { + "address": "cosmos1lt47c46ydlmqs6tq5y4djkndx9u8mu3x6mqhje", + "coins": [ + { + "denom": "samoleans", + "amount": "100000000000" + }, + { + "denom": "stake", + "amount": "100000000000" + } + ] + } + ], + "supply": [ + { + "denom": "samoleans", + "amount": "200000000000" + }, + { + "denom": "stake", + "amount": "300000000000" + } + ], + "denom_metadata": [] + }, + "capability": { + "index": "1", + "owners": [] + }, + "crisis": { + "constant_fee": { + "denom": "stake", + "amount": "1000" + } + }, + "distribution": { + "params": { + "community_tax": "0.020000000000000000", + "base_proposer_reward": "0.010000000000000000", + "bonus_proposer_reward": "0.040000000000000000", + "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": [] + }, + "genutil": { + "gen_txs": [ + { + "body": { + "messages": [ + { + "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", + "description": { + "moniker": "ibc-1", + "identity": "", + "website": "", + "security_contact": "", + "details": "" + }, + "commission": { + "rate": "0.100000000000000000", + "max_rate": "0.200000000000000000", + "max_change_rate": "0.010000000000000000" + }, + "min_self_delegation": "1", + "delegator_address": "cosmos1xs9mn3pfxgx4s2ncu0yejl0dh8lrquyzekqwz3", + "validator_address": "cosmosvaloper1xs9mn3pfxgx4s2ncu0yejl0dh8lrquyzuz5mwz", + "pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "uEJtNPYlKV1WAsKJV+ntucge/3FNb23OT74fNR4SB4A=" + }, + "value": { + "denom": "stake", + "amount": "100000000000" + } + } + ], + "memo": "1feb1ad566fa381f6e6b4afd639559e0505fd9d0@192.168.50.214:26656", + "timeout_height": "0", + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [ + { + "public_key": { + "@type": "/cosmos.crypto.secp256k1.PubKey", + "key": "ArYgz5c42qZWEE37Ltf/g1ikRbRjlED+9u/9uPzzeWp+" + }, + "mode_info": { + "single": { + "mode": "SIGN_MODE_DIRECT" + } + }, + "sequence": "0" + } + ], + "fee": { + "amount": [], + "gas_limit": "200000", + "payer": "", + "granter": "" + } + }, + "signatures": [ + "licdn52xp1gR8oNcVzqZAWwDaOsdGK6A/+B9bkw8K/hakKmHiTe9wRXnOD3m532E5SYyPkK93vukLEhPbtx+wg==" + ] + } + ] + }, + "gov": { + "starting_proposal_id": "1", + "deposits": [], + "votes": [], + "proposals": [], + "deposit_params": { + "min_deposit": [ + { + "denom": "stake", + "amount": "10000000" + } + ], + "max_deposit_period": "200s" + }, + "voting_params": { + "voting_period": "200s" + }, + "tally_params": { + "quorum": "0.334000000000000000", + "threshold": "0.500000000000000000", + "veto_threshold": "0.334000000000000000" + } + }, + "ibc": { + "client_genesis": { + "clients": [], + "clients_consensus": [], + "clients_metadata": [], + "params": { + "allowed_clients": [ + "06-solomachine", + "07-tendermint" + ] + }, + "create_localhost": false, + "next_client_sequence": "0" + }, + "connection_genesis": { + "connections": [], + "client_connection_paths": [], + "next_connection_sequence": "0" + }, + "channel_genesis": { + "channels": [], + "acknowledgements": [], + "commitments": [], + "receipts": [], + "send_sequences": [], + "recv_sequences": [], + "ack_sequences": [], + "next_channel_sequence": "0" + } + }, + "liquidity": { + "params": { + "pool_types": [ + { + "id": 1, + "name": "StandardLiquidityPool", + "min_reserve_coin_num": 2, + "max_reserve_coin_num": 2, + "description": "Standard liquidity pool with pool price function X/Y, ESPM constraint, and two kinds of reserve coins" + } + ], + "min_init_deposit_amount": "1000000", + "init_pool_coin_mint_amount": "1000000", + "max_reserve_coin_amount": "0", + "pool_creation_fee": [ + { + "denom": "stake", + "amount": "40000000" + } + ], + "swap_fee_rate": "0.003000000000000000", + "withdraw_fee_rate": "0.000000000000000000", + "max_order_amount_ratio": "0.100000000000000000", + "unit_batch_height": 1, + "circuit_breaker_enabled": false + }, + "pool_records": [] + }, + "mint": { + "minter": { + "inflation": "0.130000000000000000", + "annual_provisions": "0.000000000000000000" + }, + "params": { + "mint_denom": "stake", + "inflation_rate_change": "0.130000000000000000", + "inflation_max": "0.200000000000000000", + "inflation_min": "0.070000000000000000", + "goal_bonded": "0.670000000000000000", + "blocks_per_year": "6311520" + } + }, + "params": null, + "slashing": { + "params": { + "signed_blocks_window": "100", + "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": "stake" + }, + "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 + } + }, + "upgrade": {}, + "vesting": {} + } +} \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/config/gentx/gentx-1feb1ad566fa381f6e6b4afd639559e0505fd9d0.json b/ci/chains/gaia/v5.0.5/ibc-1/config/gentx/gentx-1feb1ad566fa381f6e6b4afd639559e0505fd9d0.json new file mode 100644 index 0000000000..06efed20fc --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/config/gentx/gentx-1feb1ad566fa381f6e6b4afd639559e0505fd9d0.json @@ -0,0 +1 @@ +{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"ibc-1","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1xs9mn3pfxgx4s2ncu0yejl0dh8lrquyzekqwz3","validator_address":"cosmosvaloper1xs9mn3pfxgx4s2ncu0yejl0dh8lrquyzuz5mwz","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"uEJtNPYlKV1WAsKJV+ntucge/3FNb23OT74fNR4SB4A="},"value":{"denom":"stake","amount":"100000000000"}}],"memo":"1feb1ad566fa381f6e6b4afd639559e0505fd9d0@192.168.50.214:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"ArYgz5c42qZWEE37Ltf/g1ikRbRjlED+9u/9uPzzeWp+"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["licdn52xp1gR8oNcVzqZAWwDaOsdGK6A/+B9bkw8K/hakKmHiTe9wRXnOD3m532E5SYyPkK93vukLEhPbtx+wg=="]} diff --git a/ci/chains/gaia/v5.0.5/ibc-1/config/node_key.json b/ci/chains/gaia/v5.0.5/ibc-1/config/node_key.json new file mode 100644 index 0000000000..3405e42380 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/config/node_key.json @@ -0,0 +1 @@ +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"gPIctCwq106NQ4vqEEFczd1lw//4MoNXqV4bPHEZKIepCHj5EMHC8YlvENm0Ge0RPexjMxgANTrbfU2Lb+tmgw=="}} \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/config/priv_validator_key.json b/ci/chains/gaia/v5.0.5/ibc-1/config/priv_validator_key.json new file mode 100644 index 0000000000..ecf31ea63d --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/config/priv_validator_key.json @@ -0,0 +1,11 @@ +{ + "address": "C2BD2207A3FF8B7BBBCF3E1F3554FD4CCBF5B9AD", + "pub_key": { + "type": "tendermint/PubKeyEd25519", + "value": "uEJtNPYlKV1WAsKJV+ntucge/3FNb23OT74fNR4SB4A=" + }, + "priv_key": { + "type": "tendermint/PrivKeyEd25519", + "value": "8AatfvD3y+/RBRVCjA+OsegXGdiYg2afP4D2NmqYCJu4Qm009iUpXVYCwolX6e25yB7/cU1vbc5Pvh81HhIHgA==" + } +} \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/340bb9c429320d582a78e3c9997dedb9fe307082.address b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/340bb9c429320d582a78e3c9997dedb9fe307082.address new file mode 100644 index 0000000000..1113f7071b --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/340bb9c429320d582a78e3c9997dedb9fe307082.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToyMy40OTE5OTA3MyAtMDQwMCBFRFQgbT0rMC4wNjk3MzYxNTkiLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJRSkhjMnBBR214bnY2aWkyIn0.4zfntRhv4PSLNCRq3eGlC3mKHhIsSveK1tKoxtDZINfuPicEOyq1og.9IeSNTJ5u3lMmiqS.4ehEfNzu0HwJyquVTY10QMOXjZnZTHvtuNH7jk_KqNNXqatsNg1rppABQUr4HjTFymGCOb0PzFWzLz8_4Fv5JwqYoU7j04G5uvvLALi6OVaguuEVs0B0qaD32_J8OTV9Bp8zbYr3dJHwPM6n7ntH5zIvQgC6kVaZUipglJAQjkZN2h0u2WHQ1Z0GPIeeE00dX52jJtgY0zhZdA_p1ZYAO_AJJ_fQQMfHkV10rnbErYHPFCqbawhP6ZIV.0NWwcw1QgdcihcSS7XyOdg \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/408f79a6bfd105eb477b2433c8459a2aea93c34f.address b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/408f79a6bfd105eb477b2433c8459a2aea93c34f.address new file mode 100644 index 0000000000..a3ed0bc21e --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/408f79a6bfd105eb477b2433c8459a2aea93c34f.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToyNC41NjkyNTA1OTUgLTA0MDAgRURUIG09KzAuMDYzNjAyNDM2IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoibTZ5UGlIMS1zOVd1WmF2QSJ9.qRrycHfHVdBkFepPKyfZH-7VpIjVqJxcHiquC-heLERJqKOfwZKD0A.ESc_YX4SF-KGfXX0.81lArzJU37dL_0U6QX2aU4dZIOcVJqdu6pUscTwIWO12lbYMZnEt7QwVVxGFEpCb81enwmSOFyZI03mWloeaiVDuCPsOWjY_H-ivvGV1EooeaWynnyJGEpO2fucneP11szaJO2j2Pen9x9jgQdvn2Xuvr3gi4O6jMyiHnV8Ibmx7x80cwMpoQF9uPtodIG9aP7N1xWHV6_l_O-emv9qfnuTuLwiPGYB7jsHNXaDJfUZ9-w.i1aJxWM7HoDFIirXbYZuKQ \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/faebec57446ff6086960a12ad95a6d31787df226.address b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/faebec57446ff6086960a12ad95a6d31787df226.address new file mode 100644 index 0000000000..8c3f521aad --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/faebec57446ff6086960a12ad95a6d31787df226.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToyNS42Njk1MzAxMDEgLTA0MDAgRURUIG09KzAuMDg1NzIwMjA3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiYXVLSVRmbGZZdm9DV2tURyJ9.ndHS7gKlrYCO78G9ZIpB2jEqdv85zfQRZAJoYa-00hRZlHEr7dF7RQ.F--xWwL-JrjkxipY.jv_CYB2Jg_ppO9hr_j7oyTvyFy0gzvLiBDRDmRXajJJXvm-4Rx_oxx1hH-MQGF-mhmOhXn_UPB-NsVl3S6YrFq5C7BxHpa-H48yCQ8YHROrb44TmgWf26lDWRKyGdGH3AkKiUtxRGQ968vfNOLu5FCPcK1zysHDrmLMlN88c2NLNzE8F8F_iAWWwuE6Wt0vpm85qtsAyX73pTi-NracluzPMoy7XqAguUAHWI4tod2h56-H2Gls.Tt6Q5d4jNAXdwvXJk4QUTg \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/user.info b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/user.info new file mode 100644 index 0000000000..b79bac9b9d --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/user.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToyNC41NjMyODgyNCAtMDQwMCBFRFQgbT0rMC4wNTc2NDAwNjUiLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJQTVRlSGNMT0M5MUc4Rk50In0.bjQxqrY4tQJ8T8qA1V73gNw0HPW8Ajz6myOrIlX8jj9PCsD9duBsbQ.UzOo26N2xEPLM2Jg.ijNc2B_c5igQwBxzMk9EnZDPVK36JrC0dZ1InnsBuY_ZXktKbNnW_x9Ipx5irWM9oCW_7f7lA4QblxzVtvxrFNVgNja1ub91SM0cwtNABlRx1cNoAq0qi-2PZQGBO0aPJZwrRCMfEVS9snkZu1JMG74ezMtA72O8okt3YJdQjNTcKJ7YsP69qAy9F0cchlHmB58U8bXDoaddPrx41NVCWdiDmPZh4A_8wn0YMpoXY7k7xdDTA9CQb5JWalg2YmGg9j1h_9-1nicyxsDAItG2OOE7JnfU7kbg3-y4usAvEVViqskBZcah_XPVOLiYl3GgpPzTmZr9AeMfyQIYUVPkoBHNr_LR6es.RVtp5fYSTZhXmxxzPWJDvw \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/user2.info b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/user2.info new file mode 100644 index 0000000000..4812a16689 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/user2.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToyNS42NTU1MzUwNDUgLTA0MDAgRURUIG09KzAuMDcxNzI1MTc0IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiQXc5WXZSdWNCT3cyOGdMWCJ9.u-If16vmX554Dc3b1vEQvxy074ipGJZClyrZmFzJ4pLJg3h002ahbA.GDOrfF1gPcL0DtKA.KEFCtKYMZSqJqHcu8-5QWz8XnFyYF1WN9p7H_lUDUJD-rcGU0WR4nZhAR02qGM9unBU1BF8PqHoVkK5oNO9nAqg7G8pb4pi83AurRtOtdeNJOQBmlZeI12rLJorvtG2RxjsDfObWHlh-LW5TzAZbRRFSO8s8XK6hfVrNybcCMiBa8NuPDynSvEoTir7IrjmP_gKrNdeE6LHYafiED8cUSME30LX33SrJ2Fof8NTUTWRKV1pZ0a-vcrUkL4k2M-u0dvYPxRSmlJn6PH3uR31ex1ncoSSGIA5Sb1YYBhna_wqlrMzM2EpSKQlrjAPNAWCMLu2MjdheeAOfgK15V9JSyXP-wS8AJvSJ.QtanYYmmeLuW0m1sD7Cjzw \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/validator.info b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/validator.info new file mode 100644 index 0000000000..278a657d45 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/keyring-test/validator.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMS0wOC0wNiAxMTo1NToyMy40ODU2NDEyODcgLTA0MDAgRURUIG09KzAuMDYzMzg2NzI1IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiSEZiLTRrV3ZYVUY0bFFPVyJ9.aX-P2pGvLb0TZEMmPiAjvInmOnTeZVq-JjJUyL4Ox0_XfC8v2ho0VQ.ViPeDShGm714yf0I.b1M2DratDW_NpHqK3Gy7mXiJvJlS5JcCC3jn9TpciR6U3RCE9XXLQJBnAj622ABdM4-NbjqTbjIxhSw1kIX77ADBjWg5G0GzZ5beXku0haIds9NgBwv49oWpLS7SQFtnGZkZtae3uCPj65lnRaY2rf10h9ia5qcakzisxRWjxXZdBKzDOJqIWX3M_7x8W2M4IrH8bDqvaKiEjaIcD1lg95F7NNfLUGJHDds-4Y4fvqVpIbapbSsMr54WOQQ_DLpMz9b7ztataH6EIYs35GtuKaBfDFp-Rk7s2QGELp3N31EGLLcz2119fR8tw0LLrjcUpouFGUlFTPl-g1J1LefXcRKTOGbnh3dAASUoUNWV3E-zccSR.jTU1Bg5x6yQP5_zT0N5QqA \ No newline at end of file diff --git a/ci/chains/gaia/v5.0.5/ibc-1/user2_seed.json b/ci/chains/gaia/v5.0.5/ibc-1/user2_seed.json new file mode 100644 index 0000000000..730bf0e099 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/user2_seed.json @@ -0,0 +1 @@ +{"name":"user2","type":"local","address":"cosmos1lt47c46ydlmqs6tq5y4djkndx9u8mu3x6mqhje","pubkey":"cosmospub1addwnpepqtxdta64tecx2rdatsn0shkcascj4xu7a0x9p0cynqgn7jywrq905p244ce","mnemonic":"pact obvious seminar path address segment motion they artwork clever poet local normal dinosaur celery few hold hire charge chaos claw fine grow impact"} diff --git a/ci/chains/gaia/v5.0.5/ibc-1/user_seed.json b/ci/chains/gaia/v5.0.5/ibc-1/user_seed.json new file mode 100644 index 0000000000..004dbc5b34 --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/user_seed.json @@ -0,0 +1 @@ +{"name":"user","type":"local","address":"cosmos1gz8hnf4l6yz7k3mmyseus3v69t4f8s60hth0fx","pubkey":"cosmospub1addwnpepqw2jrvfe98frdgf9yfvvjk6px4mtat5km4r7l6j8vhd0hlmd2akv25zdlk5","mnemonic":"host federal present budget champion erode wreck category journey bamboo entry degree destroy rice warm champion acid ability ramp cactus food shaft mimic vague"} diff --git a/ci/chains/gaia/v5.0.5/ibc-1/validator_seed.json b/ci/chains/gaia/v5.0.5/ibc-1/validator_seed.json new file mode 100644 index 0000000000..0e3b8ebb2a --- /dev/null +++ b/ci/chains/gaia/v5.0.5/ibc-1/validator_seed.json @@ -0,0 +1 @@ +{"name":"validator","type":"local","address":"cosmos1xs9mn3pfxgx4s2ncu0yejl0dh8lrquyzekqwz3","pubkey":"cosmospub1addwnpepq2mzpnuh8rd2v4ssfhaja4llsdv2g3d5vw2yplhkal7m3l8n0948ud4ufa6","mnemonic":"salad column stone sphere tuna teach trash amused cake menu pyramid half tackle scan initial entire resist become cost loan trade tonight manual release"} diff --git a/ci/docker-compose.yml b/ci/docker-compose.yml index 8a9b025ba2..9c3127177e 100644 --- a/ci/docker-compose.yml +++ b/ci/docker-compose.yml @@ -4,23 +4,27 @@ services: ibc-0: container_name: ibc-0 - image: "informaldev/ibc-0:v5.0.0" + image: "informaldev/ibc-0:v5.0.5" stdin_open: true tty: true - entrypoint: "gaiad start --home=/chain/gaia --grpc.address=ibc-0:9090 --pruning=nothing" + entrypoint: "/chain/gaia/run-gaiad.sh" networks: relaynet: ipv4_address: 172.25.0.10 + environment: + - CHAIN_ID=ibc-0 ibc-1: container_name: ibc-1 - image: "informaldev/ibc-1:v5.0.0" + image: "informaldev/ibc-1:v5.0.5" stdin_open: true tty: true - entrypoint: "gaiad start --home=/chain/gaia --grpc.address=ibc-1:9090 --pruning=nothing" + entrypoint: "/chain/gaia/run-gaiad.sh" networks: relaynet: ipv4_address: 172.25.0.11 + environment: + - CHAIN_ID=ibc-1 relayer: depends_on: @@ -33,7 +37,7 @@ services: context: ../ dockerfile: ci/relayer.Dockerfile args: - RELEASE: v5.0.0 + RELEASE: v5.0.5 environment: - CHAIN_A=ibc-0 - CHAIN_A_HOME=/data/ibc-0 @@ -43,7 +47,7 @@ services: - CHAIN_B_PORT=26657 - CONFIG=simple_config.toml - RELAYER_DIR=/relayer - - RELEASE=v5.0.0 + - RELEASE=v5.0.5 networks: relaynet: ipv4_address: 172.25.0.12 diff --git a/ci/gaia.Dockerfile b/ci/gaia.Dockerfile index f42d3ef6e3..c5253916f7 100644 --- a/ci/gaia.Dockerfile +++ b/ci/gaia.Dockerfile @@ -46,6 +46,10 @@ COPY --from=build-env /go/bin/gaiad /usr/bin/gaiad COPY --chown=root:root ./chains/$CHAIN/$RELEASE/$NAME /chain/$CHAIN +# Copy entrypoint script +COPY ./run-gaiad.sh /chain/$CHAIN +RUN chmod 755 /chain/$CHAIN/run-gaiad.sh + RUN tree -pug /chain ENTRYPOINT "/bin/sh" diff --git a/ci/relayer.Dockerfile b/ci/relayer.Dockerfile index 9a072844b1..191b8cc166 100644 --- a/ci/relayer.Dockerfile +++ b/ci/relayer.Dockerfile @@ -1,13 +1,13 @@ ##################################################### #### Relayer image #### ##################################################### -FROM ubuntu:20.04 +FROM ubuntu:21.04 LABEL maintainer="hello@informal.systems" ARG RELEASE -# Add Python 3 -RUN apt-get update -y && apt-get install python3 python3-toml -y +# Add Python 3 and Ping and Telnet (for testing) +RUN apt-get update -y && apt-get install python3 python3-toml iputils-ping telnet -y # Copy relayer executable COPY ./hermes /usr/bin/hermes diff --git a/ci/run-gaiad.sh b/ci/run-gaiad.sh new file mode 100755 index 0000000000..78ac334b64 --- /dev/null +++ b/ci/run-gaiad.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +gaiad start --home=/chain/gaia --grpc.address=$CHAIN_ID:9090 --pruning=nothing --log_level error 2>&1 | tee /chain/gaia/gaiad.log \ No newline at end of file diff --git a/ci/simple_config.toml b/ci/simple_config.toml index 713e0c3035..fd4736f55f 100644 --- a/ci/simple_config.toml +++ b/ci/simple_config.toml @@ -1,8 +1,14 @@ [global] strategy = 'all' -log_level = 'info' +log_level = 'trace' +filter = false clear_packets_interval = 100 +[telemetry] +enabled = false +host = '127.0.0.1' +port = 3001 + [[chains]] id = 'ibc-0' rpc_addr = 'http://ibc-0:26657' @@ -12,10 +18,13 @@ rpc_timeout = '10s' account_prefix = 'cosmos' key_name = 'testkey' store_prefix = 'ibc' -max_gas = 400000 +max_gas = 3000000 +max_msg_num = 30 +max_tx_size = 2097152 gas_price = { price = 0.001, denom = 'stake' } clock_drift = '5s' trusting_period = '14days' +trust_threshold = { numerator = '1', denominator = '3' } [[chains]] id = 'ibc-1' @@ -26,7 +35,10 @@ rpc_timeout = '10s' account_prefix = 'cosmos' key_name = 'testkey' store_prefix = 'ibc' -max_gas = 400000 +max_gas = 3000000 +max_msg_num = 30 +max_tx_size = 2097152 gas_price = { price = 0.001, denom = 'stake' } clock_drift = '5s' trusting_period = '14days' +trust_threshold = { numerator = '1', denominator = '3' } \ No newline at end of file diff --git a/relayer/src/chain/cosmos/compatibility.rs b/relayer/src/chain/cosmos/compatibility.rs index 5e336bddcf..1e77778e02 100644 --- a/relayer/src/chain/cosmos/compatibility.rs +++ b/relayer/src/chain/cosmos/compatibility.rs @@ -23,7 +23,7 @@ const SDK_MODULE_NAME: &str = "cosmos/cosmos-sdk"; /// # Note: Should be consistent with [features] guide page. /// /// [features]: https://hermes.informal.systems/features.html -const SDK_MODULE_VERSION_REQ: &str = ">=0.41.3, <=0.42.6"; +const SDK_MODULE_VERSION_REQ: &str = ">=0.41.3, <=0.42.8"; /// Helper struct to capture all the reported information of an /// IBC application, e.g., `gaiad`.