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/#1355 test helper to check balance difference #1368

Merged
merged 15 commits into from
Oct 1, 2018

Conversation

Aniket-Engg
Copy link
Contributor

Fixes #1355

πŸš€ Description

Test helper to check balance difference, tested in BreakInvariantBounty.test.js

  • πŸ“˜ I've reviewed the OpenZeppelin Contributor Guidelines
  • βœ… I've added tests where applicable to test my new functionality.
  • πŸ“– I've made sure that my contracts are well-documented.
  • 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:fix).

Copy link
Contributor

@nventuro nventuro left a comment

Choose a reason for hiding this comment

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

Great @Aniket-Engg, thanks a lot! Looks like multiple files were also committed here, undoing previous PRs of ours: make sure you create your branch from an updated master branch to prevent this sort of issues. Could you remove those from this PR?

test/helpers/balanceDiff.js Outdated Show resolved Hide resolved
test/helpers/balanceDiff.js Outdated Show resolved Hide resolved
@nventuro nventuro added feature New contracts, functions, or helpers. tests Test suite and helpers. labels Oct 1, 2018
Copy link
Contributor

@nventuro nventuro left a comment

Choose a reason for hiding this comment

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

Great @Aniket-Engg, thanks a lot! This will be very helpful for the planned helpers package 😁

@nventuro nventuro merged commit 6ae041b into OpenZeppelin:master Oct 1, 2018
@Aniket-Engg Aniket-Engg deleted the fix/#1355 branch October 1, 2018 16:11
@Aniket-Engg
Copy link
Contributor Author

Your most welcome @nventuro

come-maiz pushed a commit that referenced this pull request Oct 21, 2018
* signing prefix added

* Minor improvement

* Tests changed

* Successfully tested

* Minor improvements

* Minor improvements

* Revert "Dangling commas are now required. (#1359)"

This reverts commit a688977.

* fixex #1355

* linting

* suggested changes

* Update BreakInvariantBounty.test.js

(cherry picked from commit 6ae041b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New contracts, functions, or helpers. tests Test suite and helpers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add test helper to check balance difference
2 participants