update pregenesis.json with latest prod_pregenesis.sh run #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Makefile
for the validation now uses version v0.4.0 - latest stable from Public TestnetThe suggested
pregenesis.json
has been generated usingv4-chain/protocol
'sprod_pregenesis.sh
script, applying the bridging transactions as well as calculating the bridging address balance.Steps to generate
cd protocol
git checkout protocol/v0.4.0
make build
./build/dydxprotocold version
# TODO(GENESIS)
section inprotocol/scripts/genesis/prod_pregenesis.sh
with mainnet details./scripts/genesis/prod_pregenesis.sh ./build/dydxprotocold
, the resultingpregenesis.json
file is at/tmp/prod-chain/.dydxprotocol/config/genesis.json
bank.balances
andauth.accounts
from the output to.app_state.bank.balances
and.app_state.auth.accounts
inpregenesis.json
pregenesis.json
(dydx1zlefkpe3g0vvm9a4h0jf9000lmqutlh9jwjnsv
), to contain total supply, or 1 billion DYDX (that is 10^(18+9)adydx
), minus the sum of the bridged amounts - part of the output ofscripts/bridge_events/bridge_events.go