Nicolás Venturo
20cf885430
No longer assigning awaits to temporary variables. ( #1216 )
7 years ago
Leo Arias
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
7 years ago
Nicolás Venturo
b59b43fa44
Enforce linebreak style ( #1213 )
...
* Now forcing Unix linebreak style.
* Added linebreak style for Solidity files.
7 years ago
Francisco Giordano
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
7 years ago
Nicolás Venturo
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.
7 years ago
Nicolás Venturo
d51e38758e
Math.average ( #1170 )
...
* Added Math.average
* Removed assertion.
7 years ago
Francisco Giordano
e493d2a6ba
Merge branch 'release-v1.12.0'
7 years ago
jeano
9aa30e1960
Add Modulo operation for getting the quotient ( #915 )
...
* Add Modulo operation for getting the quotient
* Improved modulo tests and implementation.
* Removed assertion.
7 years ago
Nicolás Venturo
41e6b2e992
Make ERC721.exists internal ( #1193 )
...
* Made ERC721.exists internal.
* Removed exists ERC165 identifiers
7 years ago
Francisco Giordano
f00fce53d7
switch to container-based travis run ( #1199 )
7 years ago
Francisco Giordano
b52912c702
change dos file format to unix ( #1198 )
...
used dos2unix program
7 years ago
Nicolás Venturo
66c1968913
Changed SplitPayment require to assert. ( #1188 )
7 years ago
Francisco Giordano
0e65947efb
Release v1.12.0
7 years ago
Nicolás Venturo
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
7 years ago
Nicolás Venturo
a2e7103869
Improved SafeMath inline comments.
7 years ago
Brett Sun
c9e91586e7
feat: use require in SafeMath ( #1187 )
...
* feat: use require in SafeMath
* fix: grammar with revert
7 years ago
Francisco Giordano
6dab31288e
change author to OpenZeppelin Community ( #1173 )
7 years ago
Nicolás Venturo
31fc572abe
inLogs no longer returns a promise. ( #1169 )
7 years ago
Nicolás Venturo
4066b5e683
Made the visibility-first and max-len rules mandatory. ( #1139 )
7 years ago
Nicolás Venturo
e819416d04
SafeMath is now more consistent with itself. ( #1168 )
7 years ago
barakman
eca5bf9157
Deploy the contract with the designated owner ( #1161 )
...
* Deploy the contract with the designated owner
* Fixed TX origin.
7 years ago
barakman
a3e02be459
Initialize `MAX_UINT` more neatly ( #1166 )
...
Use 2 ^ 256 - 1 instead that huge constant value.
7 years ago
Francisco Giordano
d124f18dde
add note about next tag in releasing document ( #1153 )
7 years ago
barakman
17309e5924
Change `uint` to `uint256` ( #1160 )
...
This is a minor change, aligning to the same convention used in the other contracts.
7 years ago
Nicolás Venturo
94797978bb
SplitPayment now requires payees. ( #1131 )
...
* SplitPayment now requires payees.
* Improved test phrasing.
7 years ago
yaronvel
31ac59b224
reentrancy mutex gas optimization ( #1155 )
...
* reentrancy mutex gas optimization
* 1) uint => uint256 2) ++ to += 1
7 years ago
Francisco Giordano
bf34911857
Remove Math.min64 and Math.max64 ( #1156 )
...
* remove Math.min64 and Math.max64
* refactor Math tests to use return values
* enhance Math coverage
7 years ago
Francisco Giordano
59cb2e2d0f
release candidate v1.12.0-rc.2
7 years ago
Nicolás Venturo
ba85aef95e
Renamed behaviour to behavior. ( #1151 )
7 years ago
Nicolás Venturo
448a7b3048
Fixed HasNoTokens test. ( #1149 )
7 years ago
Doug Crescenzi
ef347ffccc
Consolidated ERC20 Interface and Implementation Files ( #1125 )
...
* Consolidted ERC20 Interface and Implementation Files
* Fixed CanReclaimToken's tests to use StandardTokenMock instead of BasicTokenMock
* Changed token's variable type in TokenTimelock to ERC20
* Merged the StandardBurnableToken with BurnableToken since it now inherits from StandardToken; Fixed TokenTimelock so it uses SafeERC20 for ERC20
* Fixed variable type for _token in TokenTimelock constructor
* Fixed linting warning in BurnableToken
* Added back burnFrom tests.
7 years ago
Nicolás Venturo
418a6b5791
Crowdsale inheritance order ( #1128 )
...
* Changed Crowdsale inheritance order.
* Changed FinalizableCrowdsale inheritance order.
(cherry picked from commit 3d86c58d2c
)
7 years ago
Nicolás Venturo
3d86c58d2c
Crowdsale inheritance order ( #1128 )
...
* Changed Crowdsale inheritance order.
* Changed FinalizableCrowdsale inheritance order.
7 years ago
Nicolás Venturo
e77d70f8c1
Remove .babelrc
7 years ago
Nicolás Venturo
4544df47da
All tests now use account names, and dont use accounts[0] (except ERC… ( #1137 )
...
* All tests now use account names, and dont use accounts[0] (except ERC721)
* Added account names to some missing contracts.
7 years ago
Leo Arias
f49721576f
Remove abbreviations from parameters ( #1142 )
...
* Add an initial document for our code style
* Remove abbreviations from parameters
* Rename the param in AddressUtils
* fix comment
7 years ago
Shishir Sonekar
7fdca7b025
updated the typo in Readme ( #1143 )
7 years ago
Leo Arias
1dcefa6bd3
Add an initial document for our release process ( #1140 )
...
* Add an initial document for our release process
* add more detail and explanation to releasing guide
* fix details of the RELEASING.md document
* Update RELEASING.md
* Update RELEASING.md
* Update RELEASING.md
* Update RELEASING.md
7 years ago
Leo Arias
89ccb03e6e
Add an initial document for our code style ( #1141 )
...
* Add an initial document for our code style
* add parameter types
7 years ago
Nicolás Venturo
5ae8aa4e2e
Updated package-lock.json
7 years ago
Francisco Giordano
3806d6128e
release candidate v1.12.0-rc.1
7 years ago
Nicolás Venturo
052fd3425d
Made the visibility-first rule mandatory.
7 years ago
Nicolás Venturo
4d799f3cbe
Sorted .soliumrc.json rules.
7 years ago
Nicolás Venturo
07a27f0e5e
Disabled Solium's error-reason rule. ( #1138 )
7 years ago
Vittorio Minacori
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.
7 years ago
Nicolás Venturo
9638ecd87a
Typo fix.
7 years ago
Roman Storm
56735a706c
Use address(this) instead of this ( #1134 )
...
* Use address(this) instead of this
It's preferred to use `address(this)` vs `this`
* Change to address(this) vs this
7 years ago
Leo Arias
2765350248
Prefix all parameters with underscore ( #1133 )
7 years ago
Alex
1200969eb6
Refactor/reentrancy guard gas optimization #1056 ( #1057 )
...
* optimizing ReentrancyGuard gas usage
* style fixed
7 years ago
Brendan Chou
90b98a7bef
Add pure to tokenFallback function ( #1122 )
...
Silences warning
7 years ago