Skip to content

Commit f9b13b9

Browse files
authored
Patching STAICCALL (#1494)
1 parent fedf9e9 commit f9b13b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manticore/platforms/evm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,7 @@ def STATICCALL_gas(self, gas, address, in_offset, in_size, out_offset, out_size)
20472047
def STATICCALL(self, gas, address, in_offset, in_size, out_offset, out_size):
20482048
"""Message-call into an account"""
20492049
self.world.start_transaction(
2050-
"STATICCALL",
2050+
"CALL",
20512051
address,
20522052
data=self.read_buffer(in_offset, in_size),
20532053
caller=self.address,
@@ -2873,7 +2873,7 @@ def _process_pending_transaction(self):
28732873
return
28742874
sort, address, price, data, caller, value, gas = self._pending_transaction
28752875

2876-
if sort not in {"CALL", "CREATE", "DELEGATECALL", "CALLCODE"}:
2876+
if sort not in {"CALL", "CREATE", "DELEGATECALL", "CALLCODE", "STATICCALL"}:
28772877
if sort == "STATICCALL":
28782878
# TODO: Remove this once Issue #1168 is resolved
28792879
raise EVMException(

0 commit comments

Comments
 (0)