Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests to support new call/create interface #9

Open
lrettig opened this issue Apr 2, 2018 · 0 comments
Open

Update tests to support new call/create interface #9

lrettig opened this issue Apr 2, 2018 · 0 comments
Assignees

Comments

@lrettig
Copy link
Member

lrettig commented Apr 2, 2018

Cf. ewasm/evm2wasm#184, ewasm/design#70. This appears to be causing issues in ewasm/evm2wasm#196 as some of the vmTests there are failing like the below. AFAICT it's coming from https://github.com/ewasm/ewasm-kernel/blob/master/tests/interface/call.wast which needs to be updated.

# env1 env1
not ok 1076 should not have VM exception
  ---
    operator: fail
    at: checkResults (/Users/lanerettig/wip/eth/evm2wasm/tests/runVmTests.js:122:9)
    stack: |-
      Error: should not have VM exception
          at Test.assert [as _assert] (/Users/lanerettig/wip/eth/evm2wasm/node_modules/tape/lib/test.js:225:54)
          at Test.bound [as _assert] (/Users/lanerettig/wip/eth/evm2wasm/node_modules/tape/lib/test.js:77:32)
          at Test.fail (/Users/lanerettig/wip/eth/evm2wasm/node_modules/tape/lib/test.js:318:10)
          at Test.bound [as fail] (/Users/lanerettig/wip/eth/evm2wasm/node_modules/tape/lib/test.js:77:32)
          at checkResults (/Users/lanerettig/wip/eth/evm2wasm/tests/runVmTests.js:122:9)
          at runner (/Users/lanerettig/wip/eth/evm2wasm/tests/runVmTests.js:71:11)
          at <anonymous>
  ...
vmExceptionErr: LinkError: WebAssembly Instantiation: Import #16 module="ethereum" function="call" error: imported function does not match the expected type
    at VM.run (/Users/lanerettig/wip/eth/evm2wasm/node_modules/ewasm-kernel/vm.js:16:51)
    at Kernel.run (/Users/lanerettig/wip/eth/evm2wasm/node_modules/ewasm-kernel/index.js:35:20)
    at runner (/Users/lanerettig/wip/eth/evm2wasm/tests/runVmTests.js:67:29)
    at <anonymous>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants