Skip to content

Commit c9009e8

Browse files
committed
define monoceros hard-fork block number (1_981_337)
1 parent 8389355 commit c9009e8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/forkid/forkid_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ func TestCreation(t *testing.T) {
5050
{1499999, ID{Hash: checksumToBytes(0xa4ecb4b6), Next: 1500000}}, // Last Byzantium, Constantinople, Petersbug, (andromeda)
5151
{1500000, ID{Hash: checksumToBytes(0x65ea97e0), Next: 1791793}}, // First Istanbul (taurus)
5252
{1791792, ID{Hash: checksumToBytes(0x65ea97e0), Next: 1791793}}, // Last Istanbul (taurus)
53-
{1791793, ID{Hash: checksumToBytes(0x9ec7f55b), Next: 0}}, // First Berlin, London (orion)
53+
{1791793, ID{Hash: checksumToBytes(0x9ec7f55b), Next: 1981337}}, // First Berlin, London (orion)
54+
{1981336, ID{Hash: checksumToBytes(0x9ec7f55b), Next: 1981337}}, // Last Berlin, London (orion)
55+
{1981337, ID{Hash: checksumToBytes(0x9a2ad858), Next: 0}}, // First Monoceros
5456
// {5000000, ID{Hash: checksumToBytes(0x757a1c47), Next: 0}}, // Future Berlin block
5557
},
5658
},

params/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var (
6464
IstanbulBlock: big.NewInt(1500000), // Taurus
6565
BerlinBlock: big.NewInt(1791793), // Orion
6666
LondonBlock: big.NewInt(1791793), // Orion
67-
MonocerosBlock: big.NewInt(math.MaxInt64),
67+
MonocerosBlock: big.NewInt(1981337), // Monoceros
6868
Ubqhash: &UbqhashConfig{
6969
UIP0Block: big.NewInt(0),
7070
UIP1Epoch: big.NewInt(22),

0 commit comments

Comments
 (0)