Update Ethereum JSON tests
This commit is contained in:
40
tests/files/ABITests/basic_abi_tests.json
Normal file
40
tests/files/ABITests/basic_abi_tests.json
Normal file
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user