b6943263d2
Added "_" sufix to internal variables ( #1171 )
2018-08-29 08:59:18 -06: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
1c0532455a
Rename events to past-tense ( #1181 )
2018-08-28 20:14:06 -06:00
132994d286
Added Events tests of Pausable contract ( #1207 )
2018-08-28 13:58:44 -06:00
524a27674c
ci: trigger docs update on tag ( #1186 )
2018-08-28 10:37:11 -06:00
a23d42fc04
1.9.4
v1.9.4
2018-08-27 19:08:43 -03:00
2a2519414b
Update zos files for 1.9.4
2018-08-27 19:08:24 -03:00
c46f0353d1
Update ERC721 to latest 1.11.0 from OpenZeppelin-solidity ( #11 )
...
* Update ERC721 to latest 1.11.0 from OpenZeppelin-solidity
* Hardcode supported interfaces instead of using lookup table. This avoids shifting storage when extending supports interface.
* Update build artifacts
* Fix linter errors
2018-08-27 18:42:21 -03:00
a9f910d34f
Increase test coverage ( #1237 )
...
* Fixed a SplitPayment test
* Deleted unnecessary function.
* Improved PostDeliveryCrowdsale tests.
* Improved RefundableCrowdsale tests.
* Improved MintedCrowdsale tests.
* Improved IncreasingPriceCrowdsale tests.
* Fixed a CappedCrowdsale test.
* Improved TimedCrowdsale tests.
* Improved descriptions of added tests.
2018-08-24 19:23:11 -03:00
a466e76d26
Add some detail to releasing steps ( #1190 )
...
* add note about pulling upstream changes to release branch
* add comment about upstream changes in merging section
2018-08-24 09:17:52 -03:00
9e6307f34b
ERC721 pausable token ( #1154 )
...
* ERC721 pausable token
* Reuse of ERC721 Basic behavior for Pausable, split view checks in paused state & style fixes
* [~] paused token behavior
2018-08-24 07:02:54 -03:00
48fe7b8cbf
Changed .eq to .equal. ( #1231 )
2018-08-23 13:47:47 -07:00
8f4610e007
1.9.3
v1.9.3
2018-08-23 14:59:46 -03:00
63ca200016
Upgrade to 1.9.3
2018-08-23 14:59:30 -03:00
d87e833310
feat: add indexed _tokenId on Approval event for ERC721 ( #9 )
2018-08-23 14:25:24 -03:00
198dbf348c
1.9.2
v1.9.2
2018-08-23 12:05:55 -03:00
094677f179
Bump zos version to 1.9.2
2018-08-23 12:05:05 -03:00
e6167f1c0b
Add build artifacts to version control
2018-08-23 11:45:35 -03:00
23ddc9db2a
Update zos version
2018-08-23 11:28:20 -03:00
8443df3826
feat: indexed _tokenId on Transfer Event for ERC721 ( #6 )
2018-08-23 11:04:44 -03:00
d58fac8281
Added mint and burn tests for zero amounts. ( #1230 )
2018-08-23 06:07:34 -03:00
2adb491637
Add ERC165Query library ( #1086 )
...
* Add ERC165Query library
* Address PR Comments
* Add tests and mocks from #1024 and refactor code slightly
* Fix javascript and solidity linting errors
* Split supportsInterface into three methods as discussed in #1086
* Change InterfaceId_ERC165 comment to match style in the rest of the repo
* Fix max-len lint issue on ERC165Checker.sol
* Conditionally ignore the asserts during solidity-coverage test
* Switch to abi.encodeWithSelector and add test for account addresses
* Switch to supportsInterfaces API as suggested by @frangio
* Adding ERC165InterfacesSupported.sol
* Fix style issues
* Add test for supportsInterfaces returning false
* Add ERC165Checker.sol newline
* feat: fix coverage implementation
* fix: solidity linting error
* fix: revert to using boolean tests instead of require statements
* fix: make supportsERC165Interface private again
* rename SupportsInterfaceWithLookupMock to avoid name clashing
2018-08-22 12:07:53 -07:00
4fb9bb7020
Minor test style improvements ( #1219 )
...
* Changed .eq to .equal
* Changed equal(bool) to .to.be.bool
* Changed be.bool to equal(bool), disallowed unused expressions.
2018-08-22 16:05:18 -03:00
64c324e37c
remove arrow functions from js tests ( #1225 )
2018-08-21 16:30:14 -03:00
7618b91d9c
Fix balance and allowance checks in _burn and _burnFrom ( #1218 )
...
* fix off by one error in _burn and _burnFrom
* add tests for off-by-one error
* change amount used
2018-08-17 19:18:05 -03:00
20cf885430
No longer assigning awaits to temporary variables. ( #1216 )
2018-08-17 16:10:40 -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
b59b43fa44
Enforce linebreak style ( #1213 )
...
* Now forcing Unix linebreak style.
* Added linebreak style for Solidity files.
2018-08-16 14:31:09 -03:00
4dcdd293e8
StandardToken encapsulation ( #1197 )
...
* make StandardToken state variables private
* simplify mocks
* document new internal functions
* fix link to ERC20 document
* revert order of Transfer and Mint events
* Revert "simplify mocks"
This reverts commit 371fe3e567 .
* add tests for new internal functions
* add check for null account
* add checks for balances and allowance
* add inline docs to BurnableToken._burn
* remove redundant checks and clarify why
2018-08-16 13:03:40 -03:00
8d11dcc0e5
Increase testing coverage ( #1195 )
...
* Added non-target bounty test
* Increased ERC721 testing coverage.
* Addressed review comments.
* fix linter error
* Fixed linter error
* Removed unnecessary bouncer require
* Improved Crowdsale tests.
* Added missing SuperUser test.
* Improved payment tests.
* Improved token tests.
* Fixed ERC721 test.
* Reviewed phrasing.
2018-08-14 19:37:30 -03:00
d51e38758e
Math.average ( #1170 )
...
* Added Math.average
* Removed assertion.
2018-08-13 20:07:18 -03:00
e493d2a6ba
Merge branch 'release-v1.12.0'
2018-08-13 17:43:53 -03:00
9aa30e1960
Add Modulo operation for getting the quotient ( #915 )
...
* Add Modulo operation for getting the quotient
* Improved modulo tests and implementation.
* Removed assertion.
2018-08-13 17:40:48 -03:00
41e6b2e992
Make ERC721.exists internal ( #1193 )
...
* Made ERC721.exists internal.
* Removed exists ERC165 identifiers
2018-08-13 16:07:27 -03:00
f00fce53d7
switch to container-based travis run ( #1199 )
2018-08-13 08:34:36 -03:00
b52912c702
change dos file format to unix ( #1198 )
...
used dos2unix program
2018-08-13 06:39:00 -03:00
66c1968913
Changed SplitPayment require to assert. ( #1188 )
2018-08-12 15:34:37 -03:00
0e65947efb
Release v1.12.0
v1.12.0
2018-08-10 19:09:13 -03:00
ac91af9a6a
Replace all asserts with chai.should ( #1183 )
...
* Moving towards chai.should.
* Fixed failing tests.
* Fixed linter errors.
* Revert package-lock.json changes.
* Fixed failing tests.
* s/eq/equal
* Addressed review comment
2018-08-10 19:03:04 -03:00
a2e7103869
Improved SafeMath inline comments.
2018-08-10 17:34:34 -03:00
c9e91586e7
feat: use require in SafeMath ( #1187 )
...
* feat: use require in SafeMath
* fix: grammar with revert
2018-08-10 15:41:06 -03:00
6dab31288e
change author to OpenZeppelin Community ( #1173 )
2018-08-08 18:11:22 -03:00
31fc572abe
inLogs no longer returns a promise. ( #1169 )
2018-08-08 10:57:00 -07:00
4066b5e683
Made the visibility-first and max-len rules mandatory. ( #1139 )
2018-08-08 14:22:45 -03:00
e819416d04
SafeMath is now more consistent with itself. ( #1168 )
2018-08-08 11:21:23 -03:00
eca5bf9157
Deploy the contract with the designated owner ( #1161 )
...
* Deploy the contract with the designated owner
* Fixed TX origin.
2018-08-08 07:04:14 -03:00
a3e02be459
Initialize MAX_UINT more neatly ( #1166 )
...
Use 2 ^ 256 - 1 instead that huge constant value.
2018-08-08 06:58:04 -03:00
d124f18dde
add note about next tag in releasing document ( #1153 )
2018-08-07 16:33:50 -03:00
17309e5924
Change uint to uint256 ( #1160 )
...
This is a minor change, aligning to the same convention used in the other contracts.
2018-08-07 15:05:56 -03:00
94797978bb
SplitPayment now requires payees. ( #1131 )
...
* SplitPayment now requires payees.
* Improved test phrasing.
2018-08-06 16:21:34 -03:00