nimbus-eth1/tests/fixtures/GeneralStateTests/stPreCompiledContracts/identity_to_smaller.json

85 lines
3.5 KiB
JSON

{
"identity_to_smaller" : {
"_info" : {
"comment" : "have a call to e.g. identity built-in that specifies output size less than input size. Check that the long input is totally available with RETURNDATA. CALL is with 100000 as gas, address 4 as destination, 0 as value, 0 as in-offset, 32 as in-size, 16 as out-offset, 16 as out-size. The returndatasize should see 32.",
"filledwith" : "testeth 1.6.0-alpha.0-11+commit.978e68d2",
"lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stPreCompiledContracts/identity_to_smallerFiller.json",
"sourceHash" : "d4bf472bfef38a4fd3c11969155cbb54328691179d1f061d2856ebefd9850cb4"
},
"env" : {
"currentCoinbase" : "0x3535353535353535353535353535353535353535",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x5f5e100",
"currentNumber" : "0x01",
"currentTimestamp" : "0x03e8",
"previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
},
"post" : {
"Byzantium" : [
{
"hash" : "0xe9feb2712fd2e902d649a78742f99f199de5584a8a4f811b1478abf766d74308",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Constantinople" : [
{
"hash" : "0xe9feb2712fd2e902d649a78742f99f199de5584a8a4f811b1478abf766d74308",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"ConstantinopleFix" : [
{
"hash" : "0xe9feb2712fd2e902d649a78742f99f199de5584a8a4f811b1478abf766d74308",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
"balance" : "0x0de0b6b3a761fe12",
"code" : "",
"nonce" : "0x01",
"storage" : {
}
},
"0xc305c901078781c232a2a521c2af7980f8385ee9" : {
"balance" : "0x00",
"code" : "0x7f112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00600052601060106020600060006004620186a0f1503d600055",
"nonce" : "0x21",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x"
],
"gasLimit" : [
"0x030d40"
],
"gasPrice" : "0x01",
"nonce" : "0x01",
"secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
"to" : "0xc305c901078781c232a2a521c2af7980f8385ee9",
"value" : [
"0x"
]
}
}
}