Skip to content

Commit

Permalink
code/vm: fix comment typo (ethereum#26865)
Browse files Browse the repository at this point in the history
it should be constantinople rather than contantinople
  • Loading branch information
JBossBC authored and mmsqe committed Dec 7, 2023
1 parent bceddc6 commit 547ccd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/vm/jump_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func newMergeInstructionSet() JumpTable {
}

// newLondonInstructionSet returns the frontier, homestead, byzantium,
// contantinople, istanbul, petersburg, berlin and london instructions.
// constantinople, istanbul, petersburg, berlin and london instructions.
func newLondonInstructionSet() JumpTable {
instructionSet := newBerlinInstructionSet()
enable3529(&instructionSet) // EIP-3529: Reduction in refunds https://eips.ethereum.org/EIPS/eip-3529
Expand All @@ -107,15 +107,15 @@ func newLondonInstructionSet() JumpTable {
}

// newBerlinInstructionSet returns the frontier, homestead, byzantium,
// contantinople, istanbul, petersburg and berlin instructions.
// constantinople, istanbul, petersburg and berlin instructions.
func newBerlinInstructionSet() JumpTable {
instructionSet := newIstanbulInstructionSet()
enable2929(&instructionSet) // Access lists for trie accesses https://eips.ethereum.org/EIPS/eip-2929
return validate(instructionSet)
}

// newIstanbulInstructionSet returns the frontier, homestead, byzantium,
// contantinople, istanbul and petersburg instructions.
// constantinople, istanbul and petersburg instructions.
func newIstanbulInstructionSet() JumpTable {
instructionSet := newConstantinopleInstructionSet()

Expand All @@ -127,7 +127,7 @@ func newIstanbulInstructionSet() JumpTable {
}

// newConstantinopleInstructionSet returns the frontier, homestead,
// byzantium and contantinople instructions.
// byzantium and constantinople instructions.
func newConstantinopleInstructionSet() JumpTable {
instructionSet := newByzantiumInstructionSet()
instructionSet[SHL] = &operation{
Expand Down

0 comments on commit 547ccd9

Please sign in to comment.