aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/utils
Commit message (Collapse)AuthorAgeFilesLines
* Add combinatorial tests for internal Exchange functions (#807)Alex Browne2018-07-275-9/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP add combinatorial tests for internal Exchange functions * Change combinitorial testing strategy based on feedback * Check value of filled[orderHash] in updateFilledState tests * Add combinatorial tests for addFillResults * Add combinatorial tests for getPartialAmount * Implement generic `testWithReferenceFuncAsync` * Implement generic `testCombinatoriallyWithReferenceFuncAsync` * Add combinatorial tests for isRoundingError * Add combinatorial tests for calculateFillResults * Add support for Geth in internal contract tests * Fix contract artifacts * Change DECIMAL_PLACES to 78 and add a note. * Document new functions in utils * Optimize tests by only reseting state when needed * Rename/move some files * Print parameter names on failure in testWithReferenceFuncAsync * Add to changelog for utils package * Appease various linters * Rename some more things related to FillOrderCombinatorialUtils * Remove .only from test/exchange/internal.ts * Remove old test for isRoundingError and getPartialAmount * Appease linters again * Remove old todos * Fix typos, add comments, rename some things * Re-add some LibMath tests * Update contract internal tests to use new SafeMath revert reasons * Apply PR feedback from Amir * Apply PR feedback from Remco * Re-add networks to ZRXToken artifact * Remove duplicate Whitelist in compiler.json
* Add more tests and fixesAmir Bandeali2018-07-231-2/+2
|
* Fix minimal testsAmir Bandeali2018-07-232-164/+64
|
* Add tests to verify ZRX_ASSET_DATAAmir Bandeali2018-07-231-0/+2
|
* Move example contracts into new examples dirAmir Bandeali2018-07-231-4/+4
|
* Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-188-40/+59
|\
| * Merge pull request #884 from 0xProject/export-more-0x.jsFabio Berger2018-07-188-40/+59
| |\ | | | | | | Export missing V2 pieces from 0x.js
| | * Fix prettierFabio Berger2018-07-181-6/+2
| | |
| | * merge v2-prototypeFabio Berger2018-07-183-5/+19
| | |\
| | * | Rename decodeAssetDataId to decodeAssetProxyId for consistencyFabio Berger2018-07-184-11/+11
| | | |
| | * | Move encodeUint256 & decodeUint256 out of assetDataUtils since we don't want ↵Fabio Berger2018-07-182-0/+23
| | | | | | | | | | | | | | | | them exported
| | * | Rename assetProxyUtils to assetDataUtilsFabio Berger2018-07-176-36/+36
| | | |
* | | | MergeLeonid Logvinov2018-07-181-1/+1
|/ / /
* | | Merge pull request #883 from 0xProject/feature/tslint-improvementsLeonid Logvinov2018-07-1815-47/+49
|\ \ \ | |_|/ |/| | New tslint rules
| * | Fix tslint issuesLeonid Logvinov2018-07-1715-47/+49
| |/
* | Add tests for getOrderInfo and getOrdersInfoAmir Bandeali2018-07-181-0/+4
| |
* | Fix bugs having to do with block timestamps and order expirationTimesAlex Browne2018-07-172-5/+15
|/
* Use 0.4.10 in AssetProxyOwner, add readBytes4 to contract and remove LibBytesAmir Bandeali2018-07-112-2/+8
|
* Merge pull request #822 from 0xProject/v2-contract-wrappers-WIPLeonid Logvinov2018-07-064-7/+7
|\ | | | | V2 contract wrappers
| * Make it possible to configure block polling interval in base contract wrapperLeonid Logvinov2018-07-054-7/+7
| |
* | Merge pull request #522 from 0xProject/feature/contracts/forwarderJacob Evans2018-07-064-0/+238
|\ \ | |/ |/| Forwarding contract
| * Forwarding contract (squashed commits)Jacob Evans2018-07-064-0/+238
| |
* | Move NodeType caching out of web3-wrapper and into our internal codeAlex Browne2018-07-041-2/+8
| |
* | Add TransactionReceiptStatus type to ethereum-typesAlex Browne2018-07-041-2/+2
| |
* | Improve robustness of revert reason assertionsAlex Browne2018-07-033-61/+105
| |
* | Fix bug where 18 decimal tokens instead of 5 decimal tokens createdFabio Berger2018-07-021-1/+1
| |
* | Disable custom-no-magic-number for blockFabio Berger2018-07-021-0/+2
| |
* | Merge branch 'v2-prototype' into fix/five_decimal_scenarioFabio Berger2018-07-0229-0/+3451
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (75 commits) Update relayer grid tiles to use Text Fix build Update file structure Update 2.0.0 artifacts Move ledgerhq module declarations to typescript-typings Export LedgerEthereumClient type in subproviders Update artifacts Add logging and updated artifacts Fix migrations Run prettier Add Kovan artifacts Use ledger subprovider Add Kovan migrations Remove state variable from Link component in Portal Make registerAssetProxy append only Update staging api link Change getTransactionReceipt to awaitTransactionMined Move /docs route to the end Remove extra call to scrollIntoView for wallet in onboarding Update expectRevertReasonOrAlwaysFailingTransactionAsync to check status codes ...
| * Fix buildAmir Bandeali2018-06-303-25/+27
| |
| * Update file structureAmir Bandeali2018-06-3028-0/+3368
|/
* Move contract utilsLeonid Logvinov2018-05-242-377/+0
|
* Merge branch 'v2-prototype' into feature/truffle-sol-covLeonid Logvinov2018-05-241-1/+1
|\
| * Merge branch 'v2-prototype' into refactor/contracts/remove0xjsDepFabio Berger2018-05-231-7/+10
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Fix tslint issues Add `are` to boolean naming conventions Fix tslint Fix the tsutils version, fixing ts typings issue Rename some variables in multi_sig_with_time_lock.ts Remove extra awaitTransactionMinedAsync calls Update artifacts Update yarn.lock Fix warnings in Metacoin Upgrade UglifyJS to include ES6 support Add CancelOrder and MatchOrder types Add missing return types Ignore classnames linter rule Apply changes to test/exchange/match_orders.ts Fix some unhandled promise rejections Add awaitTransactionMinedAsync after every sent transaction Add missing blockchainLifecycle calls to contracts tests # Conflicts: # packages/contracts/src/utils/exchange_wrapper.ts # packages/contracts/test/asset_proxy/proxies.ts # packages/contracts/test/exchange/dispatcher.ts # packages/contracts/test/multi_sig_with_time_lock.ts
| * | Remove 0x.js dep from contractsFabio Berger2018-05-231-1/+1
| | |
* | | Parse compiler.json in SolCompilerArtifactsAdapterLeonid Logvinov2018-05-231-3/+1
| | |
* | | Fix a bug in CALL-like opcode handlingLeonid Logvinov2018-05-231-3/+3
| | |
* | | Rename ZeroExArtifactAdapter to SolCompilerArtifactAdapterLeonid Logvinov2018-05-231-2/+2
| | |
* | | Assign then returnLeonid Logvinov2018-05-231-1/+2
| | |
* | | Introduce CONFIG_FILELeonid Logvinov2018-05-231-1/+2
| | |
* | | Remove web3Factory.create and remove dev-tools dependency on sol-covLeonid Logvinov2018-05-231-0/+21
| |/ |/|
* | Fix tslint issuesFabio Berger2018-05-231-6/+9
| |
* | Add missing return typesRemco Bloemen2018-05-221-1/+1
|/
* orderFilledAmount -> orderTakerAssetFilledAmountGreg Hysen2018-05-191-12/+12
|
* Rebased against v2-prototypeGreg Hysen2018-05-191-2/+2
|
* Moved feeTokenAddress to MatchOrderTester constructor. Since it is constant, ↵Greg Hysen2018-05-191-118/+125
| | | | we dont need to pass it in on each call.
* Cleaned up interface for decoding proxy data. Added a general decoder, which ↵Greg Hysen2018-05-191-12/+10
| | | | should be useful for the forwarding contract code.
* Style improvements to the match orders typescript test classGreg Hysen2018-05-191-18/+14
|
* Style changes to atomic order matchingGreg Hysen2018-05-191-1/+0
|
* Atomic Order Matching - TestsGreg Hysen2018-05-191-0/+353
|
* Merge branch 'development' into v2-prototypeAmir Bandeali2018-05-163-39/+0
|\
| * Remove unused deployer docs configsLeonid Logvinov2018-05-101-1/+1
| |
| * Remove deployer from metacoin and contract testsLeonid Logvinov2018-05-102-19/+5
| |
* | Move utils dir into srcAmir Bandeali2018-04-211-1/+1
|/
* Simplify the testsFabio Berger2018-04-111-1/+1
|
* Move migrations into separate monorepo subpackage and hook it up to 0x.js ↵Fabio Berger2018-04-091-1/+1
| | | | and contracts
* Move away from using web3 directly in 0x.js testsFabio Berger2018-04-061-3/+4
|
* Fix testsLeonid Logvinov2018-04-051-2/+1
|
* Move our contract templates to accept Provider instead of Web3WrapperLeonid Logvinov2018-04-041-1/+2
|
* Make Deployer configurable by jsonrpcUrl instead of jsonrpcPortLeonid Logvinov2018-03-121-1/+1
|
* Rename useInProcessGanache to shouldUseInProcessGanacheLeonid Logvinov2018-03-121-1/+1
|
* Use in-process Ganache in contractsLeonid Logvinov2018-03-121-1/+2
|
* Add sol-cover implementationLeonid Logvinov2018-03-122-0/+8
|
* Fix artifacts pathAmir Bandeali2018-02-071-1/+1
|
* Rename directoriesAmir Bandeali2018-02-031-1/+1
|
* Remove truffle from testsLeonid Logvinov2018-01-301-0/+16
|
* Remove truffle from tokenTransferProxy testsLeonid Logvinov2018-01-301-0/+13