Michael Zhu
1f5a0987cb
static tests, my nemesis
2019-11-12 12:05:39 -08:00
Michael Zhu
f33a9d162a
moveStake assertion; use SimulationEnvironment to track global stake and staking pools
2019-11-12 12:05:38 -08:00
Michael Zhu
c2919bcdb0
tslint needs to _chill_
2019-11-12 12:05:38 -08:00
Michael Zhu
120d554a6b
split up pool/stake management simulations, change some types
2019-11-12 12:05:38 -08:00
Michael Zhu
44f268a7ee
decouple state (SimulationEnvironment) and Simulation
2019-11-12 12:05:38 -08:00
Michael Zhu
3c7a0bcd85
add createStakingPool and decreaseStakingPoolOperatorShare
2019-11-12 12:05:14 -08:00
Michael Zhu
8e2e9e9331
proof of concept with a single actor and valid stakes/unstakes
2019-11-12 12:05:14 -08:00
Michael Zhu
91c26fc046
rename Result -> FunctionResult
2019-11-12 12:02:49 -08:00
fabioberger
8bc5faff3c
Move DeploymentManager back into test dir since only used in integrations package
2019-11-12 16:55:36 +00:00
fabioberger
aa4b3f93fa
Add ERC20 artifacts explicitly to TransactionHelper
2019-11-12 11:27:41 +00:00
fabioberger
efe8225d18
Fix import ordering
2019-11-12 10:52:04 +00:00
fabioberger
6324a92ec5
Refactor contracts-* exports so none in test dir so npmignore works as intended
2019-11-11 21:49:29 +00:00
fabioberger
86b76a3e75
Introduce publicFacingContracts config in all package.jsons, refactor all imports from src in contracts packages
2019-11-11 15:10:15 +00:00
fabioberger
15a5bc02ef
Fix remaining build issues
2019-11-11 00:13:44 +00:00
Xianny
6a852ab0ed
Replace assetDataUtils with DevUtilsContract wherever possible ( #2304 )
...
* Replace assetDataUtils with DevUtilsContract wherever possible
Does not replace from @0x/instant and some @0x/order-utils uses
* Add revertIfInvalidAssetData to LibAssetData
This is needed to replace `assetDataUtils.decodeAssetDataOrThrow`.
Because it's used in packages and not only contracts, we should wait
to deploy the updated contract so we can update `@0x/contract-artifacts`,
`@0x/abi-gen-wrappers`, and `@0x/contract-wrappers` first.
* remove usages of signatureUtils
* fix test for optimised encoding
* refactor @0x/contracts-integrations
* update changelogs
* Move @0x/contracts-dev-utils from devDependencies to dependencies
It is exported as part of the package
2019-11-06 19:40:20 -08:00
Alex Towle
62d15117c5
@0x:contracts-integrations
Removed the dependency on number_utils
from staking
2019-11-04 14:16:43 -08:00
Alex Towle
911fcc0bed
@0x:contracts-integrations
Addressed review comments from @mzhu
2019-11-01 17:16:17 -07:00
Alex Towle
55fd16ccf1
@0x:contracts-integrations
Addressed review comments from @dorothy-zbornak
2019-11-01 12:04:24 -07:00
Alex Towle
ebab80cff7
@0x:contracts-integrations
Fixed test issues
2019-11-01 11:22:12 -07:00
Alex Towle
91cb162662
@0x:contracts-integrations
Added tests for weth protocol fees
2019-11-01 11:22:12 -07:00
Alex Towle
fa26f8de51
@0x:contracts-integrations
Refactored to reduce redundancy
2019-11-01 11:22:12 -07:00
Alex Towle
26602ac2db
@0x:contracts-integrations
Added assertions for events in all wrapper functions
2019-11-01 11:22:12 -07:00
Alex Towle
0b8af181d8
@0x:contracts-integrations
Refactored the wrapper tests to use newer tools
2019-11-01 11:22:12 -07:00
Alex Towle
19d661d324
@0x:contracts-integrations
Started to refactor the wrapper tests
2019-11-01 11:22:12 -07:00
Alex Towle
7d29b36246
@0x:contracts-integrations
Moved the wrapper tests into the integrations package
2019-11-01 11:21:52 -07:00
Michael Zhu
09d13b2bfa
default before/after in FunctionAssertion
2019-10-31 15:49:12 -07:00
Michael Zhu
af0de72bc3
address comments
2019-10-31 15:30:15 -07:00
Michael Zhu
43e32f6a1a
fix other lint errors
2019-10-31 15:30:15 -07:00
Michael Zhu
e9e6452890
add tslint.json to package and update actor mixins
2019-10-31 15:28:02 -07:00
Michael Zhu
5f699b0c47
add test for weth protocol fees
2019-10-31 15:27:39 -07:00
Michael Zhu
bf18b86f9f
address comments
2019-10-31 15:27:39 -07:00
Michael Zhu
56f7dd7538
fix deployment_manager_test
2019-10-31 15:27:39 -07:00
Michael Zhu
7aa88307f6
Flesh out fillOrder integration tests
2019-10-31 15:27:39 -07:00
Alex Towle
dde570706a
@0x:contracts-integrations
Put final cleaning touches on the function assertion set
2019-10-30 13:26:29 -07:00
Alex Towle
0b3e3ab990
@0x:contracts-integrations
Addressed more review comments
2019-10-30 11:11:55 -07:00
Alex Towle
205c895d75
@0x:contracts-integrations
Added better documentation to FunctionAssertions
2019-10-29 23:19:28 -07:00
Alex Towle
6402d29dd4
@0x:contracts-integrations
Added collections of function assertions
2019-10-29 14:51:01 -07:00
Michael Zhu
43f8101d0b
address comments
2019-10-29 11:26:56 -07:00
Michael Zhu
3d56c06ff3
Move Forwarder test to integrations; update to use new framework
2019-10-29 11:26:56 -07:00
Amir Bandeali
9312d5d9f7
remove read-only mode related code from integrations
2019-10-27 11:12:22 -07:00
Michael Zhu
8869d79c68
rebase
2019-10-22 17:05:08 -07:00
Michael Zhu
752dd04546
address comments
2019-10-22 17:05:08 -07:00
Michael Zhu
3e5d166ec4
moving away from extending DeploymentManager in case we want to deploy multiple extensions alongside one another
2019-10-22 17:05:08 -07:00
Michael Zhu
64bc1b0990
update coordinator tests to use deployment manager, balance stores, actor mixins
2019-10-22 17:05:08 -07:00
Michael Zhu
548b0db6ea
coordinator deployment manager
2019-10-22 17:05:08 -07:00
Alex Towle
1a1dc89454
CI
Fix build failure
2019-10-22 14:53:13 -07:00
Alex Towle
3a1fc9ee5f
@0x:contracts-integrations
Fixed package after rebase
2019-10-22 13:15:01 -07:00
Alex Towle
718407ba6f
@0x:contracts-integrations
Switched to object destructuring in the function assertion unit test
2019-10-22 12:07:50 -07:00
Alex Towle
e603a81a46
@0x:contracts-integrations
Simplified the tests
2019-10-22 12:07:50 -07:00
Alex Towle
03e35846fb
@0x:contracts-integrations
Removed the Cache
2019-10-22 12:07:50 -07:00