Skip to content

Commit 6b6b607

Browse files
authored
Merge pull request #2271 from CortexFoundation/dev
OP push0 added if nd
2 parents d45daa7 + 60a3bc6 commit 6b6b607

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

core/vm/jump_table.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ func newMergeInstructionSet() JumpTable {
7575
validateStack: makeStackFunc(0, 1),
7676
}
7777
enable5656(&instructionSet) // EIP-5656 (MCOPY opcode)
78+
enable3855(&instructionSet) // PUSH0 instruction
79+
//enable3860(&instructionSet) // Limit and meter initcode
7880
return validate(instructionSet)
7981
}
8082

trie/database.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ func (db *Database) commit(hash common.Hash, batch ctxcdb.Batch, uncacher *clean
695695
return nil
696696
}
697697
var err error
698+
698699
node.forChildren(func(child common.Hash) {
699700
if err == nil {
700701
err = db.commit(child, batch, uncacher)

0 commit comments

Comments
 (0)