mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
core/vm: add SSTORE to "dynamic"
This commit is contained in:
parent
cb7cd07ed0
commit
e92fce8a03
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ func (o OpCode) String() string {
|
||||||
|
|
||||||
func isDynamic(op OpCode) bool {
|
func isDynamic(op OpCode) bool {
|
||||||
switch op {
|
switch op {
|
||||||
case CREATE, CALL, CALLCODE, JUMP, JUMPI, SUICIDE, STOP, RETURN, EXTCODECOPY, CODECOPY, MSTORE, MSTORE8:
|
case CREATE, CALL, CALLCODE, JUMP, JUMPI, SUICIDE, STOP, RETURN, EXTCODECOPY, CODECOPY, MSTORE, MSTORE8, SSTORE:
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if _, ok := opCodeToString[op]; !ok {
|
if _, ok := opCodeToString[op]; !ok {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue