Skip to content

Commit

Permalink
update pregenesis.json with latest prod_pregenesis.sh run (dydxopsdao#15
Browse files Browse the repository at this point in the history
)
  • Loading branch information
2dpetkov authored Oct 17, 2023
1 parent 790c182 commit 5024916
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 45 deletions.
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-mainnet-1-gentx:
docker build --platform linux/amd64 --tag public-mainnet-validate $(CURDIR)
docker run --platform linux/amd64 \
-e VALIDATE_GENESIS_DIR_PATH=./dydx-mainnet-1 \
-e VALIDATE_GENESIS_TAR_URL='https://github.com/dydxprotocol/v4-chain/releases/download/protocol%2Fv0.3.1/dydxprotocold-v0.3.1-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=adydx \
-e GENESIS_FILE_NAME=pregenesis.json \
-e ADD_GENTXS=true \
Expand All @@ -13,7 +13,7 @@ validate-dydx-mainnet-1-final-genesis:
docker build --platform linux/amd64 --tag public-mainnet-validate $(CURDIR)
docker run --platform linux/amd64 \
-e VALIDATE_GENESIS_DIR_PATH=./dydx-mainnet-1 \
-e VALIDATE_GENESIS_TAR_URL='https://github.com/dydxprotocol/v4-chain/releases/download/protocol%2Fv0.3.1/dydxprotocold-v0.3.1-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=adydx \
-e GENESIS_FILE_NAME=genesis.json \
-e ADD_GENTXS=false \
Expand Down
83 changes: 40 additions & 43 deletions dydx-mainnet-1/pregenesis.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"genesis_time": "2023-10-16T17:00:00Z",
"genesis_time": "2023-10-26T17:00:00Z",
"chain_id": "dydx-mainnet-1",
"initial_height": "1",
"consensus_params": {
Expand Down Expand Up @@ -33,8 +33,7 @@
"denom_exponent": "-6",
"has_market": false,
"market_id": 0,
"atomic_resolution": -6,
"long_interest": 0
"atomic_resolution": -6
}
]
},
Expand Down Expand Up @@ -587,8 +586,7 @@
"durations": [
"300s",
"1800s"
],
"clock_drift_grace_period_duration": "5s"
]
}
},
"bridge": {
Expand Down Expand Up @@ -620,7 +618,7 @@
"clob_pairs": [
{
"id": 0,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 0
},
Expand All @@ -630,7 +628,7 @@
},
{
"id": 1,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 1
},
Expand All @@ -640,7 +638,7 @@
},
{
"id": 2,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 2
},
Expand All @@ -650,7 +648,7 @@
},
{
"id": 3,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 3
},
Expand All @@ -660,7 +658,7 @@
},
{
"id": 4,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 4
},
Expand All @@ -670,7 +668,7 @@
},
{
"id": 5,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 5
},
Expand All @@ -680,7 +678,7 @@
},
{
"id": 6,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 6
},
Expand All @@ -690,7 +688,7 @@
},
{
"id": 7,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 7
},
Expand All @@ -700,7 +698,7 @@
},
{
"id": 8,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 8
},
Expand All @@ -710,7 +708,7 @@
},
{
"id": 9,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 9
},
Expand All @@ -720,7 +718,7 @@
},
{
"id": 10,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 10
},
Expand All @@ -730,7 +728,7 @@
},
{
"id": 11,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 11
},
Expand All @@ -740,7 +738,7 @@
},
{
"id": 12,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 12
},
Expand All @@ -750,7 +748,7 @@
},
{
"id": 13,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 13
},
Expand All @@ -760,7 +758,7 @@
},
{
"id": 14,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 14
},
Expand All @@ -770,7 +768,7 @@
},
{
"id": 15,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 15
},
Expand All @@ -780,7 +778,7 @@
},
{
"id": 16,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 16
},
Expand All @@ -790,7 +788,7 @@
},
{
"id": 17,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 17
},
Expand All @@ -800,7 +798,7 @@
},
{
"id": 18,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 18
},
Expand All @@ -810,7 +808,7 @@
},
{
"id": 19,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 19
},
Expand All @@ -820,7 +818,7 @@
},
{
"id": 20,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 20
},
Expand All @@ -830,7 +828,7 @@
},
{
"id": 21,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 21
},
Expand All @@ -840,7 +838,7 @@
},
{
"id": 22,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 22
},
Expand All @@ -850,7 +848,7 @@
},
{
"id": 23,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 23
},
Expand All @@ -860,7 +858,7 @@
},
{
"id": 24,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 24
},
Expand All @@ -870,7 +868,7 @@
},
{
"id": 25,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 25
},
Expand All @@ -880,7 +878,7 @@
},
{
"id": 26,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 26
},
Expand All @@ -890,7 +888,7 @@
},
{
"id": 27,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 27
},
Expand All @@ -900,7 +898,7 @@
},
{
"id": 28,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 28
},
Expand All @@ -910,7 +908,7 @@
},
{
"id": 29,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 29
},
Expand All @@ -920,7 +918,7 @@
},
{
"id": 30,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 30
},
Expand All @@ -930,7 +928,7 @@
},
{
"id": 31,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 31
},
Expand All @@ -940,7 +938,7 @@
},
{
"id": 32,
"status": "STATUS_ACTIVE",
"status": "STATUS_INITIALIZING",
"perpetual_clob_metadata": {
"perpetual_id": 32
},
Expand All @@ -950,7 +948,6 @@
}
],
"liquidations_config": {
"max_insurance_fund_quantums_for_deleveraging": 100000000000,
"max_liquidation_fee_ppm": 15000,
"position_block_limits": {
"min_position_notional_liquidated": 1000,
Expand Down Expand Up @@ -1012,7 +1009,7 @@
"usd_tnc_required": "10000000000"
},
{
"limit": 200,
"limit": 1000,
"usd_tnc_required": "100000000000"
}
],
Expand Down Expand Up @@ -1138,7 +1135,7 @@
"block_height": 6912000
}
],
"num_messages": 1
"next_delayed_message_id": 1
},
"distribution": {
"params": {
Expand Down Expand Up @@ -1700,7 +1697,7 @@
"initial_margin_ppm": 1000000,
"maintenance_fraction_ppm": 200000,
"base_position_notional": 1000000000,
"impact_notional": 500000000
"impact_notional": 2500000000
}
],
"params": {
Expand Down Expand Up @@ -2175,7 +2172,7 @@
"treasury_account": "rewards_treasury",
"denom": "adydx",
"denom_exponent": -18,
"market_id": 11,
"market_id": 1000000,
"fee_multiplier_ppm": 0
}
},
Expand Down

0 comments on commit 5024916

Please sign in to comment.