mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-15 17:30:44 +00:00
core/vm, core/state/snapshot: remove unused code (#23956)
* core/state/snapshot: remove wiper functionality * core/vm: remove unused 'unofficial' opcodes
This commit is contained in:
parent
3d3cc6c6d7
commit
f7c6b1abd4
1 changed files with 0 additions and 11 deletions
|
|
@ -206,13 +206,6 @@ const (
|
||||||
LOG4
|
LOG4
|
||||||
)
|
)
|
||||||
|
|
||||||
// unofficial opcodes used for parsing.
|
|
||||||
const (
|
|
||||||
PUSH OpCode = 0xb0 + iota
|
|
||||||
DUP
|
|
||||||
SWAP
|
|
||||||
)
|
|
||||||
|
|
||||||
// 0xf0 range - closures.
|
// 0xf0 range - closures.
|
||||||
const (
|
const (
|
||||||
CREATE OpCode = 0xf0
|
CREATE OpCode = 0xf0
|
||||||
|
|
@ -389,10 +382,6 @@ var opCodeToString = map[OpCode]string{
|
||||||
STATICCALL: "STATICCALL",
|
STATICCALL: "STATICCALL",
|
||||||
REVERT: "REVERT",
|
REVERT: "REVERT",
|
||||||
SELFDESTRUCT: "SELFDESTRUCT",
|
SELFDESTRUCT: "SELFDESTRUCT",
|
||||||
|
|
||||||
PUSH: "PUSH",
|
|
||||||
DUP: "DUP",
|
|
||||||
SWAP: "SWAP",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (op OpCode) String() string {
|
func (op OpCode) String() string {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue