Skip to content

Commit

Permalink
params: unset Spiral/Shanghai activation blocks for Classic, Mordor
Browse files Browse the repository at this point in the history
The ECIP does not specify valid activation
blocks yet, so we should not code them.

https://github.com/ethereumclassic/ECIPs/blob/64423c73b7416c2f8e40d4c66bf40b715c458b8c/_specs/ecip-1109.md

Date: 2023-09-04 10:26:13-06:00
Signed-off-by: meows <[email protected]>
  • Loading branch information
meowsbits committed Sep 4, 2023
1 parent 26265c7 commit 1749308
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
13 changes: 7 additions & 6 deletions params/config_classic.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,13 @@ var (
EIP3529FBlock: big.NewInt(14_525_000),
EIP3541FBlock: big.NewInt(14_525_000),

// EIP4399FBlock: big.NewInt(18_400_000), // Supplant DIFFICULTY with PREVRANDAO. ETC does not spec 4399 because it's still PoW, and 4399 is only applicable for the PoS system.
EIP3651FBlock: big.NewInt(18_400_000), // Warm COINBASE (gas reprice)
EIP3855FBlock: big.NewInt(18_400_000), // PUSH0 instruction
EIP3860FBlock: big.NewInt(18_400_000), // Limit and meter initcode
// EIP4895FBlock: big.NewInt(18_400_000), // Beacon chain push withdrawals as operations
EIP6049FBlock: big.NewInt(18_400_000), // Deprecate SELFDESTRUCT (noop)
// Spiral (partially), aka Shanghai
// EIP4399FBlock: nil, // Supplant DIFFICULTY with PREVRANDAO. ETC does not spec 4399 because it's still PoW, and 4399 is only applicable for the PoS system.
EIP3651FBlock: nil, // Warm COINBASE (gas reprice)
EIP3855FBlock: nil, // PUSH0 instruction
EIP3860FBlock: nil, // Limit and meter initcode
// EIP4895FBlock: nil, // Beacon chain push withdrawals as operations
EIP6049FBlock: nil, // Deprecate SELFDESTRUCT (noop)

RequireBlockHashes: map[uint64]common.Hash{
1920000: common.HexToHash("0x94365e3a8c0b35089c1d1195081fe7489b528a84b22199c916180db8b28ade7f"),
Expand Down
8 changes: 8 additions & 0 deletions params/config_mordor.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ var (
EIP3529FBlock: big.NewInt(5_520_000),
EIP3541FBlock: big.NewInt(5_520_000),

// Spiral (partially), aka Shanghai
// EIP4399FBlock: nil, // Supplant DIFFICULTY with PREVRANDAO. ETC does not spec 4399 because it's still PoW, and 4399 is only applicable for the PoS system.
EIP3651FBlock: nil, // Warm COINBASE (gas reprice)
EIP3855FBlock: nil, // PUSH0 instruction
EIP3860FBlock: nil, // Limit and meter initcode
// EIP4895FBlock: nil, // Beacon chain push withdrawals as operations
EIP6049FBlock: nil, // Deprecate SELFDESTRUCT (noop)

DisposalBlock: big.NewInt(0),
ECIP1017FBlock: big.NewInt(0),
ECIP1017EraRounds: big.NewInt(2000000),
Expand Down

0 comments on commit 1749308

Please sign in to comment.