diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-15 22:08:00 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-15 22:08:00 +0800 |
commit | 830bdb1cfd781192f2ffd42e94650a7717ac748a (patch) | |
tree | aee25dd404df3db0ee06c7db143df3ebfd630e14 /tests/files/ABITests | |
parent | dadf01de60dee3d60b71ba354c40c657cdd4c34d (diff) | |
download | go-tangerine-830bdb1cfd781192f2ffd42e94650a7717ac748a.tar go-tangerine-830bdb1cfd781192f2ffd42e94650a7717ac748a.tar.gz go-tangerine-830bdb1cfd781192f2ffd42e94650a7717ac748a.tar.bz2 go-tangerine-830bdb1cfd781192f2ffd42e94650a7717ac748a.tar.lz go-tangerine-830bdb1cfd781192f2ffd42e94650a7717ac748a.tar.xz go-tangerine-830bdb1cfd781192f2ffd42e94650a7717ac748a.tar.zst go-tangerine-830bdb1cfd781192f2ffd42e94650a7717ac748a.zip |
Update Ethereum JSON tests
Diffstat (limited to 'tests/files/ABITests')
-rw-r--r-- | tests/files/ABITests/basic_abi_tests.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/files/ABITests/basic_abi_tests.json b/tests/files/ABITests/basic_abi_tests.json new file mode 100644 index 000000000..a62573323 --- /dev/null +++ b/tests/files/ABITests/basic_abi_tests.json @@ -0,0 +1,40 @@ +{ + "GithubWikiTest": { + "args": [ + 291, + [ + 1110, + 1929 + ], + "1234567890", + "Hello, world!" + ], + "result": "00000000000000000000000000000000000000000000000000000000000001230000000000000000000000000000000000000000000000000000000000000080313233343536373839300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000004560000000000000000000000000000000000000000000000000000000000000789000000000000000000000000000000000000000000000000000000000000000d48656c6c6f2c20776f726c642100000000000000000000000000000000000000", + "types": [ + "uint256", + "uint32[]", + "bytes10", + "bytes" + ] + }, + "SingleInteger": { + "args": [ + 98127491 + ], + "result": "0000000000000000000000000000000000000000000000000000000005d94e83", + "types": [ + "uint256" + ] + }, + "IntegerAndAddress": { + "args": [ + 324124, + "cd2a3d9f938e13cd947ec05abc7fe734df8dd826" + ], + "result": "000000000000000000000000000000000000000000000000000000000004f21c000000000000000000000000cd2a3d9f938e13cd947ec05abc7fe734df8dd826", + "types": [ + "uint256", + "address" + ] + } +} |