diff --git a/.changelog/unreleased/features/1986-gaia-e2e-tests.md b/.changelog/unreleased/features/1986-gaia-e2e-tests.md new file mode 100644 index 0000000000..4b3fef7acf --- /dev/null +++ b/.changelog/unreleased/features/1986-gaia-e2e-tests.md @@ -0,0 +1,2 @@ +- Replaced gaia v5 with v7 in E2E tests. + ([#1986](https://github.com/informalsystems/ibc-rs/issues/1986)) \ No newline at end of file diff --git a/.github/workflows/e2e-gaia-current-release.yaml b/.github/workflows/e2e-gaia-current-release.yaml index 4e3c5b95ee..398e1c30c9 100644 --- a/.github/workflows/e2e-gaia-current-release.yaml +++ b/.github/workflows/e2e-gaia-current-release.yaml @@ -1,4 +1,4 @@ -name: End to End testing (Gaia - v5.0.8) +name: End to End testing (Gaia - v7.0.1) on: pull_request: paths: @@ -56,4 +56,5 @@ jobs: - name: Start chains and relayer run: docker-compose -f ci/docker-compose-gaia-current.yml up -d ibc-0 ibc-1 relayer - name: Run relayer workflow + continue-on-error: false run: docker exec relayer /bin/sh -c /relayer/e2e.sh diff --git a/.github/workflows/e2e-gaia-future-release.yaml b/.github/workflows/e2e-gaia-legacy-release.yaml similarity index 87% rename from .github/workflows/e2e-gaia-future-release.yaml rename to .github/workflows/e2e-gaia-legacy-release.yaml index 429410dd29..f128d65e57 100644 --- a/.github/workflows/e2e-gaia-future-release.yaml +++ b/.github/workflows/e2e-gaia-legacy-release.yaml @@ -37,7 +37,7 @@ env: RUSTUP_MAX_RETRIES: 10 jobs: - test-end-to-end-future-gaia: + test-end-to-end-current-gaia: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 @@ -52,9 +52,8 @@ jobs: args: --workspace - run: cp ./target/debug/hermes . - name: Build relayer image - run: docker-compose -f ci/docker-compose-gaia-future.yml build relayer + run: docker-compose -f ci/docker-compose-gaia-legacy.yml build relayer - name: Start chains and relayer - run: docker-compose -f ci/docker-compose-gaia-future.yml up -d ibc-0 ibc-1 relayer + run: docker-compose -f ci/docker-compose-gaia-legacy.yml up -d ibc-0 ibc-1 relayer - name: Run relayer workflow - continue-on-error: false run: docker exec relayer /bin/sh -c /relayer/e2e.sh diff --git a/ci/README.md b/ci/README.md index 93834314a2..087686ece8 100644 --- a/ci/README.md +++ b/ci/README.md @@ -21,41 +21,48 @@ Follow these steps to run the e2e test locally: __Note__: This assumes you are running this the first time, if not, please ensure you follow the steps to [clean up the containers](#cleaning-up) before running it again. -1. Clone the `ibc-rs` repo +1. Clone the `ibc-rs` repo. - -2. Go into the repository folder +2. Go into the repository folder: `cd ibc-rs` +3. Build the current up-to-date relayer container image. Make sure you have a + copy of the `hermes` binary in the root of the repo, as the docker script + expects this. If you don't, you can run `cp ./target/debug/hermes .`. This + command might take a few minutes since it will do a fresh compile and build + of all modules: -3. Build the relayer container image (this might take a few minutes since it will do a fresh compile and build of all modules) - - `docker-compose -f ci/docker-compose.yml build relayer` + `docker-compose -f ci/docker-compose-gaia-current.yml build relayer` +> Note: If you're looking to test on a legacy version of gaia, run: +> `docker-compose -f ci/docker-compose-gaia-legacy.yml build relayer`. +> You'll use the `docker-compose-gaia-legacy.yml` configuration instead of +> `docker-compose-gaia-current.yml` in all cases. 4. Run all the containers (two containers, one for each chain and one for the relayer) - `docker-compose -f ci/docker-compose.yml up -d ibc-0 ibc-1 relayer` + `docker-compose -f ci/docker-compose-gaia-current.yml up -d ibc-0 ibc-1 relayer` - If everything is successful you should see a message saying: + If everything is successful you should see among the output something + similar to this: ```shell - Creating ibc-1 ... done - Creating ibc-0 ... done - Creating relayer ... done + Network ci_relaynet Created + Container ibc-1 Started + Container ibc-0 Started + Container relayer Started ``` If you want to ensure they are all running properly you can use the command: - `docker-compose -f ci/docker-compose.yml ps` + `docker-compose -f ci/docker-compose-gaia-current.yml ps` - You should see the message below. Please ensure all containers are in a `Up` state + You should see the message below. Please ensure all containers are in a `running` state. ```shell - Name Command State Ports - -------------------------------------------------------- - ibc-0 gaiad start --home=/chain ... Up - ibc-1 gaiad start --home=/chain ... Up - relayer /bin/sh Up + + ibc-0 "/chain/gaia/run-gaia..." ibc-0 running + ibc-1 "/chain/gaia/run-gaia..." ibc-1 running + relayer "/bin/sh" relayer running ``` __Note__: If this is the first time you're running this command, the `informaldev/ibc-0:[RELEASE TAG]` and `informaldev/ibc-1:[RELEASE TAG]` container images will be pulled from the Docker Hub. For instructions on how to update these images in Docker Hub please see the [upgrading the release](#upgrading-chains) section. @@ -154,18 +161,15 @@ Jan 21 18:46:58.324 INFO relayer::event::monitor: running listener chain.id=ibc In order to clear up the testing environment and stop the containers you can run the command below -`docker-compose -f ci/docker-compose.yml down` +`docker-compose -f ci/docker-compose-gaia-current.yml down` If the command executes successfully you should see the message below: ```shell -Stopping relayer ... done -Stopping ibc-0 ... done -Stopping ibc-1 ... done -Removing relayer ... done -Removing ibc-0 ... done -Removing ibc-1 ... done -Removing network ibc-rs_relaynet +Container relayer Removed +Container ibc-1 Removed +Container ibc-0 Removed +Network ci_relaynet Removed ``` ### [Upgrading the gaia chains release and generating new container images](#upgrading-chains) @@ -173,7 +177,10 @@ 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 +> You can check by running `gaiad version` in your machine. +> +> If you need to upgrade your local `gaiad` binary, you can follow the steps +> listed in the Cosmos Hub documentation on [installing the binary](https://hub.cosmos.network/main/getting-started/installation.html). If you need to generate configuration files for a new gaia release and new containers, please follow the steps below: @@ -198,13 +205,13 @@ __Note__: This will generate the files for the chains in the `/ci/chains/gaia` f 5. Update the release for Docker Compose. If this new release should be the default release for running the end to end (e2e) test you need to update the release version in the `docker-compose.yml` file in the `ci` folder of the repository. Open the file and change the release version in all the places required (image name and RELEASE variables. For example, if current release is `v4.0.0` and the new one is `v5.0.0` just do a find and replace with these two values. - + Change the version in the image for ibc-0 and ibc-1 services: - + ``` image: "informaldev/ibc-0:v4.0.0" ``` - + And in the relayer service: ``` @@ -214,9 +221,9 @@ And in the relayer service: 6. Update the CI workflow -There are currently two CI workflows, for running the E2E tests against two versions of gaiad: - - current release: `.github\workflows\e2e-gaia-current-release.yaml`, and - - future release: `.github\workflows\e2e-gaia-future-release.yaml`. +There are currently two CI workflows, for running the E2E tests against two versions of gaiad: + - legacy release: `.github\workflows\e2e-gaia-legacy-release.yaml`, and + - current release: `.github\workflows\e2e-gaia-current-release.yaml`. Depending on which of the two setups you have upgraded at the prior steps, change the `name` key in the corresponding workflow file to match with the version of the upgraded gaia used, e.g.: diff --git a/ci/build-chains.sh b/ci/build-chains.sh index d705e1084b..2ec002b273 100755 --- a/ci/build-chains.sh +++ b/ci/build-chains.sh @@ -4,7 +4,7 @@ ## Instead of blindly running this code, read it line by line and understand the dependecies and tasks. ## Prerequisites: Log into Docker Hub set -eou pipefail -GAIA_BRANCH="stargate-4" # Requires a version with the `--keyring-backend` option. v2.1 and above. +GAIA_BRANCH="v7.0.1" # Requires a version with the `--keyring-backend` option. v2.1 and above. echo "*** Requirements" which git && which go && which make && which sed && which jq && which docker diff --git a/ci/build-ibc-chains.sh b/ci/build-ibc-chains.sh index 71aedf4b74..0fbcbde456 100755 --- a/ci/build-ibc-chains.sh +++ b/ci/build-ibc-chains.sh @@ -13,7 +13,7 @@ set -eou pipefail # GAIA_BRANCH="v5.0.8" # Requires a version with the `--keyring-backend` option. v2.1 and above. # For future gaia use this -GAIA_BRANCH="v6.0.0" # Requires a version with the `--keyring-backend` option. v2.1 and above. +GAIA_BRANCH="v7.0.1" # 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 @@ -72,8 +72,8 @@ echo "*** Requirements" which docker echo "*** Create Docker image and upload to Docker Hub" -docker build --build-arg CHAIN=gaia --build-arg RELEASE=$GAIA_BRANCH --build-arg NAME=ibc-0 -f --no-cache -t informaldev/ibc-0:$GAIA_BRANCH -f "$BASE_DIR/gaia.Dockerfile" . -docker build --build-arg CHAIN=gaia --build-arg RELEASE=$GAIA_BRANCH --build-arg NAME=ibc-1 -f --no-cache -t informaldev/ibc-1:$GAIA_BRANCH -f "$BASE_DIR/gaia.Dockerfile" . +docker build --build-arg CHAIN=gaia --build-arg RELEASE=$GAIA_BRANCH --build-arg NAME=ibc-0 --no-cache -t informaldev/ibc-0:$GAIA_BRANCH -f "$BASE_DIR/gaia.Dockerfile" . +docker build --build-arg CHAIN=gaia --build-arg RELEASE=$GAIA_BRANCH --build-arg NAME=ibc-1 --no-cache -t informaldev/ibc-1:$GAIA_BRANCH -f "$BASE_DIR/gaia.Dockerfile" . read -p "Press ANY KEY to push image to Docker Hub, or CTRL-C to cancel. " dontcare docker push informaldev/ibc-0:$GAIA_BRANCH diff --git a/ci/chains/gaia/v7.0.1/ibc-0/config/addrbook.json b/ci/chains/gaia/v7.0.1/ibc-0/config/addrbook.json new file mode 100644 index 0000000000..06fb719cd9 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/config/addrbook.json @@ -0,0 +1,4 @@ +{ + "key": "f79fd5952365514d9426b513", + "addrs": [] +} \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/config/app.toml b/ci/chains/gaia/v7.0.1/ibc-0/config/app.toml new file mode 100644 index 0000000000..7585d6e7ca --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/config/app.toml @@ -0,0 +1,196 @@ +# 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 and previous 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 = [] + +# IavlCacheSize set the size of the iavl tree cache. +# Default cache size is 50mb. +iavl-cache-size = 781250 + +############################################################################### +### 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 + +############################################################################### +### Rosetta Configuration ### +############################################################################### + +[rosetta] + +# Enable defines if the Rosetta API server should be enabled. +enable = false + +# Address defines the Rosetta API server to listen on. +address = ":8080" + +# Network defines the name of the blockchain that will be returned by Rosetta. +blockchain = "app" + +# Network defines the name of the network that will be returned by Rosetta. +network = "network" + +# Retries defines the number of retries when connecting to the node before failing. +retries = 3 + +# Offline defines if Rosetta server should run in offline mode. +offline = 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" + +############################################################################### +### 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. +enable = false + +# Address defines the gRPC-web server address to bind to. +address = "0.0.0.0:9091" + +# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk). +enable-unsafe-cors = false + +############################################################################### +### 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 = 1000 + +# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). +snapshot-keep-recent = 10 diff --git a/ci/chains/gaia/v7.0.1/ibc-0/config/client.toml b/ci/chains/gaia/v7.0.1/ibc-0/config/client.toml new file mode 100644 index 0000000000..222695a3f8 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/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/v7.0.1/ibc-0/config/config.toml b/ci/chains/gaia/v7.0.1/ibc-0/config/config.toml new file mode 100644 index 0000000000..473abd0295 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/config/config.toml @@ -0,0 +1,428 @@ +# 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 + +# 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 behaviour. +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 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. 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 = "" + +# 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/v7.0.1/ibc-0/config/genesis.json b/ci/chains/gaia/v7.0.1/ibc-0/config/genesis.json new file mode 100644 index 0000000000..70889fa4a4 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/config/genesis.json @@ -0,0 +1,375 @@ +{ + "genesis_time": "2022-05-06T10:04:49.897046Z", + "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": "cosmos16njyvav3vw3pdwqp9r3hrn9s46gam669pd09g9", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "cosmos1zj5weejyt0phez2uml5d4qpc2q0xvlrs47wc6c", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "cosmos1sphll46wcyjw46wsfpf5qgnsjhm826gguh4rcw", + "pub_key": null, + "account_number": "0", + "sequence": "0" + } + ] + }, + "authz": { + "authorization": [] + }, + "bank": { + "params": { + "send_enabled": [], + "default_send_enabled": true + }, + "balances": [ + { + "address": "cosmos1zj5weejyt0phez2uml5d4qpc2q0xvlrs47wc6c", + "coins": [ + { + "denom": "samoleans", + "amount": "100000000000" + }, + { + "denom": "stake", + "amount": "100000000000" + } + ] + }, + { + "address": "cosmos1sphll46wcyjw46wsfpf5qgnsjhm826gguh4rcw", + "coins": [ + { + "denom": "stake", + "amount": "100000000000" + } + ] + }, + { + "address": "cosmos16njyvav3vw3pdwqp9r3hrn9s46gam669pd09g9", + "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": [] + }, + "feegrant": { + "allowances": [] + }, + "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": "cosmos1sphll46wcyjw46wsfpf5qgnsjhm826gguh4rcw", + "validator_address": "cosmosvaloper1sphll46wcyjw46wsfpf5qgnsjhm826ggerpk5a", + "pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "DjvU3nA6MHikZs0esilo5NfNi7e3PpAhWtRK/HS8tEA=" + }, + "value": { + "denom": "stake", + "amount": "100000000000" + } + } + ], + "memo": "3494ad7d61f006035641dbcd204dcbdb25904c2b@192.168.1.80:26656", + "timeout_height": "0", + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [ + { + "public_key": { + "@type": "/cosmos.crypto.secp256k1.PubKey", + "key": "A9JDjNFV9GL3nqTdRRlWjOZXO4MDSqVkcFsN0Q8zsWuC" + }, + "mode_info": { + "single": { + "mode": "SIGN_MODE_DIRECT" + } + }, + "sequence": "0" + } + ], + "fee": { + "amount": [], + "gas_limit": "200000", + "payer": "", + "granter": "" + } + }, + "signatures": [ + "dZpQRC0ydRoumK+s6NQUD+mu2BLxGpsvglEbl2QRMTlIfL2F47an/4lKswZ6dv+SBzKMvAYKzSzcj59lbRVDIA==" + ] + } + ] + }, + "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", + "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": [] + } + } + }, + "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" + } + }, + "packetfowardmiddleware": { + "params": { + "fee_percentage": "0.000000000000000000" + } + }, + "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/v7.0.1/ibc-0/config/gentx/gentx-3494ad7d61f006035641dbcd204dcbdb25904c2b.json b/ci/chains/gaia/v7.0.1/ibc-0/config/gentx/gentx-3494ad7d61f006035641dbcd204dcbdb25904c2b.json new file mode 100644 index 0000000000..c6bed88969 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/config/gentx/gentx-3494ad7d61f006035641dbcd204dcbdb25904c2b.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":"cosmos1sphll46wcyjw46wsfpf5qgnsjhm826gguh4rcw","validator_address":"cosmosvaloper1sphll46wcyjw46wsfpf5qgnsjhm826ggerpk5a","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"DjvU3nA6MHikZs0esilo5NfNi7e3PpAhWtRK/HS8tEA="},"value":{"denom":"stake","amount":"100000000000"}}],"memo":"3494ad7d61f006035641dbcd204dcbdb25904c2b@192.168.1.80:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A9JDjNFV9GL3nqTdRRlWjOZXO4MDSqVkcFsN0Q8zsWuC"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["dZpQRC0ydRoumK+s6NQUD+mu2BLxGpsvglEbl2QRMTlIfL2F47an/4lKswZ6dv+SBzKMvAYKzSzcj59lbRVDIA=="]} diff --git a/ci/chains/gaia/v7.0.1/ibc-0/config/node_key.json b/ci/chains/gaia/v7.0.1/ibc-0/config/node_key.json new file mode 100644 index 0000000000..a68b2e4f43 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/config/node_key.json @@ -0,0 +1 @@ +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"IMD/3+Fiy+a+cJcCpn1YylTJhiqwCnRW7MrGJaxqxWtngftDoTFOGbEXGVsrTAUBG41JjsfjkOmLmUm2mDeYWw=="}} \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/config/priv_validator_key.json b/ci/chains/gaia/v7.0.1/ibc-0/config/priv_validator_key.json new file mode 100644 index 0000000000..1e40fbcbd1 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/config/priv_validator_key.json @@ -0,0 +1,11 @@ +{ + "address": "5C8DC809794222F5F6AE922BB7B1763397F50CC2", + "pub_key": { + "type": "tendermint/PubKeyEd25519", + "value": "DjvU3nA6MHikZs0esilo5NfNi7e3PpAhWtRK/HS8tEA=" + }, + "priv_key": { + "type": "tendermint/PrivKeyEd25519", + "value": "XOm68Zz6f0OCUw1BDUuD2bYP76mx12XBbaHaKxmimOMOO9TecDoweKRmzR6yKWjk182Lt7c+kCFa1Er8dLy0QA==" + } +} \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/14a8ece6445bc37c895cdfe8da8038501e667c70.address b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/14a8ece6445bc37c895cdfe8da8038501e667c70.address new file mode 100644 index 0000000000..a6366a58fd --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/14a8ece6445bc37c895cdfe8da8038501e667c70.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNDo1My4xODkzODQgKzAyMDAgQ0VTVCBtPSswLjA1MjcyMzU0MCIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6Im96WmhEVnBJSXZ4RTNUN0YifQ.9TuQlMEndxJpH_l9rlzqmz6_xJMRU8JL1LwuUkgdfY_WtHb75oFQqA.zegihqG91bm2Q-Wu.dXK6_FULn11-n4PxiagGZVLt1rP6agaZTjT5j4PmyVuP3Rl6jW1Vti0mdnFz_ULtj7uXZAPOwC7iSmI_0Ta1DApaxSaTJFO1J2atgg0TrVpQQY-ifjD4duD8r_PWDahxicsbw1TwEWRWwBzrCsuGsEP-2oGIiAWZuBaU4DjbyLpEKkF0UByNy1jAcIkq9uZFht-1hWKqvug00JkEzBq2Oq96xTEy6gUNI3rD5kouDY-WNgUBF5M.3sXBzzHa6KCcqr3w1bUDMw \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/806fffd74ec124eae9d0485340227095f6756908.address b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/806fffd74ec124eae9d0485340227095f6756908.address new file mode 100644 index 0000000000..f5596e8975 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/806fffd74ec124eae9d0485340227095f6756908.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNDo1MS4wMDA5MjkgKzAyMDAgQ0VTVCBtPSswLjA3MTg0NDEwMCIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IlhvM2JXdXBNSXNScEI1QXgifQ.ndlbfgx_pi8Okmvhy4kxNASy15rGXUPgn25_FTiQrIhxrSdYOiCFGQ.efoaTYk4NOoLvJei.RnHvhAgBZpn_yOES2N8HNBpcK6buXZbDbR5HuYUOVQlr9i0CCZtpij7tlJ52FuOOxjj2qf2NPAqDFq2FMWlm6h4XT_Yd_X2O1uH9EaP2Hyb-FZsXAQDDmJm7Ns6qG4CNV5qXK37z_0GrCnhYxs8en7VxESRSFQBPsKN2cCZ6_pkAENfnK8hehekQsIi7G9ltTuqWXAkl-HL2AvX_kZK4uNkSJyQEAEgCAtm763gI-pDl7v7tLmIRudhI.geHt2gy-LGm-Ukyhp4ppIg \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/d4e446759163a216b80128e371ccb0ae91ddeb45.address b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/d4e446759163a216b80128e371ccb0ae91ddeb45.address new file mode 100644 index 0000000000..17b4394e78 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/d4e446759163a216b80128e371ccb0ae91ddeb45.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNDo1Mi4wOTg4OSArMDIwMCBDRVNUIG09KzAuMDYyMzE4Njg1IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiOE8zbUYtcDI1cG9VM2FOWCJ9.d6Pd5xSMIIzL2BGSu7eZ6XmETqXW9cNbhnO4q0d_QcFonORm9QrEIw.BoBvr9OIe60yDpR-.lAStGSI2Qlwa_DycEKRwVG2ruv1xb5TA0wcF_1XMdorszAu_6n9QwDkikWWA5btcUraaCD9IjJbGpMmp2QBW6mFymwaKngTb8yr4aHkObruhQq_Kl_bB7vckmFDpOzcOBcl_ImQSrFdf-pCFaofRkyley9K7cCSUxD8aLgqy9PDjCd7GEXfIo3NW4s0njxUqpfPMrZdOOz-8ncb7Qsq9NmV3FDk08ezgf0a9L_OJnd7Wuw.3Sdzjy4E62NhjVk-2p7x_w \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/user.info b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/user.info new file mode 100644 index 0000000000..46206e6ef1 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/user.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNDo1Mi4wOTM1MjkgKzAyMDAgQ0VTVCBtPSswLjA1Njk1NzE3NiIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6ImYwMHVnS2FKMmJxV2FyVXUifQ.ErunVpmVMSz4PXguTcg-JXH653Kh0Ay8DR9LsSFbBUYjXOpB5lgr1g.0nDxh8n9F7zdzCI6.MmP_lgaMBJbm0zvwlUjzSyVSJjZlK47yEsWkTgIA_L4PjhpSRXLic5vMF1pBreuI8FGYrV_9QGa_hpZHNFct3YtCGLKz5haw2lXb9O42U-NA5xP_lqC4tBJggaK2o6LB06iE8o-nHU6WqHVNLFsodsq7M0v17p8G4WkCvTqmQeRmWd7HJBfhJBDE7P4jtPfLiw8tX8hGGsMDCGFtalYeVfOpExhPSawjPZ3T7X20dMAmdZfFSjRCm-io540jlo6MoG30oTVpml2RjeYTQO98fqfUcSSDOmdUxQnkAj1ODYlbTrnAORWYp8lPK_ZxgKjmO0DlKruGDshegmLKeXSNBRF-1DdIEO8.jpzhxNdkgpheBstdI_BoLw \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/user2.info b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/user2.info new file mode 100644 index 0000000000..8781cc1ced --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/user2.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNDo1My4xODQyMTcgKzAyMDAgQ0VTVCBtPSswLjA0NzU1NTkxMiIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6Img0VGJoNW1PaWh4Vi1xM0sifQ.ZFXGm6O4wc9k-Z4TT3d9oDnTo8tN0Jd9U64XXBjH0sQvTT-LEpqCCA.pGUBYNikHGTsV817.tsbXA6vDHeiVjoixvpusx2fbznnF34O8kPVTdO2iACNGheU9GFtqZEoC7NENSFyx9l8OlJ6rXNyuBP4G-v65qo2kHwR46vF5stIH_Vsi1uuBjxlzGdbM-i6xMA_hYiHizHTcKwFni6kLKUVm2e6tkg-pbWmekC9JG5wd65UcsbbX8onWWZimNHuI7zy18cw79oSjuOz7LcOJgyGFjLQd1eOf1WloJsqi1GCjpJtIGp60Fp0C4nBN6aQjvsZsY7KE5v6yxIW8jkKLRts0DliqrVJ45OrCBLi2xElu_xA9uUPpDklTtRE-im9uPAFY4fPGtkzZjHhlmef4GFh0j1hULBSwAHwcxp1o.ZhDB2WAdJnquIRiolF8btg \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/validator.info b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/validator.info new file mode 100644 index 0000000000..d9eda6ac5a --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/keyring-test/validator.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNDo1MC45OTQ4NDEgKzAyMDAgQ0VTVCBtPSswLjA2NTc1NTg5NyIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6ImZLZXdhNERPVVZLb3dvY0cifQ.HOh51oKn3a-uakDKp5AzitIiHc7s1USNaDsl6DoCAZVcnA65tupmGQ.bZEWLUq4BQxGWHfX.Eltt1QI7XgQ-3jz5z1jXY-PlYgKJQxET2eNwknpQpUewCjNNlLbgiIlU4EG-35XlqC4j9beUirAIC-zHuD_Knzk78N2w88CHOKnyJQp4RbaDjZIftHTCtAXm--eAH3sDYWnHm2HGvV-pPRYmsy2aP2KQtBi9npBTvzAMHKcpdqZBVwkii4KzKSiD3OkIgiukceVvp_sMCKDIv3FfoxhIeqakop5LcZCjYkUywV6ArF8uWtWGC4Huy6fR8MkEC7K2G5hSVt6RMKFBfegdKwmZ43Owm0KnUoIZglNloZr-NBcdxAQ39QIPbNS2UpjfhdSAqi5yQcTWGDwC-6myHqwYb1Thgh9Uv1S-hGU0QNW7str6rdjy.-N7Jpvj3HlD6YvRz7kljHg \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-0/user2_seed.json b/ci/chains/gaia/v7.0.1/ibc-0/user2_seed.json new file mode 100644 index 0000000000..e0e81ee9bb --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/user2_seed.json @@ -0,0 +1 @@ +{"name":"user2","type":"local","address":"cosmos1zj5weejyt0phez2uml5d4qpc2q0xvlrs47wc6c","pubkey":"{\"@type\":\"/cosmos.crypto.secp256k1.PubKey\",\"key\":\"A7T4E+QhhEj1GkBDfiHEYcJZpptfnt9hSlSZMO1DBjky\"}","mnemonic":"amateur copy funny cabin thank aerobic despair actress exist sadness reopen science deny output extend huge motion slow blouse spoon salmon hollow spawn great"} diff --git a/ci/chains/gaia/v7.0.1/ibc-0/user_seed.json b/ci/chains/gaia/v7.0.1/ibc-0/user_seed.json new file mode 100644 index 0000000000..4f732a1532 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/user_seed.json @@ -0,0 +1 @@ +{"name":"user","type":"local","address":"cosmos16njyvav3vw3pdwqp9r3hrn9s46gam669pd09g9","pubkey":"{\"@type\":\"/cosmos.crypto.secp256k1.PubKey\",\"key\":\"A/8Q8+2Evq0x+A4MmkkQI/eX1NwcmHmbRgAJTgEQSVU0\"}","mnemonic":"annual usage original ten orbit squirrel physical click hammer bomb inside bulb insane review creek record delay treat law evoke shoe cattle else certain"} diff --git a/ci/chains/gaia/v7.0.1/ibc-0/validator_seed.json b/ci/chains/gaia/v7.0.1/ibc-0/validator_seed.json new file mode 100644 index 0000000000..a2dadca940 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-0/validator_seed.json @@ -0,0 +1 @@ +{"name":"validator","type":"local","address":"cosmos1sphll46wcyjw46wsfpf5qgnsjhm826gguh4rcw","pubkey":"{\"@type\":\"/cosmos.crypto.secp256k1.PubKey\",\"key\":\"A9JDjNFV9GL3nqTdRRlWjOZXO4MDSqVkcFsN0Q8zsWuC\"}","mnemonic":"brown dress cage biology skin magnet wire spread cream rookie aspect october neutral sea core panic thrive sample grow tool isolate squirrel mesh actress"} diff --git a/ci/chains/gaia/v7.0.1/ibc-1/config/app.toml b/ci/chains/gaia/v7.0.1/ibc-1/config/app.toml new file mode 100644 index 0000000000..7585d6e7ca --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/config/app.toml @@ -0,0 +1,196 @@ +# 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 and previous 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 = [] + +# IavlCacheSize set the size of the iavl tree cache. +# Default cache size is 50mb. +iavl-cache-size = 781250 + +############################################################################### +### 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 + +############################################################################### +### Rosetta Configuration ### +############################################################################### + +[rosetta] + +# Enable defines if the Rosetta API server should be enabled. +enable = false + +# Address defines the Rosetta API server to listen on. +address = ":8080" + +# Network defines the name of the blockchain that will be returned by Rosetta. +blockchain = "app" + +# Network defines the name of the network that will be returned by Rosetta. +network = "network" + +# Retries defines the number of retries when connecting to the node before failing. +retries = 3 + +# Offline defines if Rosetta server should run in offline mode. +offline = 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" + +############################################################################### +### 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. +enable = false + +# Address defines the gRPC-web server address to bind to. +address = "0.0.0.0:9091" + +# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk). +enable-unsafe-cors = false + +############################################################################### +### 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 = 1000 + +# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). +snapshot-keep-recent = 10 diff --git a/ci/chains/gaia/v7.0.1/ibc-1/config/client.toml b/ci/chains/gaia/v7.0.1/ibc-1/config/client.toml new file mode 100644 index 0000000000..222695a3f8 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/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/v7.0.1/ibc-1/config/config.toml b/ci/chains/gaia/v7.0.1/ibc-1/config/config.toml new file mode 100644 index 0000000000..b2c4196901 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/config/config.toml @@ -0,0 +1,428 @@ +# 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 + +# 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 behaviour. +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 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. 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 = "" + +# 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/v7.0.1/ibc-1/config/genesis.json b/ci/chains/gaia/v7.0.1/ibc-1/config/genesis.json new file mode 100644 index 0000000000..1055a5a68d --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/config/genesis.json @@ -0,0 +1,375 @@ +{ + "genesis_time": "2022-05-06T10:05:03.049703Z", + "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": "cosmos16gawv9t4xf92lt98qjjzgp6wq8ed55gf49wqef", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "cosmos1m3x6hk7nkds6yquvldpsvl35n2q9cmq0fumhh6", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "cosmos12gs7gsx968sgy8fwnzf37veqj02rd6rm96u087", + "pub_key": null, + "account_number": "0", + "sequence": "0" + } + ] + }, + "authz": { + "authorization": [] + }, + "bank": { + "params": { + "send_enabled": [], + "default_send_enabled": true + }, + "balances": [ + { + "address": "cosmos12gs7gsx968sgy8fwnzf37veqj02rd6rm96u087", + "coins": [ + { + "denom": "stake", + "amount": "100000000000" + } + ] + }, + { + "address": "cosmos16gawv9t4xf92lt98qjjzgp6wq8ed55gf49wqef", + "coins": [ + { + "denom": "samoleans", + "amount": "100000000000" + }, + { + "denom": "stake", + "amount": "100000000000" + } + ] + }, + { + "address": "cosmos1m3x6hk7nkds6yquvldpsvl35n2q9cmq0fumhh6", + "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": [] + }, + "feegrant": { + "allowances": [] + }, + "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": "cosmos12gs7gsx968sgy8fwnzf37veqj02rd6rm96u087", + "validator_address": "cosmosvaloper12gs7gsx968sgy8fwnzf37veqj02rd6rmqwg6td", + "pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "RMhhlBtQSs1rDz3bVzuJarNZHNRjukKEF7r9qqCgARQ=" + }, + "value": { + "denom": "stake", + "amount": "100000000000" + } + } + ], + "memo": "56790e64fa1c26c79a5c03ae6432973f04e293cd@192.168.1.80:26656", + "timeout_height": "0", + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [ + { + "public_key": { + "@type": "/cosmos.crypto.secp256k1.PubKey", + "key": "AxsUINyw8wVnTzhmDJ3v6GBUPT7xQ+7yaf7PCm3Y2ic/" + }, + "mode_info": { + "single": { + "mode": "SIGN_MODE_DIRECT" + } + }, + "sequence": "0" + } + ], + "fee": { + "amount": [], + "gas_limit": "200000", + "payer": "", + "granter": "" + } + }, + "signatures": [ + "2MAVzXWc/buNQlM+tEM0Xxtkfv8FgF34yk0fw1B1Prt17G7AoB7cPX33GwhlvVknNtSNCg8VsTDphYocXqCDvQ==" + ] + } + ] + }, + "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", + "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": [] + } + } + }, + "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" + } + }, + "packetfowardmiddleware": { + "params": { + "fee_percentage": "0.000000000000000000" + } + }, + "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/v7.0.1/ibc-1/config/gentx/gentx-56790e64fa1c26c79a5c03ae6432973f04e293cd.json b/ci/chains/gaia/v7.0.1/ibc-1/config/gentx/gentx-56790e64fa1c26c79a5c03ae6432973f04e293cd.json new file mode 100644 index 0000000000..61d9fd7d25 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/config/gentx/gentx-56790e64fa1c26c79a5c03ae6432973f04e293cd.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":"cosmos12gs7gsx968sgy8fwnzf37veqj02rd6rm96u087","validator_address":"cosmosvaloper12gs7gsx968sgy8fwnzf37veqj02rd6rmqwg6td","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"RMhhlBtQSs1rDz3bVzuJarNZHNRjukKEF7r9qqCgARQ="},"value":{"denom":"stake","amount":"100000000000"}}],"memo":"56790e64fa1c26c79a5c03ae6432973f04e293cd@192.168.1.80:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AxsUINyw8wVnTzhmDJ3v6GBUPT7xQ+7yaf7PCm3Y2ic/"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["2MAVzXWc/buNQlM+tEM0Xxtkfv8FgF34yk0fw1B1Prt17G7AoB7cPX33GwhlvVknNtSNCg8VsTDphYocXqCDvQ=="]} diff --git a/ci/chains/gaia/v7.0.1/ibc-1/config/node_key.json b/ci/chains/gaia/v7.0.1/ibc-1/config/node_key.json new file mode 100644 index 0000000000..3daaff2931 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/config/node_key.json @@ -0,0 +1 @@ +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"c6g3gMTe4rl8L4rYw/LnIaCnYpNrXa+gG18Ob8ozBbWMh5p4zIqFZJGL2G1gkEGphTagNwScUOlI4a4DnurdEg=="}} \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-1/config/priv_validator_key.json b/ci/chains/gaia/v7.0.1/ibc-1/config/priv_validator_key.json new file mode 100644 index 0000000000..91b7267961 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/config/priv_validator_key.json @@ -0,0 +1,11 @@ +{ + "address": "39D793D7F075E3BFD3142828B88DF5B13A194B5A", + "pub_key": { + "type": "tendermint/PubKeyEd25519", + "value": "RMhhlBtQSs1rDz3bVzuJarNZHNRjukKEF7r9qqCgARQ=" + }, + "priv_key": { + "type": "tendermint/PrivKeyEd25519", + "value": "g4brql1ymthMphMQd9txX8o9FmV6cccCl7B+oRTDaUREyGGUG1BKzWsPPdtXO4lqs1kc1GO6QoQXuv2qoKABFA==" + } +} \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/5221e440c5d1e0821d2e98931f332093d436e87b.address b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/5221e440c5d1e0821d2e98931f332093d436e87b.address new file mode 100644 index 0000000000..6b44695ff3 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/5221e440c5d1e0821d2e98931f332093d436e87b.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNTowNC4xNTMyNTcgKzAyMDAgQ0VTVCBtPSswLjA2OTEyODQ2OCIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6IlNBNHEydGtDVXB4X0Y3X08ifQ.adYJ-_sAjRtuxIyeySQTySat5Zp1ZEbrVVEqfA4pse0qwwIEtHeL6g.MQDEaLhHPF4jR5QT.Cca1U5asQ8JLJ2qgeZr5I2BZd5naAgc2DEWrniEJTDvoS-uFndSrlR-edtZJLfOEDZQ34oeGLKMEvy6AqZAUYojA2Zqu85Xl87wq9IOaiZ7JRMjTDPAx9AMS9ZYDal1p53DQC40Z9enfqWO36KGvNjpWRlzh3pHVwopZWKJp4clyqXDvC1tVALQ76RxUpVF9_iHcsULI2gscNovc9HqJhC3PFNISVx_eDMahK713SffzD8XDWE7-fcpv.PepmuUZxDNqe2HNvr1E0Fw \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/d23ae61575324aafaca704a424074e01f2da5109.address b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/d23ae61575324aafaca704a424074e01f2da5109.address new file mode 100644 index 0000000000..1a727853d5 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/d23ae61575324aafaca704a424074e01f2da5109.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNTowNS4yODkyNDggKzAyMDAgQ0VTVCBtPSswLjA1MTg5NjMyNyIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6InE1UUJSSkpDQ3pDZmEtUmYifQ.rrONBnY5Aj8aT7dz0UXOGzyUQ66I1Ac2zP5PjKleSowQedk0FcdMuQ.gxMk313lDafB83M0.3iiecezUwejqiJxgO7ck6NMebrVHdmTiXhcM2So82p7Ln1z75l_oj-KpproRYYrMxr-dgxQHtld3-VgdPJpzvuKr3rdrIDi_zhMHHRzZxa1Wj8L3z3-r-npYAY1sivaRpgP8Q34_qZAjABTvE36DFbIUecORBhr-QohA4hggFszvBSHvUnzfly03QLJlTvWwtbXHDqtPISBVfoOxtzM0NZ1EYH211KZY83QYO4f6xCnZZA.vGjEm8-w40mu6EW_ii6D9g \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/dc4dabdbd3b361a2038cfb43067e349a805c6c0f.address b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/dc4dabdbd3b361a2038cfb43067e349a805c6c0f.address new file mode 100644 index 0000000000..07d547336e --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/dc4dabdbd3b361a2038cfb43067e349a805c6c0f.address @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNTowNi40MjExNSArMDIwMCBDRVNUIG09KzAuMDUwOTg1MjA0IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiZXMwemowdHJBekFIN3pheiJ9.vPUBN-P-3YbENnEEZ4oZpiQXKIdE9FuTmqy7FocumRXR47lTR2l_9g.TMUNiFS4n7qvTgYn.7eIywlD-vrfJrkahp9Kfz9xn8ShKKRAH8L-KYJRmNrfNfN0fVQC7tiEuo4tjQkYw20Umsxx_9wuEVi3xarjm4aERw-StCqp5VbOE0QQtI6Sr0Pemfpx4yVj5OvVZIpiw3ho4cDWH_kWCksnsjZMqOga8zkn4E07ZdpGiBWsdBowvK9E6mAyX2yqLLsPSvaTq2wP54eZbTfRyd5u8L3qSNzKb9fm1CvJ4O1E7vdBJD-sa_AmXf60.rQ1AfXNGhQunz5Q7LQWtpQ \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/user.info b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/user.info new file mode 100644 index 0000000000..4665ed2142 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/user.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNTowNS4yNzU5MTcgKzAyMDAgQ0VTVCBtPSswLjAzODU2NTUxMiIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6Iks5UlMxNlVXSUF5ZUxCbl8ifQ.YCQkyMtkR3SbDmhnJDA0MZi96fsLjtOz3DF1xHxglUQVbY9cMA9CdA.n4NJ4cDazjGjE80c._rusIrVHv3Ln2e7XamD9pzoC1nS1q0sOw2iAZZjA847Bp9ZglIUg32vMR4F60pQaN1xkYlOnyUDcCn9mD4H0GZCg079tyHyMIye-mhmISHnj1b6p01vzlh7C3c5vTzCVlAwZgtb3PcwNO9v-tD6DVE8NRzSnVsQeTdWrFqhwSUZuIFO5Xq-pdBhGvgm1yfwyEk7XEeUZREiQ3s8z14fapmXjHUnyvesCEBkBCfTEIjsimaltcDMkrXfF3gYxyZmWfWnFPFfj6OiPxoTRlHwejZt4sTIrrT6meWYyUndp8aAVVM2YhZU0sB1brxn-RbuZx_AXDP6bZYVOD6yPht2OjQqLtXakumk.j-3-OZISZNQ64Q4wQYYVIA \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/user2.info b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/user2.info new file mode 100644 index 0000000000..f3cb21a755 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/user2.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNTowNi40MTAzMSArMDIwMCBDRVNUIG09KzAuMDQwMTQ1NDUzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiT3VHWU5ZcHlwOENoc2RRYSJ9.J_QPFA8vaBIXZTMcvPIEzSWQriqJCukc5Cw8nXx9r2-AqilX--tvfw.kRbNuGXPwl_5LYWu.q-WqlXg_1ohgqyILJraRhcu4Zv1T06t4oYCi0WxzF_ukhCZ9LkDcpi9NGFuDwxjlmXXXrFsJFoz2naY0ppHPQg74iS7DKw8hav1rv6JW1z_kPKTKVzvej4JdWmoFFe8mJXPyDp3-8PNcyX0gndyLV20MQ1LSIjjaUMeDaYXlitLU5uAAxHHARnFf-uBIkq94-Ud_tLFWbnbgvs8bp0S5M86apksT20UqcqiqgdYQKOduwajeunm76f_PPuJGetkLfkmfceLeTjATkYe7vnDFLWNKb7vg2bCeCTH1sbaMHEgKtvkD-qzuSf0w7QAq1Vhd0oXj2i5AebPsmoDN7VmZGu_IRVfYK1vr.fdQwhvoluadIf1mIi8qYBQ \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/validator.info b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/validator.info new file mode 100644 index 0000000000..b15476ee06 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/keyring-test/validator.info @@ -0,0 +1 @@ +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMi0wNS0wNiAxMjowNTowNC4xMzUzNDcgKzAyMDAgQ0VTVCBtPSswLjA1MTIxODA5OCIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6Ik1kcGhWd2RrRl9PMEw0SXUifQ.aWwkNEtb7SToBnDyxHdNx3Aj8L2RyOSbpGTPB2ZkEryPJGFJOz-hDA.CL-kA95E4_Sv12Gx.jMgUN0U13X85kSWHvUnS5wnPTty9ZMm-8Kos3dUxMBB1XTZFwPiFbehGjUgcKDtHaH3a-FYqtzeFvNTmL93hU7O2Gg_35WLbAGXGVlxMFe_t0gHUYc7nyn7lP6sElCgY-WBruyrLFFPe7TA5IISrHQGjXaOwUTK_DTDklDus75zvTtgusGEL3_J9Y3zRiFG3oE1cp8nN7yTnEHEt2ddOh46WmWpfbWrQDOvozaRkTr67iN2xsJ2dwhzJkeVUL1OVhlVfAfS6AmCm6OJjwf6k38CyR8s6FD6eQTd3kHfi_D4rD-vsca4cHc1poRfzT7qJqASv7CysA9W8DvJv4FgffhMu0rgzE3ihx880Kl01ol8w25ev.s6QGa1w6n9013h0w6e_UGg \ No newline at end of file diff --git a/ci/chains/gaia/v7.0.1/ibc-1/user2_seed.json b/ci/chains/gaia/v7.0.1/ibc-1/user2_seed.json new file mode 100644 index 0000000000..17f84353e5 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/user2_seed.json @@ -0,0 +1 @@ +{"name":"user2","type":"local","address":"cosmos1m3x6hk7nkds6yquvldpsvl35n2q9cmq0fumhh6","pubkey":"{\"@type\":\"/cosmos.crypto.secp256k1.PubKey\",\"key\":\"A/ufAZXN5V+SzW5b8o1bRW6EHofOmvW4h2lb49uG1k9o\"}","mnemonic":"tube castle all pistol animal liar news reform imitate tennis cup onion garbage glide circle fun benefit dutch worry title garbage record charge version"} diff --git a/ci/chains/gaia/v7.0.1/ibc-1/user_seed.json b/ci/chains/gaia/v7.0.1/ibc-1/user_seed.json new file mode 100644 index 0000000000..b478d34db4 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/user_seed.json @@ -0,0 +1 @@ +{"name":"user","type":"local","address":"cosmos16gawv9t4xf92lt98qjjzgp6wq8ed55gf49wqef","pubkey":"{\"@type\":\"/cosmos.crypto.secp256k1.PubKey\",\"key\":\"AsU2Pk5VDeJ+qmzGZqTDOyl/gZPQxRk2EuA1O6WFhXmD\"}","mnemonic":"gold eight fury outdoor sword catch unique eagle monster april worry layer dismiss cheese balcony bounce tribe simple tank cave radar fitness reward hundred"} diff --git a/ci/chains/gaia/v7.0.1/ibc-1/validator_seed.json b/ci/chains/gaia/v7.0.1/ibc-1/validator_seed.json new file mode 100644 index 0000000000..1327e403f8 --- /dev/null +++ b/ci/chains/gaia/v7.0.1/ibc-1/validator_seed.json @@ -0,0 +1 @@ +{"name":"validator","type":"local","address":"cosmos12gs7gsx968sgy8fwnzf37veqj02rd6rm96u087","pubkey":"{\"@type\":\"/cosmos.crypto.secp256k1.PubKey\",\"key\":\"AxsUINyw8wVnTzhmDJ3v6GBUPT7xQ+7yaf7PCm3Y2ic/\"}","mnemonic":"expire island increase truck party border elite exit effort layer spatial scout direct grace dream dry change hill impose nation smoke snow either pioneer"} diff --git a/ci/docker-compose-gaia-current.yml b/ci/docker-compose-gaia-current.yml index 105086e78b..d162c6fa3c 100644 --- a/ci/docker-compose-gaia-current.yml +++ b/ci/docker-compose-gaia-current.yml @@ -4,7 +4,7 @@ services: ibc-0: container_name: ibc-0 - image: "informaldev/ibc-0:v5.0.8" + image: "informaldev/ibc-0:v7.0.1" stdin_open: true tty: true entrypoint: "/chain/gaia/run-gaiad.sh" @@ -16,7 +16,7 @@ services: ibc-1: container_name: ibc-1 - image: "informaldev/ibc-1:v5.0.8" + image: "informaldev/ibc-1:v7.0.1" stdin_open: true tty: true entrypoint: "/chain/gaia/run-gaiad.sh" @@ -37,7 +37,7 @@ services: context: ../ dockerfile: ci/relayer.Dockerfile args: - RELEASE: v5.0.8 + RELEASE: v7.0.1 environment: - CHAIN_A=ibc-0 - CHAIN_A_HOME=/data/ibc-0 @@ -47,7 +47,7 @@ services: - CHAIN_B_PORT=26657 - CONFIG=simple_config.toml - RELAYER_DIR=/relayer - - RELEASE=v5.0.8 + - RELEASE=v7.0.1 networks: relaynet: ipv4_address: 172.25.0.12 diff --git a/ci/docker-compose-gaia-future.yml b/ci/docker-compose-gaia-legacy.yml similarity index 100% rename from ci/docker-compose-gaia-future.yml rename to ci/docker-compose-gaia-legacy.yml diff --git a/ci/gaia.Dockerfile b/ci/gaia.Dockerfile index c5253916f7..fce8641dc8 100644 --- a/ci/gaia.Dockerfile +++ b/ci/gaia.Dockerfile @@ -20,7 +20,6 @@ RUN git checkout $RELEASE # Install minimum necessary dependencies, build Cosmos SDK, remove packages RUN apk add --no-cache $PACKAGES && \ - make tools && \ make install # Show version diff --git a/relayer-cli/src/commands/tx/upgrade.rs b/relayer-cli/src/commands/tx/upgrade.rs index 14e66ac571..da2fa15139 100644 --- a/relayer-cli/src/commands/tx/upgrade.rs +++ b/relayer-cli/src/commands/tx/upgrade.rs @@ -69,13 +69,6 @@ pub struct TxIbcUpgradeChainCmd { help = "denomination for the deposit (default: 'stake')" )] denom: Option, - - #[clap( - short = 'l', - long, - help = "use legacy upgrade proposal constructs (for chains built with Cosmos SDK < v0.43.0)" - )] - legacy: bool, } impl TxIbcUpgradeChainCmd { @@ -110,7 +103,6 @@ impl TxIbcUpgradeChainCmd { .upgrade_name .clone() .unwrap_or_else(|| "plan".to_string()), - legacy: self.legacy, }; Ok(opts) diff --git a/relayer/src/upgrade_chain.rs b/relayer/src/upgrade_chain.rs index d38b92a884..2ba2abb577 100644 --- a/relayer/src/upgrade_chain.rs +++ b/relayer/src/upgrade_chain.rs @@ -14,7 +14,7 @@ use ibc::core::ics02_client::height::Height; use ibc::core::ics24_host::identifier::{ChainId, ClientId}; use ibc::downcast; use ibc_proto::cosmos::gov::v1beta1::MsgSubmitProposal; -use ibc_proto::cosmos::upgrade::v1beta1::{Plan, SoftwareUpgradeProposal}; +use ibc_proto::cosmos::upgrade::v1beta1::Plan; use ibc_proto::google::protobuf::Any; use ibc_proto::ibc::core::client::v1::UpgradeProposal; @@ -62,7 +62,6 @@ pub struct UpgradePlanOptions { pub upgraded_chain_id: ChainId, pub upgraded_unbonding_period: Option, pub upgrade_plan_name: String, - pub legacy: bool, } pub fn build_and_send_ibc_upgrade_proposal( @@ -107,11 +106,7 @@ pub fn build_and_send_ibc_upgrade_proposal( }), }; - let proposal = if opts.legacy { - Proposal::Legacy(proposal.into()) - } else { - Proposal::Default(proposal) - }; + let proposal = Proposal::Default(proposal); let mut buf_proposal = Vec::new(); proposal.encode(&mut buf_proposal); @@ -155,14 +150,12 @@ pub fn build_and_send_ibc_upgrade_proposal( enum Proposal { Default(UpgradeProposal), - Legacy(LegacyProposal), } impl Proposal { fn encode(&self, buf: &mut impl BufMut) { match self { Proposal::Default(p) => prost::Message::encode(p, buf), - Proposal::Legacy(p) => prost::Message::encode(&p.0, buf), } .unwrap() } @@ -170,33 +163,7 @@ impl Proposal { fn type_url(&self) -> String { match self { Proposal::Default(_) => "/ibc.core.client.v1.UpgradeProposal", - Proposal::Legacy(_) => "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal", } .to_owned() } } - -struct LegacyProposal(SoftwareUpgradeProposal); - -impl From for LegacyProposal { - fn from(v: UpgradeProposal) -> Self { - let plan = { - if let Some(plan) = v.plan { - Some(Plan { - name: plan.name, - height: plan.height, - info: plan.info, - time: None, - upgraded_client_state: v.upgraded_client_state, - }) - } else { - None - } - }; - Self(SoftwareUpgradeProposal { - title: v.title, - description: v.description, - plan, - }) - } -}