Status: PENDING
The dungeontest-1
chain is launched to test the dungeon chain.
- Chain-ID:
dungeontest-1
- denom:
udgn
- Spawn time:
2024-08-28T13:30:00.000000Z
- Stop time:
2024-08-30T13:30:00.000000Z
- GitHub repo: Crypto-Dungeon/dungeonchain
- Commit:
f2325ed0e0d341f4280992ac3cbc61b9a967d578
(v0.1.0) - Genesis file with CCV state: genesis.json.gz
jq -S -c -M '.' genesis.json | sha256sum
309c4878f29866f1f58531d882a1a3a79980f1d24196fe679c77a24c9b1eab8a -
- Reference binary:
https://github.com/Crypto-Dungeon/dungeonchain/raw/main/network/dungeontest-1/dungeond-0.1.0-amd64.tar.gz
tar -xvzf dungeond-0.1.0-amd64.tar.gz
- Binary sha256sum:
e44429f3f67c2c57ced7be208092264aed712e6d7b4140e03878552d50dbb2e8
- Genesis file without CCV state:
genesis.json.tar.gz
tar -xvzf genesis.json.tar.gz "./network/dungeontest-1/genesis.json" --one-top-level=genesis.json --strip-components 4
- SHA256 for genesis file without CCV state:
8ee776b221f6c2440079ed5c5bb440f68741aa31988e00babcfc93ae965adb98
The following items will be included in the consumer addition proposal:
- Genesis file hash
- The SHA256 is used to verify against the genesis file (without CCV state) that the proposer has made available for review.
- The
genesis.json.tar.gz
file cannot be used to run the chain: it must be updated with the CCV (Cross Chain Validation) state after the spawn time is reached. - The genesis file includes funds for a relayer and a faucet account, and
signed_blocks_window
has been set to20000
.
- Binary hash
- The
dungeond-linux-amd64
binary is only provided to verify the SHA256. It was built with commitf2325ed0e0d341f4280992ac3cbc61b9a967d578
. You can generate the binary following the build instructions in that repo or using one of the scripts provided here.
- The
- Spawn time
- Even if a proposal passes, the CCV state will not be available from the provider chain until after the spawn time is reached.
Persistent nodes:
9c9affab7652c9c5a2898d0dd244840c90bc8ba9@dungeon-cherry.ics-testnet.polypore.xyz:26656
4c9fe209358b0821fe48be7e449a3ed02af7b740@dungeon.ics-testnet.polypore.xyz:26656
Connections and channels will be posted here shortly after the chain launches.
Run either one of the scripts provided to set up a dungeon
service:
setup-dungeon.sh
will create adungeonchain
service.setup-dungeon-cv.sh
will create acv-dungeonchain
service.- Both scripts must be run either as root or from a sudoer account.
- Both scripts will attempt to build a binary from the Crypto-Dungeon/dungeonchain repo.
- You must submit your opt-in transaction before the spawn time is reached to start signing blocks as soon as the chain starts.
gaiad tx provider opt-in dungeontest-1 <consumer node public key>
After the spawn time is reached:
- The launch genesis file will be posted in this repo.
- Copy this file to your consumer chain's home
/config/genesis.json
. - Start your node
These are the commands we will use to generate the launch genesis file after the spawn time is reached:
- Obtain CCV state
- Populate reward denoms
- Populate provider reward denoms
- Patch the consumer genesis file
gaiad q provider consumer-genesis dungeontest-1 -o json --node https://rpc.provider-sentry-01.ics-testnet.polypore.xyz:443 > ccv.json
jq '.params.reward_denoms |= ["udgn"]' ccv.json > ccv-denom.json
jq '.params.provider_reward_denoms |= ["uatom"]' ccv-denom.json > ccv-provider-denom.json
jq -s '.[0].app_state.ccvconsumer = .[1] | .[0]' dungeon-genesis-pre-spawn.json ccv-provider-denom.json > genesis.json