Leo Arias
f4eb51a7e9
Improve encapsulation on SignatureBouncer, Whitelist and RBAC example ( #1265 )
...
* Improve encapsulation on Whitelist
* remove only
* update whitelisted crowdsale test
* Improve encapsulation on SignatureBouncer
* fix missing test
* Improve encapsulation on RBAC example
* Improve encapsulation on RBAC example
* Remove extra visibility
* Improve encapsulation on ERC20 Mintable
* Improve encapsulation on Superuser
* fix lint
* add missing constant
7 years ago
Nicolás Venturo
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.
7 years ago
Nicolás Venturo
20cf885430
No longer assigning awaits to temporary variables. ( #1216 )
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
Nicolás Venturo
567b773242
Prefer const in test files ( #1117 )
...
* Removed all instances of var.
* Sorted eslintrc rules.
* Made eslint rule severity explicit.
* Now prefering const over let.
7 years ago
Justus Perlwitz
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
7 years ago
Nicolás Venturo
67b67b791e
Changed before for beforeAll, refactored Bouncer tests. ( #1094 )
...
* Changed before for beforeAll, refactored Bouncer tests.
* Fixed linter errors.
* fix: updates for SignatureBouncer tests and voucher construction
7 years ago
Nicolás Venturo
cea2a85a42
Remove Babel ( #1074 )
...
* Test helpers no longer rely on Babel.
* Behaviours are no longer imported.
* Removed Babel dependency.
* Fixed linter errors.
7 years ago
Matt Condon
92b695f2fb
Fix/whitelisted crowdsale ( #981 )
...
* fix: swithc WhitelistedCrowdsale to use Whitelist.sol
* feat: refactor whitelist.sol, rbac.sol and whitelistedcrowdsale.sol
* feat: add event arg assets and update whitelist
* fix: update modifier comment and also test isWhitelisted
* fix: remove onlyWhitelisted backwards compat attempt, fix explicit inheritance
* fix: remove underscore prefix from event args
* fix: user access/Whitelist
7 years ago
Matt Condon
4223c9d50e
feat: refactor whitelist.sol to use RBAC ( #893 )
...
* feat: refactor whitelist.sol to use RBAC
* fix: remove poor backwards compat attempt
7 years ago
medvedev1088
d1146e8c8b
Add Whitelist contract ( #746 )
...
* Add Whitelist contract
7 years ago