From 6984c94df350df81b3fa6445ad3b63d733b0256b Mon Sep 17 00:00:00 2001 From: marcello33 Date: Tue, 4 Nov 2025 17:58:12 +0100 Subject: [PATCH 1/2] chore: set madhugiri block for amoy and consensus block time --- builder/files/genesis-amoy.json | 6 ++++-- internal/cli/server/chains/amoy.go | 4 +++- params/config.go | 4 +++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/builder/files/genesis-amoy.json b/builder/files/genesis-amoy.json index a1295f7651..5935e8e9a1 100644 --- a/builder/files/genesis-amoy.json +++ b/builder/files/genesis-amoy.json @@ -23,12 +23,14 @@ "ahmedabadBlock": 11865856, "bhilaiBlock": 22765056, "rioBlock": 26272256, + "madhugiriBlock": 28899616, "skipValidatorByteCheck": [26160367, 26161087, 26171567, 26173743, 26175647], "stateSyncConfirmationDelay": { "0": 128 }, "period": { - "0": 2 + "0": 2, + "28899616": 1 }, "producerDelay": { "0": 4 @@ -103,4 +105,4 @@ "number": "0x0", "gasUsed": "0x0", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000" -} \ No newline at end of file +} diff --git a/internal/cli/server/chains/amoy.go b/internal/cli/server/chains/amoy.go index 040ff8844c..a9a906b264 100644 --- a/internal/cli/server/chains/amoy.go +++ b/internal/cli/server/chains/amoy.go @@ -36,11 +36,13 @@ var amoyTestnet = &Chain{ AhmedabadBlock: big.NewInt(11865856), BhilaiBlock: big.NewInt(22765056), RioBlock: big.NewInt(26272256), + MadhugiriBlock: big.NewInt(28899616), StateSyncConfirmationDelay: map[string]uint64{ "0": 128, }, Period: map[string]uint64{ - "0": 2, + "0": 2, + "28899616": 1, }, ProducerDelay: map[string]uint64{ "0": 4, diff --git a/params/config.go b/params/config.go index 0fb903eb5d..994b344217 100644 --- a/params/config.go +++ b/params/config.go @@ -338,11 +338,13 @@ var ( AhmedabadBlock: big.NewInt(11865856), BhilaiBlock: big.NewInt(22765056), RioBlock: big.NewInt(26272256), + MadhugiriBlock: big.NewInt(28899616), StateSyncConfirmationDelay: map[string]uint64{ "0": 128, }, Period: map[string]uint64{ - "0": 2, + "0": 2, + "28899616": 1, }, ProducerDelay: map[string]uint64{ "0": 4, From 3204674407f8c7c94af11d1e87794543ce330378 Mon Sep 17 00:00:00 2001 From: marcello33 Date: Tue, 4 Nov 2025 18:04:50 +0100 Subject: [PATCH 2/2] params: bump version --- params/version.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/params/version.go b/params/version.go index 308b8c2208..933d86decd 100644 --- a/params/version.go +++ b/params/version.go @@ -23,10 +23,10 @@ import ( ) const ( - VersionMajor = 2 // Major version component of the current release - VersionMinor = 4 // Minor version component of the current release - VersionPatch = 0 // Patch version component of the current release - VersionMeta = "beta2" // Version metadata to append to the version string + VersionMajor = 2 // Major version component of the current release + VersionMinor = 4 // Minor version component of the current release + VersionPatch = 0 // Patch version component of the current release + VersionMeta = "beta3" // Version metadata to append to the version string ) var (