Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pregenesis file for testnet #4 #90

Merged
merged 4 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ validate-dydx-testnet-4-gentx:
docker build --platform linux/amd64 --tag public-testnet-validate $(CURDIR)
docker run --platform linux/amd64 \
-e VALIDATE_GENESIS_DIR_PATH=./dydx-testnet-4 \
-e VALIDATE_GENESIS_TAR_URL='https://github.com/dydxprotocol/v4-chain/releases/download/testnet4-validate/dydxprotocold-testnet4-validate-linux-amd64.tar.gz' \
-e VALIDATE_GENESIS_TAR_URL='https://github.com/dydxprotocol/v4-chain/releases/download/protocol%2Fv0.4.0/dydxprotocold-v0.4.0-linux-amd64.tar.gz' \
-e VALIDATE_GENESIS_STAKE_TOKEN=adv4tnt \
-e GENESIS_FILE_NAME=pregenesis.json \
-e ADD_GENTXS=true \
Expand All @@ -13,7 +13,7 @@ validate-dydx-testnet-4-final-genesis:
docker build --platform linux/amd64 --tag public-testnet-validate $(CURDIR)
docker run --platform linux/amd64 \
-e VALIDATE_GENESIS_DIR_PATH=./dydx-testnet-4 \
-e VALIDATE_GENESIS_TAR_URL='https://github.com/dydxprotocol/v4-chain/releases/download/protocol%2Fv0.3.6/dydxprotocold-v0.3.6-linux-amd64.tar.gz' \
-e VALIDATE_GENESIS_TAR_URL='https://github.com/dydxprotocol/v4-chain/releases/download/protocol%2Fv0.4.0/dydxprotocold-v0.4.0-linux-amd64.tar.gz' \
-e VALIDATE_GENESIS_STAKE_TOKEN=adv4tnt \
-e GENESIS_FILE_NAME=genesis.json \
-e ADD_GENTXS=false \
Expand Down
18 changes: 8 additions & 10 deletions dydx-testnet-4/pregenesis.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"genesis_time": "2023-10-11T04:19:58.475018Z",
"genesis_time": "2023-10-16T15:59:31.690655Z",
"chain_id": "dydx-testnet-4",
"initial_height": "1",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_bytes": "4194304",
"max_gas": "-1"
},
"evidence": {
Expand Down Expand Up @@ -109,7 +109,7 @@
"coins": [
{
"denom": "adv4tnt",
"amount": "1000000000000000000000000000"
"amount": "50000000000000000000000000"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to confirm, these are faucet accounts right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
]
},
Expand All @@ -118,7 +118,7 @@
"coins": [
{
"denom": "adv4tnt",
"amount": "1000000000000000000000000000"
"amount": "50000000000000000000000000"
}
]
},
Expand All @@ -127,7 +127,7 @@
"coins": [
{
"denom": "adv4tnt",
"amount": "1000000000000000000000000000"
"amount": "50000000000000000000000000"
}
]
},
Expand Down Expand Up @@ -174,7 +174,6 @@
},
"blocktime": {
"params": {
"clock_drift_grace_period_duration": "5s",
"durations": [
"300s",
"1800s"
Expand All @@ -188,7 +187,7 @@
},
"event_params": {
"denom": "adv4tnt",
"eth_address": "0xcca9D5f0a3c58b6f02BD0985fC7F9420EA24C1f0",
"eth_address": "0xf75012c350e4ad55be2048bd67ce6e03b20de82d",
"eth_chain_id": 11155111
},
"propose_params": {
Expand Down Expand Up @@ -586,7 +585,7 @@
"usd_tnc_required": "10000000000"
},
{
"limit": 200,
"limit": 1000,
"usd_tnc_required": "100000000000"
}
],
Expand Down Expand Up @@ -622,7 +621,6 @@
"bankruptcy_adjustment_ppm": 1000000,
"spread_to_maintenance_margin_ratio_ppm": 1500000
},
"max_insurance_fund_quantums_for_deleveraging": 100000000000,
"max_liquidation_fee_ppm": 15000,
"position_block_limits": {
"max_position_portion_liquidated_ppm": 100000,
Expand Down Expand Up @@ -727,7 +725,7 @@
}
}
],
"num_messages": 1
"next_delayed_message_id": 1
},
"distribution": {
"delegator_starting_infos": [],
Expand Down