aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2017-07-05 21:32:29 +0800
committerGitHub <noreply@github.com>2017-07-05 21:32:29 +0800
commit466c10373c324a8d024b32a4476778f3211d0c8a (patch)
treec1d7d6aeeb822e8588c0dd307d3034477c0a5c2f /GeneralStateTests
parent17bf9ee3725160de5b61ad169cce407e3d81f402 (diff)
parent24dd562b3556d736f3083a9a3ea1db9286cd597d (diff)
downloadtangerine-tests-466c10373c324a8d024b32a4476778f3211d0c8a.tar
tangerine-tests-466c10373c324a8d024b32a4476778f3211d0c8a.tar.gz
tangerine-tests-466c10373c324a8d024b32a4476778f3211d0c8a.tar.bz2
tangerine-tests-466c10373c324a8d024b32a4476778f3211d0c8a.tar.lz
tangerine-tests-466c10373c324a8d024b32a4476778f3211d0c8a.tar.xz
tangerine-tests-466c10373c324a8d024b32a4476778f3211d0c8a.tar.zst
tangerine-tests-466c10373c324a8d024b32a4476778f3211d0c8a.zip
Merge pull request #210 from ethereum/many_zeros_exp
Price calculation when exp length > 256, and the first word of exponent is zero
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stPreCompiledContracts/modexp.json48
1 files changed, 47 insertions, 1 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp.json b/GeneralStateTests/stPreCompiledContracts/modexp.json
index 7dccbc525..c5a8c75ce 100644
--- a/GeneralStateTests/stPreCompiledContracts/modexp.json
+++ b/GeneralStateTests/stPreCompiledContracts/modexp.json
@@ -1,5 +1,10 @@
{
"modexp" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.bc18ce87.Linux.g++",
+ "source" : "/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json"
+ },
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
@@ -225,6 +230,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0x6105198fe46b16679fce14df3ac906734c6c371f0f4b2876aba7303b30868a75",
+ "indexes" : {
+ "data" : 27,
+ "gas" : 0,
+ "value" : 0
+ }
}
],
"EIP158" : [
@@ -443,6 +456,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0x6105198fe46b16679fce14df3ac906734c6c371f0f4b2876aba7303b30868a75",
+ "indexes" : {
+ "data" : 27,
+ "gas" : 0,
+ "value" : 0
+ }
}
],
"Frontier" : [
@@ -661,6 +682,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 27,
+ "gas" : 0,
+ "value" : 0
+ }
}
],
"Homestead" : [
@@ -879,6 +908,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 27,
+ "gas" : 0,
+ "value" : 0
+ }
}
],
"Metropolis" : [
@@ -1097,6 +1134,14 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0x54f7ac3ec3555bd7fbf119a986b26aa0ace72058b8126ac5479f22adef152c50",
+ "indexes" : {
+ "data" : 27,
+ "gas" : 0,
+ "value" : 0
+ }
}
]
},
@@ -1144,7 +1189,8 @@
"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000202",
"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002",
"0x000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001001001010010",
- "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000064"
+ "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000064",
+ "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000000000020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030006"
],
"gasLimit" : [
"0x05f5e100"