Skip to content

Commit d02e6e6

Browse files
committed
rename vars
1 parent 32e27d3 commit d02e6e6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: core/vm/interpreter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func NewEVMInterpreter(evm *EVM, cfg Config) *EVMInterpreter {
7575
var jt JumpTable
7676
switch {
7777
case evm.chainRules.IsMorph203:
78-
jt = qianxuesenInstructionSet
78+
jt = morph203InstructionSet
7979
case evm.chainRules.IsDarwin:
8080
jt = darwinInstructionSet
8181
case evm.chainRules.IsCurie:

Diff for: core/vm/jump_table.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ var (
6161
shanghaiInstructionSet = newShanghaiInstructionSet()
6262
curieInstructionSet = newCurieInstructionSet()
6363
darwinInstructionSet = newDarwinInstructionSet()
64-
qianxuesenInstructionSet = newQianxuesenInstructionSet()
64+
morph203InstructionSet = newMorph203InstructionSet()
6565
)
6666

6767
// JumpTable contains the EVM opcodes supported at a given fork.
6868
type JumpTable [256]*operation
6969

70-
// newQianXueSenInstructionSet returns the frontier, homestead, byzantium,
71-
// contantinople, istanbul, petersburg, berlin, london, shanghai, curie, darwin and qianxuesen instructions.
72-
func newQianxuesenInstructionSet() JumpTable {
70+
// newMorph203InstructionSet returns the frontier, homestead, byzantium,
71+
// contantinople, istanbul, petersburg, berlin, london, shanghai, curie, darwin and morph203 instructions.
72+
func newMorph203InstructionSet() JumpTable {
7373
instructionSet := newDarwinInstructionSet()
7474
return instructionSet
7575
}

Diff for: params/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ func (c *ChainConfig) IsDarwin(now uint64) bool {
749749
return isForkedTime(now, c.DarwinTime)
750750
}
751751

752-
// IsMorph203 returns whether num is either equal to the Qianxuesen fork block or greater.
752+
// IsMorph203 returns whether num is either equal to the Morph203 fork block or greater.
753753
func (c *ChainConfig) IsMorph203(now uint64) bool {
754754
return isForkedTime(now, c.Morph203Time)
755755
}

0 commit comments

Comments
 (0)