5a2b349992
Feature/erc777 #1159 ( #1684 )
...
* IERC777 from specs, constants returned, up to defaultOperators. (#1159 )
* IERC777 oprarator approvals (#1159 )
* ERC777 oprarator approvals fixes and tests
* IERC777 send and receive with ERC820 (#1159 )
* ERC777 Add burn functions and fix send functions (#1159 )
* ERC777 Make expectEvent compatible with web3.js 1.0 (#1159 )
* ERC777 Add ERC820 deploy script (#1159 )
* ERC777 Complete implementation of ERC777 (#1159 )
This implementation conforms to the current EIP
* ERC777 Update ERC820 Registry contract to final version (#1159 )
* ERC777 Move contracts to 'drafts' folder (#1159 )
* ERC777: Update to ERC1820 registry and linter error fix (#1159 )
* ERC777: implement recent changes of EIP777 (#1159 )
* ERC777 Fix formatting (#1159 )
* ERC777 Update to solc 0.5.2 (#1159 )
* ERC777 Fix travis CI errors (#1159 )
* ERC777 Fix linter errors again... (#1159 )
* ERC777 Fix unit test (#1159 )
* ERC777 Fix unit test again (#1159 )
* Remove extra newlines.
* Rename ERC777Base to ERC777.
* Remove 'Token' from contract names.
* Replace ops for operators.
* Move operator check out of _send.
* Remove ERC777Burnable.
* Remove ERC1820Client, now using the interface directly.
* Minor internal refactors in contracts.
* Delete extra test helpers.
* Simplified tests.
* Add basic 777 tests.
* Add granularity send test.
* Add first operator send tests.
* Add burn tests.
* Refactor send and burn tests.
* Improve send burn refactor.
* Greatly improve test module.
* Burn instead of send removed tokens.
* Add operator tests.
* Improve send tests under changing operators.
* Refactor and merge send and burn tests.
* Add missing and not-implemented tests.
* Make _burn private.
* Fix typo.
* Greatly improve tokensToSend tests.
* Refactor hook tests.
* Fix hook tests.
* Update openzeppelin-test-helpers and ERC1820 address.
* Fix natspec indentation.
* Make interface functions external.
* Remove redundant private revoke and authorize functions.
* Improved readability of if statement.
* Remove unnecessary asserts.
* Add non-one granularity test.
* Fix hook call order in _mint.
* Fix _mint not reverting on failure to implement tokensReceived.
* Remove special case in operatorFn when from is 0.
* Refactor ERC777SenderMock.
* Add tokensReceived tests.
* switch to updated ganache-cli-coverage fork
* Fix linter errors.
* Add mint tests.
* Fix linter errors.
* Fix tests.
* Update test/drafts/ERC777/ERC777.test.js
Co-Authored-By: nventuro <nicolas.venturo@gmail.com >
* Add changelog entry.
2019-04-16 13:13:46 -03:00
35d8e860ad
Remove unused files ( #1698 )
...
* Remove unused dependencies.
* Remove unused mock contracts.
2019-04-01 15:00:39 -03:00
cf7375d6b8
Update openzeppelin-test-helpers dependency.
2019-03-19 17:54:02 -03:00
308a4c9907
Draft EIP 1820 ( #1677 )
...
* Add barebones EIP1820 support.
* Update openzeppelin-test-helpers dependency to have ERC1820 support.
* Add tests for ERC1820.
* Improve inline documentation.
* Add changelog entry.
* Update test-helpers, refactor tests to use new helpers.
* Rename ERC1820 to ERC1820Implementer.
* Improve implementer docstring.
* Remove _implementsInterfaceForAddress.
* update openzeppelin-test-helpers to 0.2.0
* Update contracts/drafts/ERC1820Implementer.sol
Co-Authored-By: nventuro <nicolas.venturo@gmail.com >
* Fix how solidity coverage is run to allow for free events.
* Fix coverage testing script.
2019-03-19 15:13:55 -03:00
9ed1b44865
Release v2.2.0
2019-03-14 18:44:19 -03:00
1e5295d304
Release candidate v2.2.0-rc.1
2019-03-07 12:52:10 -03:00
5b93137c26
Merge branch 'release-v2.1.3'
2019-02-26 17:15:07 -03:00
77d569d8fa
Release v2.1.3
2019-02-26 16:29:24 -03:00
a09cf147ea
Bring back coverage report. ( #1620 )
...
* Add back solidity-coverage (using fork).
* Pin fork version.
2019-01-23 13:30:34 -03:00
8617c4b4c8
Release v2.1.2
2019-01-18 15:45:25 -03:00
96432bf28e
Renamed test/behavior to test/behaviors.
2019-01-18 15:44:59 -03:00
d9a8cd2bef
Only publish the test suite behavior subdirectory
2019-01-17 20:24:53 -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
ae02103e47
Release v2.1.1
2019-01-04 18:40:49 -03:00
4f5715bbd7
Release v2.1.0
2019-01-04 17:39:42 -03:00
76abd1a41e
Replaced Solium in favor of Solhint ( #1575 )
...
* Adding solhint, working on style fixes.
* Upgraded to solhint 1.5.0.
* Removed all references to Solium
* Updated mocks to make the pass the new linter rules.
* Reformatted the .solhint.json file a bit.
* Removed Solium configuration files.
* Remove Solium dependency.
* Add comment explaing disabled time rule in TokenVesting.
* Revert to the old (ugly?) style.
* Revert SignatureBouncerMock style.
* Fix ERC165InterfacesSupported interface.
2019-01-04 17:01:52 -03:00
40f08a8c0b
Release candidate v2.1.0-rc.2
2018-12-27 16:25:02 -03:00
be5ed7364b
Release v2.1.0 solc 0.5.x ( #1568 )
...
* Now compiling in a separate directory using truffle 5.
* Ported to 0.5.1, now compiling using 0.5.1.
* test now also compiles using the truffle 5 hack.
* Downgraded to 0.5.0.
* Sorted scripts.
* Cleaned up the compile script a bit.
2018-12-20 12:26:43 -03:00
02f9727dd8
Release candidate v2.1.0-rc.1
2018-12-18 17:31:32 -03:00
a99b9da3d4
Automate build step ( #1551 )
...
* remove note that was fixed in #1526
* add build script
* add prepack script
* remove custom compilation steps
2018-12-12 15:36:00 -03:00
b7d56d5471
Added explicity pify dep, deprecating web3.eth. ( #1532 )
...
* Added explicity pify dep, deprecating web3.eth.
* Dropped promisify in favor of pify.
2018-12-03 19:15:30 -03:00
41c540fb1e
Update to ganache-cli@6.1.8 ( #1535 )
2018-12-03 18:07:37 -03:00
e7d6e86395
Make Truffle provider creation lazy ( #1526 )
...
* make provider creation lazy
* change getter for function
* remove unused networks from truffle config
* remove unused dotenv package
* remove truffle-hdwallet-provider dependency
* install ethereumjs-util
* replace sha3 with keccak256 for ethereumjs-util v6
2018-12-02 00:09:58 -03:00
88e8c7c94b
Updated eslint-mocha-no-only. ( #1533 )
2018-12-01 01:43:25 -03:00
714ab21a6e
Added mocha-no-only ESlint plugin. ( #1529 )
2018-11-29 19:10:43 -03:00
c2de8ffd14
Now testing events in constructors! ( #1511 )
...
* Added inTransaction tests.
* Added expectEvent.inConstructor.
* Changed inTransaction, removed decodeLogs.
* Flipped comparison to improve the error message.
* Improved expectEvent tests.
* Migrated tests to use expectEvent.
* Added roles constructor tests.
* Fixed linter errors.
* Made lodash a dev dependency.
* Added more inLogs tests.
* Update expectEvent.test.js
* Removed lodash.
* Moved role constructor tests to public role behavior.
* Revert "Flipped comparison to improve the error message."
This reverts commit 438c57833d .
* Replaced chai-as-promised with shouldFail.
2018-11-27 17:56:26 -03:00
06e265b38d
Release v2.0.0
2018-10-21 15:33:49 +00:00
7789814606
Release candidate v2.0.0-rc.4
2018-10-21 00:54:34 +00:00
2d30918149
Release candidate v2.0.0-rc.3
2018-10-04 11:17:57 -03:00
dac5bccf80
release candidate v2.0.0-rc.2
2018-09-18 19:22:04 -03:00
735996e983
release candidate v2.0.0-rc.1
2018-09-07 14:44:01 -03:00
9f1e8086d9
include build directory in package ( #1311 )
2018-09-07 14:34:57 -03:00
1c57637fd5
fix: refactor sign.js and related tests ( #1243 )
...
* fix: refactor sign.js and related tests
* fix: remove unused dep
* fix: update package.json correctly
2018-08-29 06:35:44 -03:00
df9426f989
tests: use stages for the travis execution ( #967 )
...
* tests: use stages for the travis execution
Fixes #694
* add comments as suggested by @nventuro
* move the unit tests first, as suggested by @frangio
* make stages clearer as suggested by @nventuro
* tests: use stages for the travis execution
Fixes #694
* add comments as suggested by @nventuro
* move the unit tests first, as suggested by @frangio
* make stages clearer as suggested by @nventuro
* update the stage names as suggested by @frangio
* Run all tests in parallel
* added names
2018-08-17 12:09:43 -03:00
e493d2a6ba
Merge branch 'release-v1.12.0'
2018-08-13 17:43:53 -03:00
0e65947efb
Release v1.12.0
2018-08-10 19:09:13 -03:00
6dab31288e
change author to OpenZeppelin Community ( #1173 )
2018-08-08 18:11:22 -03:00
59cb2e2d0f
release candidate v1.12.0-rc.2
2018-08-03 15:47:22 -03:00
3806d6128e
release candidate v1.12.0-rc.1
2018-08-01 15:00:38 -03:00
ca9e317259
Update Truffle and Solium ( #1105 )
...
* fixed visibility warnings
* solved visibility and line length warning
* change a test assertion that fails due to chai dependence update
* linter, constructor style and solved visibility warnings
* Changed Windows line endings to Unix.
2018-08-01 10:11:37 -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
7dbb7a8b8e
Merge branch 'release-v1.11.0'
2018-07-19 18:01:53 -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
cc9fa57777
v1.11.0
2018-07-13 17:07:14 -03:00
eb4dfea6e9
v1.11.0-rc.1
2018-07-03 19:32:58 -03:00
fd253d6b8d
Fix dependency warnings ( #1053 )
...
* update package-lock generated by npm
* run npm audit fix
2018-06-30 17:39:28 -03:00
5daaf60d11
Make contracts 4.24 compatible ( #951 )
...
* Make contracts 4.24 compatible
2018-06-13 11:34:32 -07:00
259b9da3e6
add 165 to 721 ( #972 )
...
* make _tokenId indexed in Transfer and Approval events
via: https://github.com/ethereum/EIPs/pull/1124/files
* fix: make name() and symbol() external instead of public
* feat: implement ERC721's ERC165
* feat: erc165 tests
* fix: don't use chai-as-promised in direct await
* fix: reorganize to /introspection
* feat: abstract all erc165 tests to a behavior
* feat: disallow registering 0xffffffff
2018-06-08 18:50:12 -03:00
feb665136c
1.10.0
2018-06-05 17:40:24 -03:00
ad12381549
update constructor syntax for solidity 0.4.23 in numerous contracts ( #921 )
...
* update solidity-coverage to ^0.5.0
* update truffle dependency to ^4.1.8
* update solium to ^1.1.7
* update all contracts to solidity ^0.4.23
2018-05-08 18:02:00 -07:00