-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env
73 lines (58 loc) · 3.53 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# gaiad v9.0.3 (latest) requires go1.18 but has been updated to go1.20 in a recent commit
# neutron v1.0.0-rc1 requires go1.20
# staking denom is `icsstake`, consumer denom & bech32 prefix needs to be set in config because we can't be sure about consumer chain genesis structure
# hermes config must be pre-defined in config/hermes_config.toml
# set number of validator vm instances for each chain (beware, because we're running two chains this results in the double number of instances)
NUM_VALIDATORS=2
# dtermines wether the generated files and logs are deleted before running tests
CLEAR_FILES_ON_START=true
# determines wether the virtual machines are shut down after finishing tests. If you want to continue interact with the nodes, use "false"
CLEANUP_ON_FINISH=false
# provider-chain configuration
PROVIDER_REPO=https://github.com/cosmos/gaia
PROVIDER_VERSION=v21.0.0
PROVIDER_APP=gaiad
PROVIDER_HOME=/home/vagrant/.gaia
PROVIDER_GO_SOURCE=https://go.dev/dl/go1.21.9.linux-amd64.tar.gz
# consumer-chain configuration
CONSUMER_REPO=https://github.com/your_organization/your_repo
CONSUMER_VERSION=target_tag_or_branch
CONSUMER_APP=consumerd
CONSUMER_HOME=/home/vagrant/.consumer
CONSUMER_GO_SOURCE=https://go.dev/dl/go1.21.9.linux-amd64.tar.gz
CONSUMER_FEE_DENOM=udenom
CONSUMER_BECH32_PREFIX=chain_prefix
# ICS consumer chain setup for quick simulation
# CONSUMER_ICS_TYPE available options are: rs|pss (rs defaults to pss top-95)
# for PSS chains the CONSUMER_TOPN_VALUE defines the type of the chain
# TOP-N chain: the CONSUMER_TOPN_VALUE percentage of voting power that is opted in
# OPT-IN chain: the CONSUMER_TOPN_VALUE is set to 0, opting in is fully optional
# Only applicable if PERMISSIONLESS is set to false
CONSUMER_ICS_TYPE=pss
CONSUMER_TOPN_VALUE=80
# Import custom module state:
# Add module state as json file to files/user/module_state/module_name.json
# Top level key needs to be module name, e.g. { "module_name": {} }
# the log level of the chain binaries can be specified, available options are: trace|debug|info|warn|error|fatal|panic
CHAIN_LOG_LEVEL="info"
# Option to launch the consumer chain permissionless as opposed to via a gov proposal
PERMISSIONLESS=true
# If you want to test key assignment, set this to true.
# Otherwise, the private validator key from the provider chain will be used when the chain transitions to a consumer chain
KEY_ASSIGNMENT=false
# If you want to test jailing on the provider chain, set this to true
# Only set this to true if you are using 3 or more validators, otherwise the chain will halt because consensus cannot be reached.
JAILING=false
# To make the downloads on the individual virtual machines faster, it is recommended to use a caching server on the host machine
# Set this variable to true if you want to use the caching server.
# Squid caching server needs to be installed and running on your host machine, a sample config file is provided in the config directory.
CACHE_SERVER=true
# to test your own raw_genesis provide: /files/user/genesis.json
# CONSUMER_GENESIS_SOURCE=https://raw.githubusercontent.com/elys-network/elys/main/chain/genesis.json
# Proposal source
# either: fetch proposal from provider chain (use rest endpoint),
# or to test your own proposal leave this empty and provide: ./proposal.json
# or leave empty for quick simulation
# ORIG_PROP_SOURCE=https://rest.cosmos.directory/cosmoshub/cosmos/gov/v1/proposals/792
# leave empty to build latest hermes version locally
HERMES_SOURCE=https://github.com/informalsystems/hermes/releases/download/v1.8.2/hermes-v1.8.2-x86_64-unknown-linux-gnu.tar.gz