evm2wasm
evm2wasm copied to clipboard
Fix CALL* to actually support the return area
Currently CALL*
just drops the last two parametes which specify the output area and length.
Tests should expect data to be written there so I'd think at some point tests going to fail. The better way to deal with this is to insert a helper which uses returndatacopy
to write the result into the destination spcified. The one thing to take attention to is that returndatacopy
throws on overread, while old style call*
doesn't.