mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
eth/tracers/native: include SWAP16 in default ignored opcodes
This commit is contained in:
parent
e58c785424
commit
8a8a195ce8
1 changed files with 1 additions and 0 deletions
|
|
@ -516,6 +516,7 @@ func defaultIgnoredOpcodes() []hexutil.Uint64 {
|
||||||
for op := vm.PUSH0; op < vm.SWAP16; op++ {
|
for op := vm.PUSH0; op < vm.SWAP16; op++ {
|
||||||
ignored = append(ignored, hexutil.Uint64(op))
|
ignored = append(ignored, hexutil.Uint64(op))
|
||||||
}
|
}
|
||||||
|
ignored = append(ignored, hexutil.Uint64(vm.SWAP16))
|
||||||
|
|
||||||
for _, op := range []vm.OpCode{
|
for _, op := range []vm.OpCode{
|
||||||
vm.POP, vm.ADD, vm.SUB, vm.MUL,
|
vm.POP, vm.ADD, vm.SUB, vm.MUL,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue