From 9a9cdac9ba9e85a2457aaae673781cadebff7103 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Thu, 1 Jun 2017 14:48:57 +0300 Subject: more staticcall tests --- ...eCallThatAskMoreGasThenTransactionProvided.json | 260 +++++++++++++++++++++ 1 file changed, 260 insertions(+) create mode 100644 GeneralStateTests/stStaticCall/static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json (limited to 'GeneralStateTests/stStaticCall/static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json') diff --git a/GeneralStateTests/stStaticCall/static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json b/GeneralStateTests/stStaticCall/static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json new file mode 100644 index 000000000..633d04d1f --- /dev/null +++ b/GeneralStateTests/stStaticCall/static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided.json @@ -0,0 +1,260 @@ +{ + "static_contractCreationMakeCallThatAskMoreGasThenTransactionProvided" : { + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x233c1da90828a53adde2c86d53859e611abfc3d7807828f528a42ecc849fdef6", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + } + ], + "Metropolis" : [ + { + "hash" : "0x510b6a93c8820120b2a8e8bdf3ae473c41900cf4f722e6f6125d1c6674cd4413", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xdf8d9c168f81a12818f05f337061ae5b03a17c996d3b6b251f118c7cb8e18d3f", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0x510b6a93c8820120b2a8e8bdf3ae473c41900cf4f722e6f6125d1c6674cd4413", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + } + }, + { + "hash" : "0xaa09c6f8acf05b087bf49197368fb2edd90377dc93b608bfde9f4407bca116d4", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x0186a0", + "code" : "0x6001600155", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000001" : { + "balance" : "0x0186a0", + "code" : "0x6001600152", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000001" : { + "balance" : "0x0186a0", + "code" : "0x5b61c35060805110156018576001608051016080526000565b", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000001" : { + "balance" : "0x0186a0", + "code" : "0x600060006000600060007340000000000000000000000000000000000000046103e8f2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000004" : { + "balance" : "0x0186a0", + "code" : "0x6001600152", + "nonce" : "0x00", + "storage" : { + } + }, + "0x5000000000000000000000000000000000000001" : { + "balance" : "0x0186a0", + "code" : "0x60006000600060006000734000000000000000000000000000000000000004620f4240f2", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x10c8e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "0x604060006040600073100000000000000000000000000000000000000161c350fa", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x604060006040600073100000000000000000000000000000000000000161c350fa", + "0x604060006040600073200000000000000000000000000000000000000161c350fa", + "0x604060006040600073300000000000000000000000000000000000000161c350fa", + "0x604060006040600073400000000000000000000000000000000000000161c350fa" + ], + "gasLimit" : [ + "0x017700" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x00" + ] + } + } +} \ No newline at end of file -- cgit