82 Commits

Author SHA1 Message Date
Greg Hysen
d6645b8a91 Explicit encoding rules in tests. 2018-11-28 16:38:11 -08:00
Greg Hysen
f196dc9e35 Use ethUti.isValidAddress in encoder 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
acd364b71c Comments and inline documentation for dynamic bytes 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
Greg Hysen
5934e5a57b Renaming some EVM data types for clarity 2018-11-28 16:38:11 -08:00
Greg Hysen
62e6b22789 Fixed linter errors on tests 2018-11-28 16:38:11 -08:00
Greg Hysen
fbbca8e283 Ran prettier on utils 2018-11-28 16:38:11 -08:00
Greg Hysen
b0ebc6fa14 Tests for decoding return values + Ability to encode return values 2018-11-28 16:38:11 -08:00
Greg Hysen
6daa79ec12 Arrays nested in tuples 2018-11-28 16:38:10 -08:00
Greg Hysen
acd570b2b3 Multidimensional Array tests 2018-11-28 16:38:10 -08:00
Greg Hysen
0d65c9da4a Optimizer Tests 2018-11-28 16:38:10 -08:00
Greg Hysen
67dd062a2f Cleaning up optimizer tests 2018-11-28 16:38:10 -08:00
Greg Hysen
b213cb3974 Temporary change for testing functions 2018-11-28 16:38:10 -08:00
Greg Hysen
5b187935dc tests for String 2018-11-28 16:38:10 -08:00
Greg Hysen
d70d07366f Tests for Static Bytes 2018-11-28 16:38:10 -08:00
Greg Hysen
9a0bd05c4c Unsigned Integers 2018-11-28 16:38:10 -08:00
Greg Hysen
666075a87e Tests for Integer (tested 256 / 32 bit integers) 2018-11-28 16:38:10 -08:00
Greg Hysen
b28f26916f Tests for Bool 2018-11-28 16:38:10 -08:00
Greg Hysen
a2ad15be0d Tests for Address 2018-11-28 16:38:10 -08:00
Greg Hysen
a630312074 Tests for Tuple 2018-11-28 16:38:10 -08:00
Greg Hysen
bc538c71fc Tests - Encode/Decode Array 2018-11-28 16:38:10 -08:00
Greg Hysen
880540f4b8 Fixed issue with decoding negative ints with width < 256 2018-11-28 16:38:10 -08:00
Greg Hysen
8a8b904a29 Use new ABI Encoder for contracts 2018-11-28 16:38:10 -08:00
Greg Hysen
ebd4dbc6c6 Exports AbiEncoder as 1 unit 2018-11-28 16:38:10 -08:00
Greg Hysen
1f9ea7ed1b Removed unnecessary imports from abi encoder tets 2018-11-28 16:38:10 -08:00
Greg Hysen
5b0d554f7b Moved Abi Encoder into utils package 2018-11-28 16:38:10 -08:00
F. Eugene Aumson
7b4f63a39c
feat(order_utils.py) generate_order_hash_hex() (#1234) 2018-11-13 16:30:12 -05:00
Jacob Evans
9e8031d5e3
Throw and handle errors from Providers.
In web3 wrapper when a response contains an error field we throw this rather than return response.result which is often undefined.
In Signature Utils we handle the error thrown when a user rejects the signing dialogue to prevent double signing.
Exposed the ZeroExTransaction JSON schema.
In Website only use the MetamaskSubprovider if we can detect the provider is Metamask
2018-10-09 19:01:36 +11:00
Jacob Evans
3e2fe40a11
Add eth_signTypedData support to our wallet subproviders 2018-10-05 12:02:09 +10:00
Jacob Evans
2a82ff48c0
Move SignTypedData to utils package 2018-10-05 12:00:41 +10:00
Alex Browne
6a5965d73b
Add strictArgumentEncodingCheck to BaseContract and use it in contract templates 2018-08-08 14:27:30 -07:00