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
Leonardo
99e4b081dc
ECRecover test should revert because of wrong calldata size ( #1050 )
...
* Assume that token is mintable.
* ECRecover test should revert because of wrong calldata size
* fix: use expectThrow
* fix: ignore failing test until solc^0.5.0
7 years ago
Matt Condon
6a7114fdb4
Bouncer contract implementation ( #883 )
...
* feat: implement bouncer contracts
* fix: rename Bouncer to SignatureBouncer
7 years ago
Francisco Giordano
a7e91856f3
Update to Truffle 4.1.5 and Ganache 6.1.0 ( #876 )
...
* Update to ganache-cli v6.1.0 and truffle v4.1.0
* Update to stable version of ganache-cli
* fix: update event emission warning
- Fix event emission warnings for solidity 4.21 after truffle has been
updated to use this version
* fix pr review comments
* update to truffle v4.1.5
* update package-lock
* add additional emit keywords
* update solidity-coverage to 0.4.15
* update to solium 1.1.6
* fix MerkleProof coverage analysis by testing through wrapper
* change version pragma to ^0.4.21
* fix solium linting errors
7 years ago
Chenyang Wu
e299a7950e
Change ECRecovery recover method's visibility to internal ( #818 )
...
* Change ECRecovery recover method's visibility to internal
* Adopt the test
* Remove unused imports
7 years ago
Matt Condon
f4228f1b49
fix: reference contract name rather than filepath ( #698 )
7 years ago
AugustoL
4fbd44fd40
Reorganize tests and add library folder
7 years ago
AugustoL
edbc64f337
Add missing semicolon in ECRecovery test
7 years ago
AugustoL
c73861d8b3
Use test message in ECRecovery tests and fix typos
7 years ago
AugustoL
d78bcbbae5
change web3.eth.accounts for accounts in ECRecovery test
7 years ago
AugustoL
326df13bf3
Add ECRecoveryMock contract
7 years ago
Matt Condon
d07bdccc0c
feat: manually fix linting errors across tests
7 years ago
Matt Condon
58abd66969
feat: rename all test files to include .test.js postfix
7 years ago
Matt Condon
8662846838
feat: apply eslint --fix across project
7 years ago
AugustoL
4f44427966
Added function helper, few changes on ECRecover lib
8 years ago
Augusto
f8c0fab5d8
Fixed tests and few changes on contract comments
8 years ago
Augusto
478d1b1a93
Removed safeRecover, using ecrecover method instead, recovering signature from entire hash
8 years ago
AugustoL
68c2bcb9dd
Removed .only on ECRecovery tests
8 years ago
Augusto
635c04378d
Removed ECRecovery mock contract, ECRecovery funcions are public constants
8 years ago
Augusto
4201d50dcf
ECRecovery library added with test and docs
8 years ago