Skip to content

Commit

Permalink
Merge pull request #2271 from CortexFoundation/dev
Browse files Browse the repository at this point in the history
OP push0 added if nd
  • Loading branch information
ucwong authored Feb 20, 2025
2 parents d45daa7 + 60a3bc6 commit 6b6b607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/vm/jump_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ func newMergeInstructionSet() JumpTable {
validateStack: makeStackFunc(0, 1),
}
enable5656(&instructionSet) // EIP-5656 (MCOPY opcode)
enable3855(&instructionSet) // PUSH0 instruction
//enable3860(&instructionSet) // Limit and meter initcode
return validate(instructionSet)
}

Expand Down
1 change: 1 addition & 0 deletions trie/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ func (db *Database) commit(hash common.Hash, batch ctxcdb.Batch, uncacher *clean
return nil
}
var err error

node.forChildren(func(child common.Hash) {
if err == nil {
err = db.commit(child, batch, uncacher)
Expand Down

0 comments on commit 6b6b607

Please sign in to comment.