mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-21 23:39:26 +00:00
activate 8024 instructions in amsterdam. fix block tests
This commit is contained in:
parent
33c864e227
commit
80af906c67
2 changed files with 2 additions and 2 deletions
|
|
@ -96,6 +96,7 @@ func newVerkleInstructionSet() JumpTable {
|
||||||
func newAmsterdamInstructionSet() JumpTable {
|
func newAmsterdamInstructionSet() JumpTable {
|
||||||
instructionSet := newOsakaInstructionSet()
|
instructionSet := newOsakaInstructionSet()
|
||||||
enable7843(&instructionSet) // EIP-7843 (SLOTNUM opcode)
|
enable7843(&instructionSet) // EIP-7843 (SLOTNUM opcode)
|
||||||
|
enable8024(&instructionSet)
|
||||||
return validate(instructionSet)
|
return validate(instructionSet)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -160,8 +160,7 @@ func (t *BlockTest) createTestBlockChain(config *params.ChainConfig, snapshotter
|
||||||
Tracer: tracer,
|
Tracer: tracer,
|
||||||
StatelessSelfValidation: witness,
|
StatelessSelfValidation: witness,
|
||||||
},
|
},
|
||||||
NoPrefetch: true,
|
NoPrefetch: true,
|
||||||
EnableBALForTesting: createAndVerifyBAL,
|
|
||||||
}
|
}
|
||||||
if snapshotter {
|
if snapshotter {
|
||||||
options.SnapshotLimit = 1
|
options.SnapshotLimit = 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue