aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-10-11 03:44:12 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-10-11 03:44:12 +0800
commitf43c911981094f7b296e9426b88ef99613950cbe (patch)
tree80e08c31fbe541e6a94776970497fd73984141a0 /GeneralStateTests
parent0e9ef94dee4bda1359fde92c42329304b67d19d2 (diff)
downloadtangerine-tests-f43c911981094f7b296e9426b88ef99613950cbe.tar.gz
tangerine-tests-f43c911981094f7b296e9426b88ef99613950cbe.tar.zst
tangerine-tests-f43c911981094f7b296e9426b88ef99613950cbe.zip
Add a test case where modexp gets input
0x00000000000000000000000000000000000000000000000000000000000000ff2a1e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stPreCompiledContracts/modexp.json189
1 files changed, 185 insertions, 4 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp.json b/GeneralStateTests/stPreCompiledContracts/modexp.json
index cffddb4c5..727a5b1e0 100644
--- a/GeneralStateTests/stPreCompiledContracts/modexp.json
+++ b/GeneralStateTests/stPreCompiledContracts/modexp.json
@@ -2,10 +2,10 @@
"modexp" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.6e0ce939.Linux.g++",
- "lllcversion" : "Version: 0.4.18-develop.2017.9.25+commit.a72237f2.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.73ea1662.Linux.g++",
+ "lllcversion" : "Version: 0.4.18-develop.2017.9.27+commit.3f783c8d.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json",
- "sourceHash" : "87a05447a7d84874fdbb3053ad3a3e85b6371f7475dbbed5149cd9703d5cf21a"
+ "sourceHash" : "0aaf6a4e463c6c3bfca4553f7017c3904fe1b1fed03d40d87a722ecc3b376c1b"
},
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -1312,6 +1312,42 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xd21a7edb33b9f9817571291671a5b863e228be1f1141efefbb68928f4c401b77",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"EIP150" : [
@@ -2610,6 +2646,42 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2d795271923fc345f3793318e1dcb9803fec422890422627593bed3bff57e914",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2d795271923fc345f3793318e1dcb9803fec422890422627593bed3bff57e914",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2d795271923fc345f3793318e1dcb9803fec422890422627593bed3bff57e914",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2d795271923fc345f3793318e1dcb9803fec422890422627593bed3bff57e914",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"EIP158" : [
@@ -3908,6 +3980,42 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2d795271923fc345f3793318e1dcb9803fec422890422627593bed3bff57e914",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2d795271923fc345f3793318e1dcb9803fec422890422627593bed3bff57e914",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2d795271923fc345f3793318e1dcb9803fec422890422627593bed3bff57e914",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2d795271923fc345f3793318e1dcb9803fec422890422627593bed3bff57e914",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Frontier" : [
@@ -5206,6 +5314,42 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Homestead" : [
@@ -6504,6 +6648,42 @@
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 2,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6",
+ "indexes" : {
+ "data" : 36,
+ "gas" : 3,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
@@ -6560,7 +6740,8 @@
"0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000cd935b43e42204fcbfb734a6e27735e8e90204fcc1fd2727bb040f9eecb",
"0x0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000060846813a8d2d451387340fa0597c6545ae63",
"0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000d02534f82b1013f20d9c7d18d62cd95674d2e013f20d9c7d18d62cd95674d2f",
- "0x0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000120785e45de3d6be050ba3c4d33ff0bb2d010ace3b1dfe9c49f4c7a8075102fa19a86c010ace3b1dfe9c49f4c7a8075102fa19a86d"
+ "0x0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000120785e45de3d6be050ba3c4d33ff0bb2d010ace3b1dfe9c49f4c7a8075102fa19a86c010ace3b1dfe9c49f4c7a8075102fa19a86d",
+ "0x00000000000000000000000000000000000000000000000000000000000000ff2a1e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
],
"gasLimit" : [
"0x05f5e100",