From 38f9128be5445815bd5e21bef27eb1aebc4e8283 Mon Sep 17 00:00:00 2001 From: James Hinshelwood Date: Thu, 19 Dec 2024 20:12:53 +0000 Subject: [PATCH] Update proto-mainnet fork height (#2048) --- z2/resources/chain-specs/zq2-protomainnet.toml | 4 ++-- z2/src/chain.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/z2/resources/chain-specs/zq2-protomainnet.toml b/z2/resources/chain-specs/zq2-protomainnet.toml index eb11e6d54..7dde495d5 100644 --- a/z2/resources/chain-specs/zq2-protomainnet.toml +++ b/z2/resources/chain-specs/zq2-protomainnet.toml @@ -16,7 +16,7 @@ consensus.minimum_stake = "10_000_000_000_000_000_000_000_000" consensus.eth_block_gas_limit = 84000000 consensus.gas_price = "4_761_904_800_000" consensus.scilla_call_gas_exempt_addrs = ["0x95347b860Bd49818AFAccCA8403C55C23e7BB9ED", "0xe64cA52EF34FdD7e20C0c7fb2E392cc9b4F6D049", "0x63B991C17010C21250a0eA58C6697F696a48cdf3", "0x241c677D9969419800402521ae87C411897A029f", "0x2274005778063684fbB1BfA96a2b725dC37D75f9", "0x598FbD8B68a8B7e75b8B7182c750164f348907Bc", "0x2938fF251Aecc1dfa768D7d0276eB6d073690317", "0x17D5af5658A24bd964984b36d28e879a8626adC3", "0xCcF3Ea256d42Aeef0EE0e39Bfc94bAa9Fa14b0Ba", "0xc6F3dede529Af9D98a11C5B32DbF03Bf34272ED5", "0x7D2fF48c6b59229d448473D267a714d29F078D3E", "0xE9D47623bb2B3C497668B34fcf61E101a7ea4058", "0x03A79429acc808e4261a68b0117aCD43Cb0FdBfa", "0x097C26F8A93009fd9d98561384b5014D64ae17C2", "0x01035e423c40a9ad4F6be2E6cC014EB5617c8Bd6", "0x9C3fE3f471d8380297e4fB222eFb313Ee94DFa0f", "0x20Dd5D5B5d4C72676514A0eA1052d0200003d69D", "0xbfDe2156aF75a29d36614bC1F8005DD816Bd9200"] -consensus.contract_upgrade_block_heights = { deposit_v3 = 5299200 } +consensus.contract_upgrade_block_heights = { deposit_v3 = 5340000 } api_servers = [{ port = 4201, enabled_apis = [{ apis = ["blockNumber"], namespace = "eth" }] }, { enabled_apis = ["admin", "erigon", "eth", "net", "ots", "trace", "txpool", "web3", "zilliqa"], port = 4202 }] -consensus.forks = [{ at_height = 0, call_mode_1_sets_caller_to_parent_caller = false, failed_scilla_call_from_gas_exempt_caller_causes_revert = false }, { at_height = 5299000, call_mode_1_sets_caller_to_parent_caller = true, failed_scilla_call_from_gas_exempt_caller_causes_revert = true }] +consensus.forks = [{ at_height = 0, call_mode_1_sets_caller_to_parent_caller = false, failed_scilla_call_from_gas_exempt_caller_causes_revert = false }, { at_height = 5340000, call_mode_1_sets_caller_to_parent_caller = true, failed_scilla_call_from_gas_exempt_caller_causes_revert = true }] diff --git a/z2/src/chain.rs b/z2/src/chain.rs index 06184dcbe..b0957b709 100644 --- a/z2/src/chain.rs +++ b/z2/src/chain.rs @@ -160,7 +160,7 @@ impl Chain { deposit_v3: Some(3600), }, Self::Zq2ProtoMainnet => ContractUpgradesBlockHeights { - deposit_v3: Some(5299200), + deposit_v3: Some(5340000), }, Self::Zq2ProtoTestnet => ContractUpgradesBlockHeights { deposit_v3: Some(8406000), @@ -178,8 +178,8 @@ impl Chain { ]), Chain::Zq2ProtoMainnet => Some(vec![ json!({ "at_height": 0, "failed_scilla_call_from_gas_exempt_caller_causes_revert": false, "call_mode_1_sets_caller_to_parent_caller": false }), - // estimated: 2024-12-19T15:03:05Z - json!({ "at_height": 5299000, "failed_scilla_call_from_gas_exempt_caller_causes_revert": true, "call_mode_1_sets_caller_to_parent_caller": true }), + // estimated: 2024-12-20T16:13:19Z + json!({ "at_height": 5340000, "failed_scilla_call_from_gas_exempt_caller_causes_revert": true, "call_mode_1_sets_caller_to_parent_caller": true }), ]), _ => None, }