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

Fix SimpleAdderVM test cases after #17 #19

Merged
merged 3 commits into from
Apr 6, 2018

Commits on Apr 5, 2018

  1. Fix test case for SimpleAdderVM.merklizeState() after PR 17

    Output was:
    
    1) Contract: SimpleAdderVM should merklize state:
         AssertionError: expected '0xce14df43546288f0a098d4057077c167f41c3cbcd4011965d53430d2e99d3dfb' to equal '0x235bae0e9307973e69b4c4da79fa631652c75cc382c9d097ff28dfcd702e8e25'
    juztamau5 committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    bd1c4c1 View commit details
    Browse the repository at this point in the history
  2. 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
    juztamau5 committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    af1cf02 View commit details
    Browse the repository at this point in the history
  3. Fix test case for SimpleAdderVM.runSteps() after PR 17

    Output was:
    
    3) Contract: SimpleAdderVM should run steps:
    
          AssertionError: expected [ Array(2) ] to deeply equal [ Array(2) ]
          + expected - actual
    
           [
             [
          -    "0x4000000000000000000000000000000000000000000000000000000000000000"
          -    "0xa000000000000000000000000000000000000000000000000000000000000000"
          +    "0x0000000000000000000000000000000000000000000000000000000000000004"
          +    "0x0000000000000000000000000000000000000000000000000000000000000004"
          +    "0x0000000000000000000000000000000000000000000000000000000000000006"
               "0x0000000000000000000000000000000000000000000000000000000000000005"
             ]
          -  "0xe72f7cc82a531b841eeb3b3a0ae1be6dad22bdec19b87a38f535df65c0ed4b06"
          +  "0x00b6b0f456d4b05f44bd2f7ad745e2350d8dfd0bd68cdda97c011e988ca58998"
           ]
    juztamau5 committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    84297a7 View commit details
    Browse the repository at this point in the history