10000 Add transfer / send unit test. Use Node7 by cgewecke · Pull Request #108 · sc-forks/solidity-coverage · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add transfer / send unit test. Use Node7 #108

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

Merged
merged 2 commits into from
Sep 13, 2017
Merged

Add transfer / send unit test. Use Node7 #108

merged 2 commits into from
Sep 13, 2017

Conversation

cgewecke
Copy link
Member
@cgewecke cgewecke commented Sep 12, 2017

This PR adds a unit test to validate a fix in ethereumjs-vm-sc for the transfer / send bug discovered in #106. Test is skipped because it will fail pending the vm change.

@area I wrote this using await/async and I've bumped the circle.yml and eslint up to Node 7. If this is troubling (irritating?) - let me know. I'll revert without complaint. 🙂

It's nice for our tests but we probably shouldn't use any V7 features in the tool itself until truffle and/or testrpc make the same move.

Requesting a review from you re: node.

@codecov-io
Copy link
codecov-io commented Sep 12, 2017

Codecov Report

Merging #108 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #108   +/-   ##
=======================================
  Coverage   97.56%   97.56%           
=======================================
  Files           6        6           
  Lines         370      370           
  Branches       84       84           
=======================================
  Hits          361      361           
  Misses          9        9

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 05e0239...f6a2d6d. Read the comment docs.

@cgewecke
Copy link
Member Author
cgewecke commented Sep 12, 2017

Have now:

  • patched opFns.js so it grants a callStipend of 230000 (normally: 2300)
  • published a new testrpc-sc with that change: 4.0.3
  • bumped testrpc-sc's version in this PR
  • unskipped the send / transfer test.

Believe this works and should fix the bug. I've also E2E validated the testrpc-sc changes by running this branch against our Zeppelin fork here.

Unless anyone has improvements to suggest, will probably merge and publish this tomorrow.

@cgewecke cgewecke mentioned this pull request Sep 12, 2017
5 tasks
Copy link
Contributor
@area area left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issue with node changes here. I like async/await too!

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

Successfully merging this pull request may close these issues.

3 participants
0