mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-13 03:25:20 +00:00
614d4e40fe
* Update cometbft, cosmos, ethermint, and ibc-go * Replace github.com/tendermint/tendermint by github.com/cometbft/cometbft * Replace github.com/tendermint/tm-db by github.com/cometbft/cometbft-db * Replace gogo/protobuf with cosmos/gogoproto & simapp replacement * Replace cosmos-sdk/simapp/helpers with cosmos-sdk/testutil/sims * Remove no longer used simulations * Replace ibchost with ibcexported See https://github.com/cosmos/ibc-go/blob/v7.2.2/docs/migrations/v6-to-v7.md#ibc-module-constants * Add new consensus params keeper * Add consensus keeper to blockers * Fix keeper and module issues in app.go * Add IsSendEnabledCoins and update SetParams interface changes * Fix protobuf build for cosmos 47 (#1800) * fix cp errors by using -f; fix lint by only linting our proto dir; and use proofs.proto directly from ics23 for ibc-go v7 * run proto-all; commit updated third party deps and swagger changes * regenerate proto files * use correct gocosmos build plugin for buf * re-gen all protobuf files to update paths for new gocosmos plugin * update protoc and buf to latest versions * fix staking keeper issues in app.go * update tally handler for gov changes * chain id fix and flag fixes * update deps for cometbft 47.7 upgrade * remove all module legacy queriers * update stakingKeeper to pointer * Replace ModuleCdc from govv1beta1 to govcodec * remove simulations * abci.LastCommitInfo → abci.CommitInfo * Remove unused code in keys.go * simapp.MakeTestEncodingConfig -> moduletestutil.MakeTestEncodingConfi * Fix chain id issues in tests * Fix remaining unit test issues * Update changelog for upgrade * Fix e2e tests using updated kvtool * Update protonet to v47 compatible genesis * Bump cometbft-db to v0.9.1-kava.1 * Update kvtool * Remove extra changelog * Fix merged rocksdb issues * go mod cleanup * Bump cometbft-db to v9 and go to 1.21 * Bump rocksdb version to v8.10.0 * Update kvtool to latest version * Update gin to v1.9.0 * Use ibctm.ModuleName in app_test * Fallback to genesis chain id instead of client toml * Remove all simulations * Fix cdp migrations issue with v47 * Update dependencies to correct tags --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
39 lines
2.3 KiB
Bash
39 lines
2.3 KiB
Bash
# E2E_KAVA_FUNDED_ACCOUNT_MNEMONIC is for a funded account used to intialize all new testing accounts.
|
|
# Should be funded with KAVA and have an ERC20 balance
|
|
E2E_KAVA_FUNDED_ACCOUNT_MNEMONIC='tent fitness boat among census primary pipe nose dream glance cave turtle electric fabric jacket shaft easy myself genuine this sibling pulse word unfold'
|
|
|
|
# E2E_RUN_KVTOOL_NETWORKS is the only currently supported option.
|
|
# It triggers tests to be run against local networks spun up with kvtool.
|
|
E2E_RUN_KVTOOL_NETWORKS=true
|
|
|
|
# E2E_KVTOOL_KAVA_CONFIG_TEMPLATE is the kvtool template used to start the chain. See the `kava.configTemplate` flag in kvtool.
|
|
# Note that the config tempalte must support overriding the docker image tag via the KAVA_TAG variable.
|
|
E2E_KVTOOL_KAVA_CONFIG_TEMPLATE="v0.26"
|
|
|
|
# E2E_INCLUDE_IBC_TESTS when true will start a 2nd chain & open an IBC channel. It will enable all IBC tests.
|
|
E2E_INCLUDE_IBC_TESTS=true
|
|
|
|
# E2E_SKIP_SHUTDOWN when true will keep the networks running after tests complete (pass or fail)
|
|
# This is useful for debugging chain state when writing tests.
|
|
E2E_SKIP_SHUTDOWN=false
|
|
|
|
# The following variables should be defined to run an upgrade.
|
|
# E2E_INCLUDE_AUTOMATED_UPGRADE when true enables the automated upgrade & corresponding tests in the suite.
|
|
E2E_INCLUDE_AUTOMATED_UPGRADE=false
|
|
# E2E_KAVA_UPGRADE_NAME is the name of the upgrade that must be in the current local image.
|
|
E2E_KAVA_UPGRADE_NAME=
|
|
# E2E_KAVA_UPGRADE_HEIGHT is the height at which the upgrade will be applied.
|
|
# If IBC tests are enabled this should be >30. Otherwise, this should be >10.
|
|
E2E_KAVA_UPGRADE_HEIGHT=
|
|
# E2E_KAVA_UPGRADE_BASE_IMAGE_TAG is the tag of the docker image the chain should upgrade from.
|
|
E2E_KAVA_UPGRADE_BASE_IMAGE_TAG=
|
|
|
|
# E2E_KAVA_ERC20_ADDRESS is the address of a pre-deployed ERC20 token with the following properties:
|
|
# - the E2E_KAVA_FUNDED_ACCOUNT_MNEMONIC has nonzero balance
|
|
# - the ERC20 must be enabled via x/evmutil params for conversion to sdk.Coin
|
|
# - the corresponsing sdk.Coin must be supported as a cdp collateral type (w/ valid pricefeed)
|
|
# - the evmutil params must support conversion & deposits to mint in eip712 messages
|
|
#
|
|
# These requirements are verified on test startup in ./testutil/init_evm.go
|
|
E2E_KAVA_ERC20_ADDRESS=0xeA7100edA2f805356291B0E55DaD448599a72C6d
|