|
|
3274d9db00
|
Upgrade to @openzeppelin/test-helpers@0.5.1 (#1942)
|
2019-10-10 19:38:23 -03:00 |
|
|
|
5d34dbecea
|
Functions in SafeMath contract overloaded to accept custom error messages (#1828)
* Imporvement: functions in SafeMath contract overloaded to accept custom error messages.
* CHANGELOG updated, custom error messages added to ERC20, ERC721 and ERC777 for subtraction related exceptions.
* SafeMath overloads for 'add' and 'mul' removed.
* Error messages modified.
* Update CHANGELOG.md
|
2019-07-29 15:23:34 -03:00 |
|
|
|
a71c3bce32
|
Update test-helpers to v0.4.0. (#1770)
|
2019-05-24 13:36:15 -03:00 |
|
|
|
3682c6575c
|
Added message string for require() (#1704)
* Error handling in ERC20 and ERC721
* Added message string for require.
* Fixed solhint errors.
* Updated PR as per issue #1709
* changes as per #1709 and openzeppelin forum.
* Changes in require statement
* Changes in require statement
* build pipeline fix
* Changes as per @nventuro's comment.
* Update revert reason strings.
* Fianal update of revert reason strings.
* WIP: Updating reason strings in test cases
* WIP: Added changes to ERC20 and ERC721
* Fixes linting errors in *.tes.js files
* Achieved 100% code coverage
* Updated the test cases with shouldFail.reverting.withMessage()
* Fix package-lock.
* address review comments
* fix linter issues
* fix remaining revert reasons
|
2019-04-24 11:17:08 -03:00 |
|
|
|
547a5f242a
|
Add extcodesize check to SafeERC20. (#1662)
* Add extcodesize check to SafeERC20.
* Clarify some comments.
* Replace inline assembly with Address.sol.
|
2019-03-06 14:11:08 -03:00 |
|
|
|
41aa39afbc
|
Add no-return-data ERC20 support to SafeERC20. (#1655)
* Add no-return-data ERC20 support to SafeERC20.
* Add changelog entry.
* Replace abi.encodeWithSignature for encodeWithSelector.
* Remove SafeERC20 test code duplication.
* Replace assembly for abi.decode.
* Fix linter errors.
|
2019-02-28 17:34:46 -03:00 |
|
|
|
3e82db2f6f
|
Migration to truffle 5 (and web3 1.0 (and BN)) (#1601)
* Now compiling using truffle 5.
* Migrated some test files, missing BN scientific notation usage.
* Now using BN time values.
* Migrate ERC20 tests.
* Migrate all ERC20 tests.
* Migrate utils, payment and ownership tests.
* All tests save ERC721 migrated.
* Migrated ERC721 tests.
* Fix lint errors.
* Delete old test helpers.
* Fix remaining crowdsale tests.
* Fix signature bouncer tests.
* Update how constants is used.
* Compile script pre-removes the build dir.
* Fix SafeMath tests.
* Revert "Compile script pre-removes the build dir."
This reverts commit 247e745113.
* Fix linter errors.
* Upgrade openzeppelin-test-helpers dependency.
* Update openzeppelin-test-helpers dependency.
* Define math constants globally.
* Remove unnecessary ether unit.
* Roll back reduced ether amounts in tests.
* Remove unnecessary toNumber conversions.
* Delete compile script.
* Fixed failing test.
|
2019-01-14 19:11:55 -03:00 |
|
|
|
70fd243e3b
|
Test setup helper added (#1482)
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4.
* updates
* fixes #1404
* approve failing test
* suggested changes done
* ISafeERC20 removed
* conflict fixes
* fixes #1205
* minor change
* suggested changes
* reviewed changes
* final update
|
2018-12-07 13:32:48 -03:00 |
|
|
|
315f426f5c
|
Improved SafeERC20 allowance handling (#1407)
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4.
* updates
* fixes #1404
* approve failing test
* suggested changes done
* ISafeERC20 removed
* allowance methods in library
* Improved SafeERC20 tests.
* Fixed test coverage.
|
2018-10-18 12:25:03 -03:00 |
|
|
|
b0da0fded0
|
Replaced assertJump, assertRevert and expectThrow with shouldFail. (#1363)
* Replaced assertJump, assertRevert and expectThrow with shouldFail.
* Fixed linter errors.
* Fixed typo.
* Made the helpers async.
|
2018-10-09 16:23:55 -03:00 |
|
|
|
e6c15b34da
|
Remove chai-as-promised (#1116)
* Test: Remove chai-as-promised calls
* Test/Helpers: expectThrow accepts optional message
* NPM: Remove chai-as-promised
* Contracts/DestructibleMock: Fix lint
|
2018-07-26 11:53:33 -03:00 |
|
|
|
cea2a85a42
|
Remove Babel (#1074)
* Test helpers no longer rely on Babel.
* Behaviours are no longer imported.
* Removed Babel dependency.
* Fixed linter errors.
|
2018-07-18 19:37:16 -03:00 |
|
|
|
85f079ee89
|
Removing more asserts in favor of require (#834)
* Removed asserts and replaced them in favor of require
* Adapted tests to work with requires
|
2018-05-03 14:04:02 -03:00 |
|
|
|
f4228f1b49
|
fix: reference contract name rather than filepath (#698)
|
2018-01-25 11:52:51 -03:00 |
|
|
|
b67856c69d
|
Separate ERC20 and ERC827 form tokens implementations in contracts and test folders
|
2018-01-17 16:24:29 -03:00 |
|