From 5024916acc32252365c5cba2dbb50a0b9f75661d Mon Sep 17 00:00:00 2001 From: Dimitar Petkov <796902+2dpetkov@users.noreply.github.com> Date: Tue, 17 Oct 2023 15:43:21 +0300 Subject: [PATCH] update pregenesis.json with latest prod_pregenesis.sh run (#15) --- Makefile | 4 +- dydx-mainnet-1/pregenesis.json | 83 ++++++++++++++++------------------ 2 files changed, 42 insertions(+), 45 deletions(-) diff --git a/Makefile b/Makefile index eadc04c..a401215 100644 --- a/Makefile +++ b/Makefile @@ -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 \ @@ -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 \ diff --git a/dydx-mainnet-1/pregenesis.json b/dydx-mainnet-1/pregenesis.json index daa33c8..a988478 100644 --- a/dydx-mainnet-1/pregenesis.json +++ b/dydx-mainnet-1/pregenesis.json @@ -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": { @@ -33,8 +33,7 @@ "denom_exponent": "-6", "has_market": false, "market_id": 0, - "atomic_resolution": -6, - "long_interest": 0 + "atomic_resolution": -6 } ] }, @@ -587,8 +586,7 @@ "durations": [ "300s", "1800s" - ], - "clock_drift_grace_period_duration": "5s" + ] } }, "bridge": { @@ -620,7 +618,7 @@ "clob_pairs": [ { "id": 0, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 0 }, @@ -630,7 +628,7 @@ }, { "id": 1, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 1 }, @@ -640,7 +638,7 @@ }, { "id": 2, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 2 }, @@ -650,7 +648,7 @@ }, { "id": 3, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 3 }, @@ -660,7 +658,7 @@ }, { "id": 4, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 4 }, @@ -670,7 +668,7 @@ }, { "id": 5, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 5 }, @@ -680,7 +678,7 @@ }, { "id": 6, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 6 }, @@ -690,7 +688,7 @@ }, { "id": 7, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 7 }, @@ -700,7 +698,7 @@ }, { "id": 8, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 8 }, @@ -710,7 +708,7 @@ }, { "id": 9, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 9 }, @@ -720,7 +718,7 @@ }, { "id": 10, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 10 }, @@ -730,7 +728,7 @@ }, { "id": 11, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 11 }, @@ -740,7 +738,7 @@ }, { "id": 12, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 12 }, @@ -750,7 +748,7 @@ }, { "id": 13, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 13 }, @@ -760,7 +758,7 @@ }, { "id": 14, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 14 }, @@ -770,7 +768,7 @@ }, { "id": 15, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 15 }, @@ -780,7 +778,7 @@ }, { "id": 16, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 16 }, @@ -790,7 +788,7 @@ }, { "id": 17, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 17 }, @@ -800,7 +798,7 @@ }, { "id": 18, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 18 }, @@ -810,7 +808,7 @@ }, { "id": 19, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 19 }, @@ -820,7 +818,7 @@ }, { "id": 20, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 20 }, @@ -830,7 +828,7 @@ }, { "id": 21, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 21 }, @@ -840,7 +838,7 @@ }, { "id": 22, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 22 }, @@ -850,7 +848,7 @@ }, { "id": 23, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 23 }, @@ -860,7 +858,7 @@ }, { "id": 24, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 24 }, @@ -870,7 +868,7 @@ }, { "id": 25, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 25 }, @@ -880,7 +878,7 @@ }, { "id": 26, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 26 }, @@ -890,7 +888,7 @@ }, { "id": 27, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 27 }, @@ -900,7 +898,7 @@ }, { "id": 28, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 28 }, @@ -910,7 +908,7 @@ }, { "id": 29, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 29 }, @@ -920,7 +918,7 @@ }, { "id": 30, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 30 }, @@ -930,7 +928,7 @@ }, { "id": 31, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 31 }, @@ -940,7 +938,7 @@ }, { "id": 32, - "status": "STATUS_ACTIVE", + "status": "STATUS_INITIALIZING", "perpetual_clob_metadata": { "perpetual_id": 32 }, @@ -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, @@ -1012,7 +1009,7 @@ "usd_tnc_required": "10000000000" }, { - "limit": 200, + "limit": 1000, "usd_tnc_required": "100000000000" } ], @@ -1138,7 +1135,7 @@ "block_height": 6912000 } ], - "num_messages": 1 + "next_delayed_message_id": 1 }, "distribution": { "params": { @@ -1700,7 +1697,7 @@ "initial_margin_ppm": 1000000, "maintenance_fraction_ppm": 200000, "base_position_notional": 1000000000, - "impact_notional": 500000000 + "impact_notional": 2500000000 } ], "params": { @@ -2175,7 +2172,7 @@ "treasury_account": "rewards_treasury", "denom": "adydx", "denom_exponent": -18, - "market_id": 11, + "market_id": 1000000, "fee_multiplier_ppm": 0 } },