Greg Hysen
4415e00b38
Added more integration tests for DydxBridge with the Exchange (demonstrates use cases)
2019-12-19 21:32:03 -08:00
Greg Hysen
d4e46c5a9c
Updated Changelogs
2019-12-19 21:32:03 -08:00
Greg Hysen
bf5b9949fe
Ran prettier
2019-12-19 21:32:03 -08:00
Greg Hysen
3c11a2b1da
Increased mocha timeout for mainnet tests
2019-12-19 21:32:03 -08:00
Greg Hysen
1248868169
Added mainnet DydxBridge integration tests with dYdX SoloMargin contract
2019-12-19 21:32:03 -08:00
Greg Hysen
930b95a548
Added integration tests for DydxBridge with Exchange contract
2019-12-19 21:32:03 -08:00
Michael Zhu
701ba3902c
add comments
2019-12-18 11:38:33 -08:00
Michael Zhu
bb3ec970a9
lint
2019-12-18 11:38:33 -08:00
Michael Zhu
1d023e6db5
Add optional parameter to sample and sampleSize
2019-12-18 11:38:33 -08:00
Michael Zhu
1bd906ecb3
Add optional distribution parameter to Pseudorandom.integer, use Kumaraswamy distribution for operator share
2019-12-18 11:38:33 -08:00
Alex Towle
2949db5f49
Fixed the bug and added tests that fail without the patch
2019-12-17 19:02:57 -08:00
Alex Towle
47c3ed9705
Fixed the bug and moved "contracts-tests" to "contracts-integrations"
2019-12-17 19:02:57 -08:00
xianny
51ca3109eb
Publish
...
- @0x/contracts-asset-proxy@3.0.2
- @0x/contracts-coordinator@3.0.2
- @0x/contracts-dev-utils@1.0.2
- @0x/contracts-erc1155@2.0.2
- @0x/contracts-erc20-bridge-sampler@1.0.2
- @0x/contracts-erc20@3.0.2
- @0x/contracts-erc721@3.0.2
- @0x/contracts-exchange-forwarder@4.0.2
- @0x/contracts-exchange-libs@4.0.2
- @0x/contracts-exchange@3.0.2
- @0x/contracts-extensions@5.1.1
- @0x/contracts-integrations@2.0.2
- @0x/contracts-multisig@4.0.2
- @0x/contracts-staking@2.0.2
- @0x/contracts-test-utils@5.0.1
- @0x/contracts-tests@0.0.8
- @0x/contracts-utils@4.0.2
- 0x.js@9.0.2
- @0x/abi-gen@5.0.2
- @0x/assert@3.0.2
- @0x/asset-swapper@3.0.2
- @0x/base-contract@6.0.2
- @0x/connect@6.0.2
- @0x/contract-addresses@4.1.0
- @0x/contract-artifacts@3.2.0
- @0x/contract-wrappers-test@12.2.3
- @0x/contract-wrappers@13.2.0
- @0x/contracts-gen@2.0.2
- @0x/dev-utils@3.0.2
- @0x/instant@1.0.39
- @0x/json-schemas@5.0.2
- @0x/migrations@5.0.2
- @0x/monorepo-scripts@1.0.45
- @0x/order-utils@10.0.1
- @0x/orderbook@2.0.0
- @0x/sol-compiler@4.0.2
- @0x/sol-coverage@4.0.2
- @0x/sol-doc@3.0.2
- @0x/sol-profiler@4.0.2
- @0x/sol-resolver@3.0.2
- @0x/sol-trace@3.0.2
- @0x/sol-tracing-utils@7.0.2
- @0x/sra-spec@3.0.2
- @0x/subproviders@6.0.2
- @0x/types@3.1.1
- @0x/typescript-typings@5.0.1
- @0x/utils@5.1.1
- @0x/web3-wrapper@7.0.2
2019-12-16 16:05:16 -08:00
xianny
2bcb79dc44
Updated CHANGELOGS & MD docs
2019-12-16 16:05:03 -08:00
mzhu25
a556d91673
Merge pull request #2387 from 0xProject/feature/fuzz/staking-rewards
...
`@0x/contracts-integrations`: Staking rewards fuzz test
2019-12-12 15:43:29 -08:00
Michael Zhu
8ecbde8e1e
Chagne StoredBalance functions to not mutate in place
2019-12-12 15:21:42 -08:00
Michael Zhu
a24b293818
register actors in the SimulationEnvironment constructor
2019-12-12 14:38:07 -08:00
Xianny
cab5ebf94b
re-enable coordinator client tests ( #2394 )
2019-12-12 14:36:52 -08:00
Amir Bandeali
37d972ed9e
Merge pull request #2389 from 0xProject/feat/contracts/mainnet-fork
...
Allow mainnet fork to be used for contract tests
2019-12-11 22:50:09 -08:00
Michael Zhu
e4a3b1cb05
fix bug in LibFractions reference function
2019-12-11 18:12:02 -08:00
Michael Zhu
49538f272e
address comments
2019-12-11 16:54:48 -08:00
Michael Zhu
865a2b1fb0
add/update comments
2019-12-09 23:45:38 -08:00
Michael Zhu
1fde62eeb6
fix bug in finalizePool
2019-12-09 23:45:38 -08:00
Michael Zhu
6754cd48e2
refactor + fix lint
2019-12-09 23:45:38 -08:00
Michael Zhu
ccb477687a
fixing bugs
2019-12-09 23:45:38 -08:00
Michael Zhu
be0e6c8925
Staking rewards simulation/fuzz test
2019-12-09 23:45:38 -08:00
Michael Zhu
1c2cb947c0
Add assertion generators to keeper, staker, taker mixins for the new function assertions
2019-12-09 23:45:38 -08:00
Michael Zhu
4663eec950
Add function assertions required for staking rewards fuzzing: withdrawDelegatorRewards, finalizePool, and endEpoch. Also adds payProtocolFee-related assertions to fillOrder
2019-12-09 23:45:37 -08:00
Michael Zhu
fff3c1eb36
update pool membership simulation to use multiple makers and takers, partial fills
2019-12-09 23:43:16 -08:00
Michael Zhu
8cc35a60e6
Add yarn command to run a specific fuzz test
2019-12-09 23:42:32 -08:00
Michael Zhu
130653a1aa
move logger, pseudorandom, wrapper_interfaces to framework/utils/
2019-12-09 23:42:32 -08:00
Michael Zhu
faf306ad23
Simulation logging, hopefully address function assertion lifetime issue
2019-12-09 23:42:32 -08:00
Michael Zhu
d11cdcd5d2
Use seeded rng for simulations
2019-12-09 23:42:32 -08:00
Amir Bandeali
0e59bd0bf3
Add mainnet config tests
2019-12-09 16:16:22 -08:00
Amir Bandeali
038c836fe5
Rename fillorder_test to fill_order_test
2019-12-09 16:14:41 -08:00
xianny
6b0f3570b9
Publish
...
- @0x/contracts-asset-proxy@3.0.1
- @0x/contracts-coordinator@3.0.1
- @0x/contracts-dev-utils@1.0.1
- @0x/contracts-erc1155@2.0.1
- @0x/contracts-erc20-bridge-sampler@1.0.1
- @0x/contracts-erc20@3.0.1
- @0x/contracts-erc721@3.0.1
- @0x/contracts-exchange-forwarder@4.0.1
- @0x/contracts-exchange-libs@4.0.1
- @0x/contracts-exchange@3.0.1
- @0x/contracts-extensions@5.1.0
- @0x/contracts-integrations@2.0.1
- @0x/contracts-multisig@4.0.1
- @0x/contracts-staking@2.0.1
- @0x/contracts-test-utils@5.0.0
- @0x/contracts-tests@0.0.7
- @0x/contracts-utils@4.0.1
- 0x.js@9.0.1
- @0x/abi-gen@5.0.1
- @0x/assert@3.0.1
- @0x/asset-swapper@3.0.1
- @0x/base-contract@6.0.1
- @0x/connect@6.0.1
- @0x/contract-artifacts@3.1.0
- @0x/contract-wrappers-test@12.2.2
- @0x/contract-wrappers@13.1.0
- @0x/contracts-gen@2.0.1
- @0x/dev-utils@3.0.1
- @0x/instant@1.0.38
- @0x/json-schemas@5.0.1
- @0x/migrations@5.0.1
- @0x/monorepo-scripts@1.0.44
- @0x/order-utils@10.0.0
- @0x/orderbook@1.0.1
- @0x/sol-compiler@4.0.1
- @0x/sol-coverage@4.0.1
- @0x/sol-doc@3.0.1
- @0x/sol-profiler@4.0.1
- @0x/sol-resolver@3.0.1
- @0x/sol-trace@3.0.1
- @0x/sol-tracing-utils@7.0.1
- @0x/sra-spec@3.0.1
- @0x/subproviders@6.0.1
- @0x/types@3.1.0
- @0x/utils@5.1.0
- @0x/web3-wrapper@7.0.1
2019-12-09 14:53:19 -08:00
xianny
71de0d04f3
Updated CHANGELOGS & MD docs
2019-12-09 14:53:05 -08:00
Amir Bandeali
4b842b81a0
Address PR feedback
2019-12-08 16:28:00 -08:00
Amir Bandeali
e2e4d048ab
Update tests to use new Forwarder interface
2019-12-04 21:23:55 -08:00
Amir Bandeali
5be0632e01
Add tests with multiple fee recipients
2019-12-04 21:23:55 -08:00
Amir Bandeali
b1929cb688
Update affiliate fee tests
2019-12-04 21:23:54 -08:00
Amir Bandeali
264b06938e
Merge pull request #2378 from 0xProject/feat/bridges/chai-bridge
...
Implement ChaiBridge
2019-12-04 16:25:46 -08:00
Xianny
fcbcbac889
Remove assetDataUtils everywhere ( #2373 )
...
* remove assetDataUtils everywhere
* export IAssetDataContract from @0x/contract-wrappers to allow @0x/instant to decode asset data synchronously
* export generic function `decodeAssetDataOrThrow` and add ERC20Bridge support
* export `hexUtils` from order-utils instead of contracts-test-utils
2019-12-04 13:08:08 -08:00
Alex Towle
474399154f
Addressed last review comment
2019-12-03 14:41:53 -08:00
Alex Towle
19f5153d0e
Addressed some review feedback
2019-12-03 14:41:53 -08:00
Alex Towle
ce11271866
Appease the linter
2019-12-03 14:40:18 -08:00
Alex Towle
86cf353296
Improved the fuzz test
2019-12-03 14:40:07 -08:00
Alex Towle
36df5dc721
Implemented a hacky version of the fillOrder
fuzz tests
2019-12-03 14:40:07 -08:00
Alex Towle
1e44a9c942
Made function assertions work with the new wrappers
2019-12-03 14:39:29 -08:00
Michael Zhu
2232870b09
address comments
2019-12-03 10:35:59 -08:00