aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test
Commit message (Collapse)AuthorAgeFilesLines
* Use correctly formatted signature so that it rejects with the expected ↵Fabio Berger2018-11-121-1/+2
| | | | reason and not because the signature is mal-formatted
* Use rejectedWithFabio Berger2018-11-121-2/+2
|
* Fix validateOrderFillableOrThrowAsync method so it also checks order ↵Fabio Berger2018-11-091-0/+12
| | | | signature, cancelled, cancelledUpTo, and throws helpful error messages
* chore: change package org from 0xproject to 0xJacob Evans2018-10-1814-55/+55
|
* Remove ContractNotFound errors in contract-wrappersAlex Browne2018-10-162-46/+0
|
* In contract-wrappers, remove setProvider and add unsubscribeAll method.Alex Browne2018-10-164-8/+8
|
* Fix linter errors in contract-wrappersAlex Browne2018-10-161-2/+0
|
* Improve error handling for unknown network ids in contract-wrappersAlex Browne2018-10-161-3/+1
|
* Use contractAddresses directly in revert_validation_test.tsAlex Browne2018-10-161-6/+4
|
* Introduce new contract-addresses package and use it everywhereAlex Browne2018-10-164-5/+7
|
* Appease linterAlex Browne2018-10-163-2/+7
|
* Add new runMigrationsOnce method to migrations. Update contract-wrappers to ↵Alex Browne2018-10-1613-55/+65
| | | | use it.
* Fix linter errors in contract-wrappersAlex Browne2018-10-165-6/+5
|
* update contract_wrappers to use new artifacts and abi-gen wrappers packagesAlex Browne2018-10-161-7/+3
|
* Remove artifacts from migrations package and update contract-wrappers ↵Alex Browne2018-10-1614-153/+136
| | | | accordingly
* Update contract-wrappers package to use new contracts package for generated ↵Alex Browne2018-10-161-5/+3
| | | | files
* feat(contract-wrappers): add optional validation to the forwarder wrapperBrandon Millman2018-10-131-0/+48
| | | | | | | | Similar to the approach taken in exchange wrapper, make a call to an rpc node in order to simulate the transaction before actually sending the transaction. The decorator will parse revert reasons and other types of errors into canonical errors that a consumer of the library expects when interacting with a contract wrapper.
* Introduce Metamask Subprovider.Jacob Evans2018-10-051-7/+2
| | | | MM has a number of inconsistencies with other providers when implementing the JSON RPC interface. This subprovider wraps those nuances so they do not leak into the rest of our code
* Fix linter issueLeonid Logvinov2018-10-026-34/+22
|
* Handle revert with reason when decoding call resultJacob Evans2018-09-282-1/+123
| | | | | | We use in-process ganache which throws on an RPC error. This means all of our tests get a nice revert error thrown when testing against ganache. This is not possible with RPC providers and a revert with reason result is returned. Our callAsync doesn't handle this and attempts to decode the revert with reason error log as a successful log, which results in an error while decoding. This only works with our fork of ethers https://github.com/ethers-io/ethers.js/pull/188 and will need to be re-worked when updating to Ethers.js 4
* Fix bug where if block wasn't found, getBlockAsync would throw. Now it ↵Fabio Berger2018-09-241-1/+1
| | | | returns `undefined`
* More small artifacts updates/changesAlex Browne2018-09-051-1/+1
|
* Fix broken testBrandon Millman2018-08-281-2/+3
|
* Add test for order validatorBrandon Millman2018-08-282-0/+142
|
* Remove some unused variables in forwarder wrapper testBrandon Millman2018-08-281-3/+0
|
* Fix remaining merge issuesFabio Berger2018-08-221-2/+2
|
* Merge development branchFabio Berger2018-08-222-1/+212
|\
| * remove v2 contract artifactsF. Eugene Aumson2018-08-211-1/+1
| |
| * Rename to Transaction Encoder.Jacob Evans2018-08-182-113/+211
| | | | | | | | Add tests for all encoding methods.
| * [Contract-wrappers] Exchange execute transaction encoderJacob Evans2018-08-161-0/+113
| |
* | Cleanup contract-wrappers index.tsFabio Berger2018-08-206-20/+11
| |
* | Fix additional merge conflictsFabio Berger2018-08-151-1/+1
|/
* Update orderFactory interfaceBrandon Millman2018-08-041-8/+2
|
* Rename to calldata utilsBrandon Millman2018-08-031-8/+8
|
* Add testsBrandon Millman2018-08-021-0/+66
|
* Update forwarder_wrapper_testBrandon Millman2018-07-311-0/+16
|
* Write initial test for forwarder_wrapperBrandon Millman2018-07-311-12/+69
|
* Fix spelling error in exchange wrapper testsBrandon Millman2018-07-311-1/+1
|
* Add getOrdersInfo to exchange_wrapperBrandon Millman2018-07-311-0/+9
|
* Implement initial forwarder wrapperBrandon Millman2018-07-311-0/+57
|
* Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-181-3/+3
|\
| * Merge pull request #884 from 0xProject/export-more-0x.jsFabio Berger2018-07-181-3/+3
| |\ | | | | | | Export missing V2 pieces from 0x.js
| | * Rename assetProxyUtils to assetDataUtilsFabio Berger2018-07-171-3/+3
| | |
* | | MergeLeonid Logvinov2018-07-181-2/+2
| | |
* | | Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-182-39/+1
|\| |
| * | Merge pull request #883 from 0xProject/feature/tslint-improvementsLeonid Logvinov2018-07-181-1/+1
| |\ \ | | |/ | |/| New tslint rules
| | * Fix tslint issuesLeonid Logvinov2018-07-171-1/+1
| | |
| * | Remove no-longer needed testsFabio Berger2018-07-171-38/+0
| |/
* | Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-162-4/+2
|\|
| * Export Web3ProviderEngine from subproviders packageFabio Berger2018-07-132-4/+2
| |
* | Export forgotten stuff from contract-wrappersLeonid Logvinov2018-07-131-2/+2
|/
* Contract Wrappers - Ether token block rangeJacob Evans2018-07-111-5/+9
| | | | Start after migrations to avoid any unexpected logs
* Fix testsLeonid Logvinov2018-07-062-3/+9
|
* Fix prettierLeonid Logvinov2018-07-051-1/+2
|
* Fix merge conflictsLeonid Logvinov2018-07-051-10/+2
|
* Adjust commentsLeonid Logvinov2018-07-051-7/+0
|
* Rename Proxie to ProxyLeonid Logvinov2018-07-051-4/+2
|
* Rearrange assertions t match parameter orderLeonid Logvinov2018-07-051-7/+9
|
* Fix match orders test and add a validation TODOLeonid Logvinov2018-07-051-2/+9
|
* Add tests for exchange contract wrapperLeonid Logvinov2018-07-051-1029/+313
|
* Update dummy tokens addresses in token_utilsLeonid Logvinov2018-07-051-3/+3
|
* Remove only from testsLeonid Logvinov2018-07-051-1/+1
|
* Merge branch 'v2-prototype' into v2-contract-wrappers-WIPLeonid Logvinov2018-07-054-3/+1238
|\
| * Fix Tslint issuesFabio Berger2018-06-264-7/+7
| |
* | Fix build after rebaseLeonid Logvinov2018-06-291-1/+1
| |
* | Add a commentLeonid Logvinov2018-06-291-0/+2
| |
* | Assign true values to names varsLeonid Logvinov2018-06-291-8/+13
| |
* | Fix a typoLeonid Logvinov2018-06-291-1/+1
| |
* | Set the interval to 0 in awaitTranscationSuccessAsyncLeonid Logvinov2018-06-294-22/+28
| |
* | Make promises dangerousLeonid Logvinov2018-06-293-3/+0
| |
* | Add a TODO commentLeonid Logvinov2018-06-291-0/+1
| |
* | Rename getApprovedAsync to getApprovedIfExistsAsyncLeonid Logvinov2018-06-291-3/+6
| |
* | Refactor event subscription testsLeonid Logvinov2018-06-291-13/+27
| |
* | Implement ERC721 token wrapper and token transfer proxy with testsLeonid Logvinov2018-06-292-0/+496
| |
* | Refactor ERC20 token transfer proxy and it's testsLeonid Logvinov2018-06-291-4/+4
| |
* | Refactor ERC20 token wrapper and it's testsLeonid Logvinov2018-06-291-128/+185
| |
* | Refactor ether token wrapper testLeonid Logvinov2018-06-291-53/+64
| |
* | Export txDefaults from web3_wrapper.tsLeonid Logvinov2018-06-291-3/+7
| |
* | Refactor tokenUtils to not use tokenRegistryLeonid Logvinov2018-06-291-30/+42
| |
* | Add new test constantsLeonid Logvinov2018-06-291-0/+8
| |
* | Skip & refactor artifacts testsLeonid Logvinov2018-06-291-15/+9
| |
* | Run V2 migrations instead of V1 before testsLeonid Logvinov2018-06-291-3/+3
| |
* | Remove exchange-related functionality for nowLeonid Logvinov2018-06-294-2026/+0
|/
* Use make-promises-safe as a preloader instead of manually importingAlex Browne2018-06-229-9/+0
|
* Merge branch 'v2-prototype' into fix/contract-wrappers/exchangeTransferSimulatorFabio Berger2018-06-121-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Fix a bug in SolCompilerArtifacts adapter config overriding Increase timeout for contract migrations Remove some copy-paste code Await transactions in migrations Fix typos Await transactions in migrations Await fake transactions Fix a typo Implement SolidityProfiler & adapt sol-cov to work with Geth # Conflicts: # packages/migrations/CHANGELOG.json
| * Increase timeout for contract migrationsLeonid Logvinov2018-06-091-1/+1
| |
* | Refactor ExchangeTransferSimulator public interface to accet an ↵Fabio Berger2018-06-112-2/+12
|/ | | | AbstractBalanceAndProxyAllowanceLazyStore so that this module could be re-used in different contexts.
* Linter now passesfragosti2018-06-061-2/+0
|
* Try enabling no-unused-variable...fragosti2018-06-0510-13/+9
|
* Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMITAmir Bandeali2018-05-311-1/+1
|
* Migrate migrations to v2Leonid Logvinov2018-05-251-2/+2
|
* Check transaction receipt status codes where applicableAlex Browne2018-05-244-27/+27
|
* Remove web3Factory.create and remove dev-tools dependency on sol-covLeonid Logvinov2018-05-232-5/+4
|
* Merge pull request #594 from 0xProject/improvement/addCustomTslintRulesFabio Berger2018-05-233-3/+11
|\ | | | | Add more tslint rules
| * Disable magic number rule in more places where it isn't helping code readabilityFabio Berger2018-05-171-10/+10
| |
| * Fix TSLint rulesFabio Berger2018-05-163-8/+16
| |
* | Use make-promises-safe to catch unhandled rejections in testsAlex Browne2018-05-179-0/+9
|/
* Fix TSLint issuesFabio Berger2018-05-152-2/+2
|
* remove unused modulesFabio Berger2018-05-111-18/+0
|
* Fix prettierFabio Berger2018-05-112-2/+6
|
* Update global_hooksFabio Berger2018-05-111-3/+14
|
* Remove last artifactFabio Berger2018-05-101-39/+0
|
* Remove artifactsFabio Berger2018-05-1013-5490/+0
|
* Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-1029-0/+8825
unifying library with the same interface