Lawrence Forman
a04722b612
@0x/contracts-integrations
: Add USDC->DAI forked dydx bridge order validation.
2020-02-19 15:51:05 -05:00
Lawrence Forman
58f772c74e
foo
2020-02-19 15:51:05 -05:00
Lawrence Forman
bf9b4b993f
@0x/contracts-test-utils
: Fix blockchainTests
fork config to work with other tests.
2020-02-19 15:49:41 -05:00
Lawrence Forman
d94a26f0f4
@0x/contracts-integrations
: Add DydxBridge validation integration tests.
2020-02-19 15:49:41 -05:00
Lawrence Forman
9b3781abf1
Cherry pick dydx validation from #2456
2020-02-19 15:45:27 -05:00
Jacob Evans
e05a03a842
Curve ERC20Bridge ( #2480 )
...
* Curve ERC20Bridge
* ERC20BridgeSampler Curve (#2483 )
* ERC20Sampler Curve
* Use Bridge Sources for each Curve
* Support multiple versions of the Curve contract
* CHANGELOG and redeployed Curve (mainnet)
* Fix Market ops utils test
* Added Curve DAI USDC USDT TUSD
* Bump sampler gas limit default
* Decode the Curve in tests
* Disable Curve in Buy tests
* blockchainTests.fork.resets Curve and Sampler
2020-02-15 17:02:19 +11:00
mzhu25
dcce8276b8
Add decoders for broker and stop-limit data ( #2484 )
...
* Add decoders for broker and stop-limit data
* update changelogs
* Address comments
2020-02-14 17:38:43 -08:00
Alex Towle
6e5c788e13
Added a test that fails for the old DevUtils
2020-02-13 17:37:03 -08:00
Greg Hysen
871105a48a
Fixed dYdX Bridge Tests
2020-02-13 13:19:26 -08:00
mzhu25
f471c79b59
Chainlink stop-limit orders ( #2473 )
...
* Contracts for Chainlink stop-limit orders
* Tests and asset data utils
* Update contracts-integrations changelog
* Address comments
* Remove priceFreshness parameter
* Remove LibSafeMath
* fix typo
* Add ChainlinkStopLimit addresses to @0x/contract-addresses
2020-02-11 15:10:06 -08:00
Lawrence Forman
4016808fa4
Cherry pick DevUtils
refactor code from #2456
2020-02-07 23:23:23 -05:00
Lawrence Forman
ae650849b0
Rebase and address review comments.
2020-02-07 22:29:32 -05:00
Lawrence Forman
3e8f9a6b53
Cherry-pick changes from feat/dev-utils/dydx-bridge-validation
2020-02-07 22:10:10 -05:00
Michael Zhu
d82f34fe59
add weth-related integration tests
2020-02-04 10:13:07 -08:00
Michael Zhu
d2313b30af
Address PR feedback and add support for affiliate fees
2020-02-04 10:13:07 -08:00
Michael Zhu
329719472a
Move LibAssetDataTransfer and MixinWeth(Utils) to contracts-extensions
2020-02-04 10:13:02 -08:00
Michael Zhu
a2fcab47d4
skip coordinator client test
2020-02-04 10:08:25 -08:00
Michael Zhu
4ab5951c25
Add comments
2020-02-04 10:08:25 -08:00
Michael Zhu
403cabb201
more integrations tests
2020-02-04 10:08:25 -08:00
Michael Zhu
b8ac9c2edd
lint
2020-02-04 10:06:10 -08:00
Michael Zhu
1027ee2481
Broker integrations tests
2020-02-04 10:05:17 -08:00
James Towle
ce04d3ce41
Fix regression in DevUtils ( #2449 )
...
* fix bug in OrderTransferSimulationUtils causing failures for 721 assets
* Patched the regression and added tests
* Added regression test for fillable order
* Created a test for in and out of process ganache
* Split up DevUtils into two contracts
* Updated migration
* Remove the in and out of process ganache test
* Fixed contract addresses
* Appease linter
* Addressed review comments and updated artifacts, wrappers, and snapshots
* Fixed regression after refactor
* Update DevUtils and libTransactionDecoder contracts on mainnet and testnets
* Addressed @mzhu's review feedback
* Addressed @hysz's review feedback
* Updated devUtils address on testnets and mainnet after deployment
Co-authored-by: mzhu25 <mchl.zhu.96@gmail.com>
Co-authored-by: Fabio B <kandinsky454@protonmail.ch>
2020-01-22 12:54:10 +10:00
mzhu25
9b20359e7b
Merge pull request #2431 from 0xProject/feature/fuzz/revert-assertions
...
`@0x/contracts-integrations`: Negative assertions for fuzzing
2020-01-17 13:10:00 -08:00
Amir
41b1b1f141
Skip failing dydxBridge tests
2020-01-17 10:47:17 -08:00
Amir
6afa9c8b92
Add mainnet integration tests for checking balances/allowances of ChaiBridge orders using DevUtils
2020-01-17 10:00:16 -08:00
Amir
2fc449da4c
Fix integrations tests build
2020-01-17 10:00:16 -08:00
mzhu25
6332673434
Merge pull request #2436 from 0xProject/fix/dev-utils/map-fixes
...
`@0x/contracts-dev-utils`: LibAssetData fixes
2020-01-15 16:10:11 -08:00
Michael Zhu
f217840998
address comments
2020-01-15 13:22:53 -08:00
Michael Zhu
fecd0b809e
tslint be trippin
2020-01-15 13:20:54 -08:00
Michael Zhu
4707a46561
Add negative assertions for endEpoch
2020-01-15 13:20:54 -08:00
Michael Zhu
616533c5a8
Add negative assertions for moveStake
2020-01-15 13:20:54 -08:00
Michael Zhu
c5b2991821
fix bug in finalizePool
2020-01-15 13:20:54 -08:00
Michael Zhu
c36d0fdc7c
invalidWithdrawDelegatorRewardsAssertion
2020-01-15 13:20:54 -08:00
Michael Zhu
544e09cf4b
invalidUnstakeAssertion
2020-01-15 13:20:54 -08:00
Michael Zhu
c110dc9e6a
generic assertion for TRANSFER_FAILED reverts; _invalidStake generator
2020-01-15 13:20:54 -08:00
Michael Zhu
3bf37d6afd
invalidDecreaseStakingPoolOperatorShareAssertion
2020-01-15 13:20:54 -08:00
Michael Zhu
b80ae5796b
invalidCreateStakingPoolAssertion
2020-01-15 13:20:54 -08:00
Greg Hysen
46275a4f43
Minor fixes to order matching fuzz code
2020-01-14 17:32:10 -08:00
Greg Hysen
c09ac58ac0
Fuzz testing for matchOrders and matchOrdersWithMaximalFill.
2020-01-14 16:17:43 -08:00
Greg Hysen
e01d32ef1a
added order matching functions to Taker actor.
2020-01-14 16:17:43 -08:00
Greg Hysen
aa8b14b7ee
Added order martching to Maker actor. Also fixed the joinStakingPool to record the pool id.
2020-01-14 16:17:43 -08:00
Michael Zhu
684d09faac
refactor LibAssetData tests
2020-01-13 15:29:37 -08:00
Michael Zhu
8a42691c80
Add test cases
2020-01-13 14:10:55 -08:00
Lawrence Forman
ebd08d9c63
Contract wrappers: Catch empty reverts on live networks ( #2433 )
...
* `@0x/utils`: Allow strict decoding of return values.
* `@0x/base-contract`: Catch empty call reverts on live networks.
`@0x/abi-gen`: Catch empty call reverts on live networks.
* `@0x/contracts-integrations`: Add mainnet contract wrapper `callAsync()` revert behavior tests.
* `@0x/contract-wrappers`: Regenerate wrappers to catch empty reverts on live networks.
* Update CHANGELOGs
* `@0x/contracts-integrations`: Fix solidity linter errors.
* `@0x/abi-gen`: Regenerate test outputs.
* `@0x/base-contract`: Update CHANGELOG.
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2020-01-13 15:33:45 -05:00
Lawrence Forman
de12da18da
Exchange signature validation fuzz tests ( #2425 )
...
* `@0x/contracts-integrations`: Add Exchange signature validation fuzz tests.
* `@0x/contracts-integrations`: Switch from actor pattern to just pure function generators.
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2020-01-07 17:35:25 -05:00
Michael Zhu
b70cb726c5
remove _noTakerFee (i.e. disallow StaticCall takerFeeAssetData)
2020-01-07 11:03:18 -08:00
Michael Zhu
295811ed5a
add integrations tests
2020-01-07 11:03:18 -08:00
Amir Bandeali
f8bb94d721
Remove unnecessary BigNumber cast
2020-01-06 22:12:05 -08:00
Amir Bandeali
27d09713fd
Add forwarder mainnet tests
2020-01-06 22:12:05 -08:00
Amir Bandeali
30a2015a68
Fix build
2020-01-06 22:12:05 -08:00