Skip to content

Commit

Permalink
Merge branch 'testnet' of github.com:oasysgames/oasys-validator into …
Browse files Browse the repository at this point in the history
…testnet
  • Loading branch information
tak1827 committed Dec 2, 2024
2 parents e150fe9 + 09b8a45 commit dfd6381
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/vm/jump_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ func newCancunInstructionSet() JumpTable {
}

func newShanghaiInstructionSet() JumpTable {
instructionSet := newMergeInstructionSet()
instructionSet := newLondonInstructionSet()
enable3855(&instructionSet) // PUSH0 instruction
enable3860(&instructionSet) // Limit and meter initcode

return validate(instructionSet)
}

// Skip the Merge instruction set, as Oasys does not support RANDAO
func newMergeInstructionSet() JumpTable {
instructionSet := newLondonInstructionSet()
instructionSet[PREVRANDAO] = &operation{
Expand Down
2 changes: 1 addition & 1 deletion params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
VersionMajor = 1 // Major version component of the current release
VersionMinor = 6 // Minor version component of the current release
VersionPatch = 0 // Patch version component of the current release
VersionMeta = "testnet0" // Version metadata to append to the version string
VersionMeta = "testnet1" // Version metadata to append to the version string
)

// Version holds the textual version string.
Expand Down

0 comments on commit dfd6381

Please sign in to comment.