aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-10-25 23:12:10 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-10-25 23:12:10 +0800
commite3e6e95ced0f9c7a1724e5b5ebd0465443f37d13 (patch)
tree6ebc68b79b984865ae1db672117229039943b818 /GeneralStateTests
parent2935f962c4b8492aaa67e9ff9238fbd913b8cf7c (diff)
downloaddexon-tests-e3e6e95ced0f9c7a1724e5b5ebd0465443f37d13.tar
dexon-tests-e3e6e95ced0f9c7a1724e5b5ebd0465443f37d13.tar.gz
dexon-tests-e3e6e95ced0f9c7a1724e5b5ebd0465443f37d13.tar.bz2
dexon-tests-e3e6e95ced0f9c7a1724e5b5ebd0465443f37d13.tar.lz
dexon-tests-e3e6e95ced0f9c7a1724e5b5ebd0465443f37d13.tar.xz
dexon-tests-e3e6e95ced0f9c7a1724e5b5ebd0465443f37d13.tar.zst
dexon-tests-e3e6e95ced0f9c7a1724e5b5ebd0465443f37d13.zip
Add a test for checking RETURNDATASIZE after a modexp with modsize = 1
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json132
1 files changed, 20 insertions, 112 deletions
diff --git a/GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json b/GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json
index 9483ec013..a900c485f 100644
--- a/GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json
+++ b/GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json
@@ -2,10 +2,10 @@
"modexp_modsize0_returndatasize" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.a5d6e14b.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.70d23560.Linux.g++",
"lllcversion" : "Version: 0.4.19-develop.2017.10.19+commit.4e7d1440.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json",
- "sourceHash" : "c7322e90ec087f2997c7f48d728367470f032ce532ecc8b7b1c2d6f01609f375"
+ "sourceHash" : "155b572dfddef193e70089c11dd46869e8db13e58837b7da7bfeac2813e40898"
},
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -27,28 +27,10 @@
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
- "hash" : "0xc2d762d9e389d5934c467c93bea25e58f046320d32de2d8a0fdd24c9e2f680c4",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0xc2d762d9e389d5934c467c93bea25e58f046320d32de2d8a0fdd24c9e2f680c4",
- "indexes" : {
- "data" : 0,
- "gas" : 2,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0xc2d762d9e389d5934c467c93bea25e58f046320d32de2d8a0fdd24c9e2f680c4",
+ "hash" : "0x4f516d60cc93deeddf704483a278920e2cd3a41ba963306fddad9826009e0c8c",
"indexes" : {
- "data" : 0,
- "gas" : 3,
+ "data" : 1,
+ "gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
@@ -65,28 +47,10 @@
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
- "hash" : "0x9a8dd36fe97d42e39efac42970f397a0e4383b7ab973e9269ba30c603d4dcd4a",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0x7610515b047151df5635a272653b7a75c2913221a719b0e2817a6b1e1b927ed1",
- "indexes" : {
- "data" : 0,
- "gas" : 2,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0x8f77887ab8e98dde1bdbe7edabe0816a960a5a1bcce5f07a992f45a7ba73e0f5",
+ "hash" : "0x3b83e328f824dc9db7d2649cff21de3e91d78022722d2218d67161be0fd6328b",
"indexes" : {
- "data" : 0,
- "gas" : 3,
+ "data" : 1,
+ "gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
@@ -103,28 +67,10 @@
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
- "hash" : "0x9a8dd36fe97d42e39efac42970f397a0e4383b7ab973e9269ba30c603d4dcd4a",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0x7610515b047151df5635a272653b7a75c2913221a719b0e2817a6b1e1b927ed1",
- "indexes" : {
- "data" : 0,
- "gas" : 2,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0x8f77887ab8e98dde1bdbe7edabe0816a960a5a1bcce5f07a992f45a7ba73e0f5",
+ "hash" : "0x3b83e328f824dc9db7d2649cff21de3e91d78022722d2218d67161be0fd6328b",
"indexes" : {
- "data" : 0,
- "gas" : 3,
+ "data" : 1,
+ "gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
@@ -141,28 +87,10 @@
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
- "hash" : "0x9a8dd36fe97d42e39efac42970f397a0e4383b7ab973e9269ba30c603d4dcd4a",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0x7610515b047151df5635a272653b7a75c2913221a719b0e2817a6b1e1b927ed1",
- "indexes" : {
- "data" : 0,
- "gas" : 2,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0x8f77887ab8e98dde1bdbe7edabe0816a960a5a1bcce5f07a992f45a7ba73e0f5",
+ "hash" : "0x3b83e328f824dc9db7d2649cff21de3e91d78022722d2218d67161be0fd6328b",
"indexes" : {
- "data" : 0,
- "gas" : 3,
+ "data" : 1,
+ "gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
@@ -179,28 +107,10 @@
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
- "hash" : "0x9a8dd36fe97d42e39efac42970f397a0e4383b7ab973e9269ba30c603d4dcd4a",
- "indexes" : {
- "data" : 0,
- "gas" : 1,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0x7610515b047151df5635a272653b7a75c2913221a719b0e2817a6b1e1b927ed1",
- "indexes" : {
- "data" : 0,
- "gas" : 2,
- "value" : 0
- },
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
- },
- {
- "hash" : "0x8f77887ab8e98dde1bdbe7edabe0816a960a5a1bcce5f07a992f45a7ba73e0f5",
+ "hash" : "0x3b83e328f824dc9db7d2649cff21de3e91d78022722d2218d67161be0fd6328b",
"indexes" : {
- "data" : 0,
- "gas" : 3,
+ "data" : 1,
+ "gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
@@ -226,13 +136,11 @@
},
"transaction" : {
"data" : [
- "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000101"
+ "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000101",
+ "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001010101"
],
"gasLimit" : [
- "0x05f5e100",
- "0x015f90",
- "0x01adb0",
- "0x030d40"
+ "0x05f5e100"
],
"gasPrice" : "0x01",
"nonce" : "0x00",