Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test case for SimpleAdderVM.runStep() after PR 17
Output was:

2) Contract: SimpleAdderVM should run a step:
     Error: Invalid number of arguments to Solidity function
  • Loading branch information
juztamau5 committed Apr 5, 2018
commit af1cf02e9519657ffb35d781fe1b5b2834decb4c
4 changes: 2 additions & 2 deletions test/simple_adder_vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ contract('SimpleAdderVM', function(accounts) {
it("should run a step", async () => {
assert.deepEqual(
await simpleAdderVM.runStep.call(
["0x00", "0x00", "0x00", "0x00"],
["0x00", "0x00", "0x00"],
"0x0000000000000000000000000000000000000000000000000000000000000001",
"0x0000000000000000000000000000000000000000000000000000000000000001"
),
[ '0x0000000000000000000000000000000000000000000000000000000000000001',
'0x0000000000000000000000000000000000000000000000000000000000000000',
'0x0000000000000000000000000000000000000000000000000000000000000001',
'0x0000000000000000000000000000000000000000000000000000000000000001'
]
Expand Down