You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the silkworm RPC JSON result differs from erigon in the trace error field for opcode CODECOPY at PC 70 (the last one).
That's due to the check made in check_memory.
that does not fit into uint64_t type. The check_memory function returns false and so codecopy function returns the status code EVMC_OUT_OF_GAS. We would need to receive also an error string indicating the specific reason for the OOG error.
The text was updated successfully, but these errors were encountered:
canepat
changed the title
evmone doent't return the right failure code from check_memory func
evmone: missing specific error string for OOG in check_memory
Feb 26, 2025
Calling
the silkworm RPC JSON result differs from erigon in the trace
error
field for opcodeCODECOPY
atPC 70
(the last one).That's due to the check made in check_memory.
The
size
value passed tocheck_memory
is[0] = 6148606209921031844
[1] = 744862842900218413
[2] = 2901806814
[3] = 0
that does not fit into
uint64_t
type. Thecheck_memory
function returnsfalse
and socodecopy
function returns the status codeEVMC_OUT_OF_GAS
. We would need to receive also an error string indicating the specific reason for the OOG error.Current JSON result:
Expected JSON result:
See also skipped integration tests in #2754
The text was updated successfully, but these errors were encountered: