evm2wasm
evm2wasm copied to clipboard
[ORPHANED] Transcompiles EVM code to eWASM
Closes #270
- [x] remove non-folded instructions [#213] - [ ] figure out how to do VM tests with hera - [x] make the c++ work with hera (to speed up tests)...
evm2wasm is made up of two modules: generateInterface.js and index.js. The interface generator generates a library of wast files ("interface wast files", with each wast file corresponds to an EVM...
Currently, the wast for `CALL` ( https://github.com/ewasm/evm2wasm/blob/master/wasm/wast.json#L91 ) fails to load. We should add linting to CircleCI to catch changes that break Binaryen.
- [ ] call_OOG_additionalGasCosts1 (#278) - [ ] callcall_00_OOGE_valueTransfer - 2 failures - [x] callcallcall_ABCB_RECURSIVE - 1 failure - [x] callcallcallcode_ABCB_RECURSIVE - [x] callcallcodecall_ABCB_RECURSIVE - [x] callcallcodecallcode_ABCB_RECURSIVE - [ ]...
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...