Skip to content

Commit

Permalink
Restore .env file to original local e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Oct 23, 2023
1 parent 090580f commit bdc6c75
Showing 1 changed file with 32 additions and 16 deletions.
48 changes: 32 additions & 16 deletions tests/e2e/.env
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
# E2E_KAVA_FUNDED_ACCOUNT_MNEMONIC is for a funded account used to initialize all new testing accounts.
# 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='rookie collect tomato door disease champion drum jazz episode critic city giant regular guitar pass estate just obscure inch solid door boy bacon entire'
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_KAVA_UPGRADE_HEIGHT=6857732
# 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_RUN_KVTOOL_NETWORKS must be false to trigger run on live network
E2E_RUN_KVTOOL_NETWORKS=false
# 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="master"

# Configure the endpoints for connecting to the running network here.
E2E_KAVA_RPC_URL='https://rpc.mirrornet.production.kava.io:443'
E2E_KAVA_GRPC_URL='https://grpc.mirrornet.production.kava.io:443'
E2E_KAVA_EVM_RPC_URL='https://evm.mirrornet.production.kava.io:443'

# E2E_INCLUDE_IBC_TESTS is not currently supported for running tests against a live network.
# 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=false

# E2E_KAVA_ERC20_ADDRESS is the address of a pre-deployed ERC20 token.
# The E2E_KAVA_FUNDED_ACCOUNT_MNEMONIC account must have a balance.
# The ERC20 must be enabled via x/evmutil params for conversion to sdk.Coin.
# The corresponding sdk.Coin must be a supported vault in x/earn.
E2E_KAVA_ERC20_ADDRESS=0x919c1c267bc06a7039e03fcc2ef738525769109c
# 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=true
# E2E_KAVA_UPGRADE_NAME is the name of the upgrade that must be in the current local image.
E2E_KAVA_UPGRADE_NAME=v0.25.0-testing
# 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=15
# E2E_KAVA_UPGRADE_BASE_IMAGE_TAG is the tag of the docker image the chain should upgrade from.
E2E_KAVA_UPGRADE_BASE_IMAGE_TAG=v0.24.0

# 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

0 comments on commit bdc6c75

Please sign in to comment.