Skip to content

Commit

Permalink
define monoceros hard-fork block number (1_981_337)
Browse files Browse the repository at this point in the history
  • Loading branch information
iquidus committed Jan 28, 2022
1 parent 8389355 commit c9009e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/forkid/forkid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ func TestCreation(t *testing.T) {
{1499999, ID{Hash: checksumToBytes(0xa4ecb4b6), Next: 1500000}}, // Last Byzantium, Constantinople, Petersbug, (andromeda)
{1500000, ID{Hash: checksumToBytes(0x65ea97e0), Next: 1791793}}, // First Istanbul (taurus)
{1791792, ID{Hash: checksumToBytes(0x65ea97e0), Next: 1791793}}, // Last Istanbul (taurus)
{1791793, ID{Hash: checksumToBytes(0x9ec7f55b), Next: 0}}, // First Berlin, London (orion)
{1791793, ID{Hash: checksumToBytes(0x9ec7f55b), Next: 1981337}}, // First Berlin, London (orion)
{1981336, ID{Hash: checksumToBytes(0x9ec7f55b), Next: 1981337}}, // Last Berlin, London (orion)
{1981337, ID{Hash: checksumToBytes(0x9a2ad858), Next: 0}}, // First Monoceros
// {5000000, ID{Hash: checksumToBytes(0x757a1c47), Next: 0}}, // Future Berlin block
},
},
Expand Down
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var (
IstanbulBlock: big.NewInt(1500000), // Taurus
BerlinBlock: big.NewInt(1791793), // Orion
LondonBlock: big.NewInt(1791793), // Orion
MonocerosBlock: big.NewInt(math.MaxInt64),
MonocerosBlock: big.NewInt(1981337), // Monoceros
Ubqhash: &UbqhashConfig{
UIP0Block: big.NewInt(0),
UIP1Epoch: big.NewInt(22),
Expand Down

0 comments on commit c9009e8

Please sign in to comment.