evm2wasm icon indicating copy to clipboard operation
evm2wasm copied to clipboard

Fix CALL* to actually support the return area

Open axic opened this issue 6 years ago • 0 comments

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.

axic avatar May 29 '18 21:05 axic