From 5a9a8c5804308f1766da4dda220b617b88ca5761 Mon Sep 17 00:00:00 2001 From: Arpit Temani Date: Tue, 15 Nov 2022 16:44:28 +0530 Subject: [PATCH] change hardfork to span start --- builder/files/genesis-mainnet-v1.json | 6 +++--- builder/files/genesis-testnet-v4.json | 6 +++--- internal/cli/server/chains/mainnet.go | 6 +++--- internal/cli/server/chains/mumbai.go | 6 +++--- .../server/chains/test_files/chain_legacy_test.json | 6 +++--- .../cli/server/chains/test_files/chain_test.json | 6 +++--- params/config.go | 12 ++++++------ 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/builder/files/genesis-mainnet-v1.json b/builder/files/genesis-mainnet-v1.json index 506c161f90..78ac7effbf 100644 --- a/builder/files/genesis-mainnet-v1.json +++ b/builder/files/genesis-mainnet-v1.json @@ -15,17 +15,17 @@ "londonBlock": 23850000, "bor": { "jaipurBlock": 23850000, - "delhiBlock": 36507200, + "delhiBlock": 36499200, "period": { "0": 2 }, "producerDelay": { "0": 6, - "36507200": 4 + "36499200": 4 }, "sprint": { "0": 64, - "36507200": 16 + "36499200": 16 }, "backupMultiplier": { "0": 2 diff --git a/builder/files/genesis-testnet-v4.json b/builder/files/genesis-testnet-v4.json index 39b9fe5eff..cd1c31ca1b 100644 --- a/builder/files/genesis-testnet-v4.json +++ b/builder/files/genesis-testnet-v4.json @@ -15,18 +15,18 @@ "londonBlock": 22640000, "bor": { "jaipurBlock": 22770000, - "delhiBlock": 29392128, + "delhiBlock": 29388800, "period": { "0": 2, "25275000": 5 }, "producerDelay": { "0": 6, - "29392128": 4 + "29388800": 4 }, "sprint": { "0": 64, - "29392128": 16 + "29388800": 16 }, "backupMultiplier": { "0": 2, diff --git a/internal/cli/server/chains/mainnet.go b/internal/cli/server/chains/mainnet.go index e0a5c4578f..1819c5d49a 100644 --- a/internal/cli/server/chains/mainnet.go +++ b/internal/cli/server/chains/mainnet.go @@ -30,17 +30,17 @@ var mainnetBor = &Chain{ LondonBlock: big.NewInt(23850000), Bor: ¶ms.BorConfig{ JaipurBlock: big.NewInt(23850000), - DelhiBlock: big.NewInt(36507200), + DelhiBlock: big.NewInt(36499200), Period: map[string]uint64{ "0": 2, }, ProducerDelay: map[string]uint64{ "0": 6, - "36507200": 4, + "36499200": 4, }, Sprint: map[string]uint64{ "0": 64, - "36507200": 16, + "36499200": 16, }, BackupMultiplier: map[string]uint64{ "0": 2, diff --git a/internal/cli/server/chains/mumbai.go b/internal/cli/server/chains/mumbai.go index 16f74e597d..ded47e4832 100644 --- a/internal/cli/server/chains/mumbai.go +++ b/internal/cli/server/chains/mumbai.go @@ -30,18 +30,18 @@ var mumbaiTestnet = &Chain{ LondonBlock: big.NewInt(22640000), Bor: ¶ms.BorConfig{ JaipurBlock: big.NewInt(22770000), - DelhiBlock: big.NewInt(29392128), + DelhiBlock: big.NewInt(29388800), Period: map[string]uint64{ "0": 2, "25275000": 5, }, ProducerDelay: map[string]uint64{ "0": 6, - "29392128": 4, + "29388800": 4, }, Sprint: map[string]uint64{ "0": 64, - "29392128": 16, + "29388800": 16, }, BackupMultiplier: map[string]uint64{ "0": 2, diff --git a/internal/cli/server/chains/test_files/chain_legacy_test.json b/internal/cli/server/chains/test_files/chain_legacy_test.json index fdbe2f2165..a924fe03f4 100644 --- a/internal/cli/server/chains/test_files/chain_legacy_test.json +++ b/internal/cli/server/chains/test_files/chain_legacy_test.json @@ -20,11 +20,11 @@ }, "producerDelay": { "0": 6, - "29392128": 4 + "29388800": 4 }, "sprint": { "0": 64, - "29392128": 16 + "29388800": 16 }, "backupMultiplier": { "0": 2 @@ -44,7 +44,7 @@ "22640000": "0x70bcA57F4579f58670aB2d18Ef16e02C17553C38" }, "jaipurBlock": 22770000, - "delhiBlock": 29392128 + "delhiBlock": 29388800 } }, "nonce": "0x0", diff --git a/internal/cli/server/chains/test_files/chain_test.json b/internal/cli/server/chains/test_files/chain_test.json index 60cef797cd..2dda25219f 100644 --- a/internal/cli/server/chains/test_files/chain_test.json +++ b/internal/cli/server/chains/test_files/chain_test.json @@ -22,11 +22,11 @@ }, "producerDelay":{ "0": 6, - "29392128": 4 + "29388800": 4 }, "sprint":{ "0": 64, - "29392128": 16 + "29388800": 16 }, "backupMultiplier":{ "0":2 @@ -46,7 +46,7 @@ "22640000":"0x70bcA57F4579f58670aB2d18Ef16e02C17553C38" }, "jaipurBlock":22770000, - "delhiBlock": 29392128 + "delhiBlock": 29388800 } }, "nonce":"0x0", diff --git a/params/config.go b/params/config.go index 4653f9f0db..7e92c7b8af 100644 --- a/params/config.go +++ b/params/config.go @@ -350,18 +350,18 @@ var ( LondonBlock: big.NewInt(22640000), Bor: &BorConfig{ JaipurBlock: big.NewInt(22770000), - DelhiBlock: big.NewInt(29392128), + DelhiBlock: big.NewInt(29388800), Period: map[string]uint64{ "0": 2, "25275000": 5, }, ProducerDelay: map[string]uint64{ "0": 6, - "29392128": 4, + "29388800": 4, }, Sprint: map[string]uint64{ "0": 64, - "29392128": 16, + "29388800": 16, }, BackupMultiplier: map[string]uint64{ "0": 2, @@ -402,17 +402,17 @@ var ( LondonBlock: big.NewInt(23850000), Bor: &BorConfig{ JaipurBlock: big.NewInt(23850000), - DelhiBlock: big.NewInt(36507200), + DelhiBlock: big.NewInt(36499200), Period: map[string]uint64{ "0": 2, }, ProducerDelay: map[string]uint64{ "0": 6, - "36507200": 4, + "36499200": 4, }, Sprint: map[string]uint64{ "0": 64, - "36507200": 16, + "36499200": 16, }, BackupMultiplier: map[string]uint64{ "0": 2,