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
Lawrence Forman
8ba7b95e86
@0x/contracts-utils
: Move LibERC20Token
out.
...
`@0x/contracts-erc20`: Move `LibERC20Token` in.
`@0x/contracts-erc20`: Use `LibBytes` and `LibRichErrors` in `LibERC20Token`.
`@0x/contracts-erc20`: Use `verifyEventsFromLogs` in `LibERC20Token` unit tests.
2019-11-01 13:58:22 -04:00
Lawrence Forman
575cb99839
@0x/contracts-utils
: Update comments in LibERC20Token
.
2019-11-01 13:36:07 -04:00
Lawrence Forman
0c064bf85b
Update changelogs.
2019-11-01 13:36:07 -04:00
Lawrence Forman
0f3610c92a
@0x/contracts-asset-proxy
: Use LibERC20Token
in UniswapBridge
and Eth2DaiBridge
.
2019-11-01 13:36:07 -04:00
Lawrence Forman
c8ef10baaf
@0x/contracts-utils
: Use simple assembly instead of abi.decode()
in LibERC20Token._callWithOptionalBooleanResult()
.
...
`@0x/contracts-exchange-forwarder`: Use `LibERC20Token` in `MixinAssets`.
`@0x/order-utils`: Remove `TransferFailedError` from `ForwarderRevertErrors`.
2019-11-01 13:36:07 -04:00
Lawrence Forman
16dc73bd1e
@0x/contracts-utils
: Add LibERC20Token
.
2019-11-01 13:36:07 -04:00
Lawrence Forman
4f56d68689
@0x/contracts-staking
: Fix overflow w/ LibFixedMath._mul(-1, -2*255)
.
2019-11-01 13:35:23 -04:00
Greg Hysen
3a1c464543
Readability improvements to Staking Proxy unit tests + one extra case
2019-11-01 09:59:17 -07:00
Greg Hysen
a0c2f6b7b4
Updated Staking changelog
2019-10-31 18:25:33 -07:00
Greg Hysen
7bfbf0ad3a
Staking Proxy unit tests + Staking Proxy fallback reverts if no staking contract is attached
2019-10-31 18:22:49 -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
Lawrence Forman
a02892cbc8
@0x/contracts-staking
: Remove duplicated test case in MixinStakeBalances
unit tests.
2019-10-29 07:37:06 -04:00
Lawrence Forman
49c67fbb18
@0x/contracts-staking
: Remove unused lodash import and only
modifier from MixinStakeBalances
unit tests.
2019-10-29 07:37:06 -04:00
Lawrence Forman
6f2e79208a
@0x/contracts-staking
: Add MixinStakeBalances
unit tests.
2019-10-29 07:37:06 -04:00
Greg Hysen
9c181f09ba
Removed LibProxy and inlined proxy call in StakingProxy.
2019-10-28 16:42:52 -07:00
Amir Bandeali
011ecb8f4b
Merge pull request #2297 from 0xProject/fix/multisig/allow-tx-to-be-over-confirmed
...
Allow transactions to be over confirmed without resetting the confirmation time
2019-10-28 12:49:19 -07:00
Amir Bandeali
091f5ed8b8
Allow transactions to be over confirmed without resetting the confirmation time
2019-10-28 10:45:17 -07:00
Amir Bandeali
f246314b1d
Update default alpha from 1/2 to 2/3
2019-10-27 16:53:57 -07:00
Amir Bandeali
cdfd62a296
Fix reentrancy tests
2019-10-27 14:23:19 -07:00
Amir Bandeali
dcff7d511b
Add tests for detachProtocolFeeCollector
2019-10-27 11:41:06 -07:00
Amir Bandeali
16a5475d24
Add detachProtocolFeeCollector function (in order to have a separate timelock for detaching)
2019-10-27 11:40:28 -07:00
Amir Bandeali
9312d5d9f7
remove read-only mode related code from integrations
2019-10-27 11:12:22 -07:00
Amir Bandeali
33a0c22021
Remove tests related to read-only mode
2019-10-27 11:12:22 -07:00
Amir Bandeali
58e9c70203
Remove read-only mode related functions, storage variables, and contracts
2019-10-27 11:12:16 -07:00
F. Eugene Aumson
0067f10a6a
@0x/utils: fix wrong RPC method in getChainIdAsync() ( #2270 )
...
It was using net_version, but it should be using the eth_chainId method
introduced in EIP-695. I'm not sure whether/how the network ID differs
from the chain ID on mainnet and the testnets, but in Ganache in
particular, the network ID is 50 while the chain ID is 1337, and this
difference was causing problems for Python tests. Specifically, the
Web3.py interface `Web3.eth.chainId` invokes the eth_chainId method, and
the result feeds into the order hash, which wasn't lining up with the
non-Python side of things.
2019-10-25 21:08:31 -04:00
Lawrence Forman
1c695b2759
Rebase onto 3.0
2019-10-25 10:56:03 -04:00
Lawrence Forman
c7222c17ae
@0x/contracts-test-utils
: prettier
2019-10-25 10:55:03 -04:00
Lawrence Forman
0f237d22f9
@0x/contracts-test-utils
: Refactor verifyEvents()
to just use verifyEventsFromLogs()
.
2019-10-25 10:55:03 -04:00
Lawrence Forman
b1b1162b60
@0x/contracts-staking
: Add MixinStakingPool
unit tests.
2019-10-25 10:55:03 -04:00
Lawrence Forman
6ee1605a77
@0x/contracts-test-utils
: Add verifyEventsFromLogs()
.
2019-10-25 10:54:38 -04:00
Greg Hysen
8e8ea6a3ab
Created IZrxVaultBackstop and updated IStaking.
2019-10-24 15:58:51 -07:00