Open chfast opened 3 months ago
Current codes as speced:
FYI I edited this note, REVERT comes at code 1 now. I also swapped the proposed 128/129 to match.
Per EOF impleneters call 49: No action to be taken for the reasons noted here. If necessary, Solidity to make a stronger request for it.
Revisit EXT*CALL returncodes - onReceived must be able to distinguish successful calls
Originally posted by @shemnon in https://github.com/ethereum/pm/issues/1077#issuecomment-2183431430
Has it been considered to just return 0/1 from CALL and have separate opcode to get the status code of the last call? This would allow to keep the shorter sequence CALL RJUMPI.
should we close this in favor of https://github.com/ethereum/EIPs/pull/8838 ?
Current codes as speced:
Possible alternative
EXTCALL xxxx RJUMPI [error]
vs.
EXTCALL xxx PUSH1[127] GT RJUMPI [errpr]
Or restore EXTCODESIZE or something similar
Or Ban all EXTCALLS outside of EOF
Or add flags to the call for error handling
Arguments against: