Aniket
58a42443df
added a test helper with common constants ( #1400 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1206
6 years ago
Aniket
af42c39e6c
Improves Ownable events ( #1397 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1392
* event tests added
* constructor event added
6 years ago
Nicolás Venturo
3acc2b4216
Added a constructor to BreakInvariantBounty. ( #1395 )
6 years ago
Jakub Bogacz
f7e53d90fa
Add Arrays library with unit tests ( #1209 ) ( #1375 )
...
* Add Arrays library with unit tests (#1209 )
* prepared due to snapshot token requirements
* add library with method to find upper bound
* add unit test for basic and edge cases
* Imporove documentation for Arrays library
Simplify Arrays.test.js to use short arrays as test date
* Added comment for uint256 mid variable.
* Explaned why uint256 mid variable calculated as Math.average is safe to use as index of array.
6 years ago
Aniket
41f84f8b40
Removed selfdestruct from BreakInvariantBounty ( #1385 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1384
* introduced claimable and cancelBounty
* cancelBounty tests
* Update BreakInvariantBounty.test.js
6 years ago
Nicolás Venturo
b17de011dc
Removed old, unused mocks. ( #1382 )
6 years ago
Nicolás Venturo
308e5e9cc0
Removed unnecessary Secondary inheritance from RefundEscrow. ( #1381 )
6 years ago
Francisco Giordano
744f567f40
Separate ERC721Mintable ( #1365 )
...
* separate part of ERC721Mintable into ERC721MetadataMintable
* remove mint and burn from 721 tests
* Fixed linter error.
* fix ERC721 mint tests
* Minor fixes.
6 years ago
Aniket
b41b125c15
`this` is used in tests ( #1380 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1200
* suggested change
6 years ago
Aniket
fd4de77651
Replaces `amount` with `value` for consistency ( #1378 )
...
* fixes #1372
* done in ERC20Capped and ERC20Mintable
6 years ago
Francisco Giordano
ace14d3ad7
Add note about compiling artifacts to releasing steps ( #1377 )
...
* add note about compiling artifacts to release notes
* add explanation of truffle bug
6 years ago
Francisco Giordano
5c228805ad
Update issue templates ( #1376 )
...
* Update issue templates
* improve pull request template
* remove previous issue template
6 years ago
Aniket
c87433e0c2
Prevents Bounty from being claimed twice ( #1374 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1356
* Removed extra semicolon.
6 years ago
Aniket
f3888bb0b0
Removing unrequired `_burn()` override ( #1373 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1371
* Removed extra whitespace
6 years ago
Anton Bukov
43ebb4fc43
ERC20 internal transfer method ( #1370 )
6 years ago
Nicolás Venturo
f4d6f40442
Fixed test path.
6 years ago
Nicolás Venturo
269981ee6a
Created test utils directory
6 years ago
Nicolás Venturo
34bc709bc2
Merged latestTime, increaseTime and duration into a time helper. ( #1364 )
6 years ago
Aniket
6ae041bca6
Fix/#1355 test helper to check balance difference ( #1368 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* fixex #1355
* linting
* suggested changes
* Update BreakInvariantBounty.test.js
6 years ago
Aniket
fa1dfbd113
Fix #1358 Test helper to send funds ( #1367 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* fixes #1358
* linting done
* suggested changes
6 years ago
Nicolás Venturo
a6889776f4
Dangling commas are now required. ( #1359 )
6 years ago
Francisco Giordano
1a4e5346ed
Add SignatureBouncer test for when msg.data is too short ( #1360 )
...
* add test for msg.data too short
* fix test to hit that branch
* Update SignatureBouncer.test.js
6 years ago
Jakub Bogacz
536262f2ec
Feature/use expect event in test logs assertions #1232 ( #1343 )
...
* Add BigNumber support to expectEvent/inLogs (#1026 )
* switched direct logs array check to expectEvent method in AllowanceCrowdsale.test.js
* Refactor expectEvent.inLogs function to use simple value number check
* Introduced should.be.bignumber method to compare BigNumber values
* Use expectEvent to test logs (#1232 )
* Removed trailing space
6 years ago
Leo Arias
75c0a59bb4
Add missing tests to ECSDA ( #1248 )
...
* fix: refactor sign.js and related tests
* fix: remove unused dep
* fix: update package.json correctly
* Add missing tests to ECRecovery
* fix lint
* Reorganize the tests
* Reuse signature
* fix static errors
* Apply suggestions by @frangion and @nventuro
* Remove only
* More suggestions
* Remove unnecessary max-len
* remove only
6 years ago
Jakub Bogacz
947de54cee
Add BigNumber support to expectEvent/inLogs ( #1026 ) ( #1338 )
...
* Add BigNumber support to expectEvent/inLogs (#1026 )
* switched direct logs array check to expectEvent method in AllowanceCrowdsale.test.js
* Refactor expectEvent.inLogs function to use simple value number check
* Introduced should.be.bignumber method to compare BigNumber values
* Destructure transaction object to extract logs field
6 years ago
Nicolás Venturo
ae109f69cc
Improved bounty tests. ( #1350 )
...
* Improved bounty tests.
* Fixed linter errors.
* Addressed review comments.
6 years ago
Nicolás Venturo
5fdeaa81d5
Removed mintingFinished. ( #1351 )
...
* Removed mintingFinished from ERC20Mintable.
* Removed MintingFinished from ERC721Mintable.
* Removed MintingFinished event.
6 years ago
Nicolás Venturo
db2e1d2c74
Removed assertions from Escrow and SplitPayment. ( #1349 )
6 years ago
Leo Arias
396680b856
Add the missing test for ERC721Holder ( #1249 )
...
* Add the missing test for ERC721Holder
* fix lint
* Move the holder test to a separate file
6 years ago
Nicolás Venturo
21198bf1c1
Roles now emit events in construction and when renouncing. ( #1329 )
...
* release candidate v2.0.0-rc.1
* fix linter error
(cherry picked from commit c12a1c6898
)
* Roles now emit events in construction and when renouncing.
6 years ago
Francisco Giordano
9b37104655
Turn off blank-lines Solium rule ( #1284 )
...
* turn off blank-lines rule
* remove triple newlines
6 years ago
Francisco Giordano
3e55408cb5
Changes to Counter ( #1332 )
...
* rename Index.currentId to current
* use += operator for clarity
* rename Counter.Index to Counter.Counter
* move Counter to drafts
6 years ago
Martín
4b21fcf5af
Add Mock suffix to variable names #1172 ( #1324 )
...
* Add Mock suffix to variable names #1172
* Add Impl suffix to variable names
6 years ago
Roman Exempliarov
d062352de7
Remove lodash from tests ( #1323 )
6 years ago
Leo Arias
b4f87bb8fc
Rename AutoIncrementing to Counter ( #1307 )
6 years ago
Nicolás Venturo
225b492109
Fixed relative imports. ( #1321 )
6 years ago
Jakub Bogacz
7825caa1fd
Add unit test specific to Address utils ( #1251 ) ( #1316 )
6 years ago
dwardu
b79196f911
Fixed a broken payment test (+ another small fix) ( #1318 )
...
* Fixed a broken payment test
* In PR template, npm run lint:fix, not lint:all:fix
* In SplitPayment test, replaced an await-in-loop with Promise.all
6 years ago
Guillaume
d8cbd5554f
update Math.sol path ( #1319 )
6 years ago
Jerome de Tychey
b644c72eb0
Update ERC20.sol ( #1313 )
...
correct typo in doc
6 years ago
Francisco Giordano
0b8296e525
Fix README snippet typo
6 years ago
Francisco Giordano
651f6d8b57
fix readme snippet so it is concrete
6 years ago
Francisco Giordano
13b19612d6
add note about trying out 2.0
6 years ago
Francisco Giordano
c12a1c6898
fix linter error
6 years ago
Francisco Giordano
9f1e8086d9
include build directory in package ( #1311 )
6 years ago
Francisco Giordano
904b41ec79
Improve README ( #1309 )
...
* add logo
* new readme
* add large logo
* improve readme
* Update README.md
* add link to guides
* remove leftover sentence
6 years ago
Nicolás Venturo
2ce1fde405
Fixed variable shadowing. ( #1310 )
6 years ago
Facundo Spagnuolo
92133be7ea
Add ERC20 opt-in migration contract ( #1054 )
...
* Extract standard token behaviuor to reuse it in other tests
* Add opt in ERC20 migration contract
* Make migration contract not to depend from standard token
* Changes based on feedback
* Improve MigratableERC20 inline documentation
* move behaviors to behaviors directory
* refactor MigratableERC20 into ERC20Migrator
* fix errors
* change expectEvent to support multiple events with same name
* fix tests
* update documentation
* rename MigratableERC20 files to ERC20Migrator
* move to drafts
* test beginMigration
* rename to ERC20Migrator
* missing semicolon (╯°□°)╯︵ ┻━┻
* add non-zero check
* improve documentation based on review comments
* improve test descriptions
* improve docs
* add getters
* fix contract
* improve tests
6 years ago
Nicolás Venturo
4b33eaefa2
Improved ERC721 granularity ( #1304 )
...
* Split enumerable and metadata implementations.
* Renamed ERC721Basic to ERC721, and ERC721 to ERC721Full.
* Fixed linter errors.
6 years ago
Leo Arias
bafdcf0701
Remove CanReclaimToken ( #1306 )
6 years ago