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 |
|
Greg Hysen
|
7eb2d290d8
|
Ran prettier
|
2019-08-01 20:25:19 +02:00 |
|
Greg Hysen
|
da28a542c7
|
Added abi encoder test when bad selector is passed to method decoding
|
2019-08-01 19:07:12 +02:00 |
|
Greg Hysen
|
0d4dd5ff0d
|
Appeased the linter
|
2019-08-01 19:05:22 +02:00 |
|
Greg Hysen
|
f97ee80955
|
Added tests for strict decoding of method arguments
|
2019-08-01 19:00:50 +02:00 |
|
Greg Hysen
|
0b87aec9c6
|
Renamed decode rule structsAsObjects to shouldConvertStructsToObjects
|
2019-01-14 10:49:44 -08:00 |
|
Greg Hysen
|
86caa4a0bb
|
Ran prettier and linter
|
2019-01-14 10:49:44 -08:00 |
|
Greg Hysen
|
0b6c9c8468
|
Ran prettier
|
2019-01-14 10:49:44 -08:00 |
|
Greg Hysen
|
e9a82905e3
|
Abi Encoder tests fixed + added a signature parser for cases where MethodAbi/DataItems are not readily available
|
2019-01-14 10:49:44 -08:00 |
|
Amir Bandeali
|
c6ff77bdd8
|
Add prefix to names of properties in EncodingRules and DecodingRules
|
2019-01-07 10:31:11 -08:00 |
|
Greg Hysen
|
d6645b8a91
|
Explicit encoding rules in tests.
|
2018-11-28 16:38:11 -08:00 |
|
Greg Hysen
|
2e79ce26cb
|
Tests use to.be.deep.equal instead of JSON
|
2018-11-28 16:38:11 -08:00 |
|
Greg Hysen
|
5a748fb4e5
|
Split ABI Encoder/Decoder tests into separate files
|
2018-11-28 16:38:11 -08:00 |
|