aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-10-13 23:41:53 +0800
committerGitHub <noreply@github.com>2017-10-13 23:41:53 +0800
commit7f638829311dfc1d341c1db85d8a891f57fa4da7 (patch)
treeb2f3faa2e8334a909616a007e7a9d75c405226df /GeneralStateTests
parent1d57cadab1d973612f69b10ef4a4fc58e42fe578 (diff)
parent6e80effa947d9581e5ef8c4e02a45725f5af4346 (diff)
downloaddexon-tests-7f638829311dfc1d341c1db85d8a891f57fa4da7.tar
dexon-tests-7f638829311dfc1d341c1db85d8a891f57fa4da7.tar.gz
dexon-tests-7f638829311dfc1d341c1db85d8a891f57fa4da7.tar.bz2
dexon-tests-7f638829311dfc1d341c1db85d8a891f57fa4da7.tar.lz
dexon-tests-7f638829311dfc1d341c1db85d8a891f57fa4da7.tar.xz
dexon-tests-7f638829311dfc1d341c1db85d8a891f57fa4da7.tar.zst
dexon-tests-7f638829311dfc1d341c1db85d8a891f57fa4da7.zip
Merge pull request #354 from ethereum/modexpinput
fuzzed test modexp input
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stPreCompiledContracts2/modexpRandomInput.json328
1 files changed, 328 insertions, 0 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput.json b/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput.json
new file mode 100644
index 000000000..b6df95d66
--- /dev/null
+++ b/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput.json
@@ -0,0 +1,328 @@
+{
+ "modexpRandomInput" : {
+ "_info" : {
+ "comment" : "Fuzzed input discovered by Guido",
+ "filledwith" : "cpp-1.3.0+commit.72502df4.Linux.g++",
+ "lllcversion" : "Version: 0.4.18-develop.2017.10.11+commit.81f9f86c.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stPreCompiledContracts2/modexpRandomInputFiller.json",
+ "sourceHash" : "b71656b4a8313128db869e62e4c34473047c15d6b49593c0850e32399b789f37"
+ },
+ "env" : {
+ "currentCoinbase" : "0x3535353535353535353535353535353535353535",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x5f5e100",
+ "currentNumber" : "0x1",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0xecf3d936468490b332f5dde68b8f5bf9b3041b9ae6e7759a281b9947d243e5cb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xecf3d936468490b332f5dde68b8f5bf9b3041b9ae6e7759a281b9947d243e5cb",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1b3b7a9d1f18201ed84812107471f14b939a541f3d3dc67c252acbef1ec18da0",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x6fc6b2aa12ab2f5493fb2a4cd1e50255a543774db1edeb21ff7ce08e27dc24a7",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1b3b7a9d1f18201ed84812107471f14b939a541f3d3dc67c252acbef1ec18da0",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x6fc6b2aa12ab2f5493fb2a4cd1e50255a543774db1edeb21ff7ce08e27dc24a7",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP150" : [
+ {
+ "hash" : "0x1b0e270fd1aaff6d33962e6da66e2a392ec552273b0e0bab34a4aee4ffb349e3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1b0e270fd1aaff6d33962e6da66e2a392ec552273b0e0bab34a4aee4ffb349e3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x54af41cb48983bb4b2eb9a246de43e43656fbfa98c842943700607b85b804e3a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x54af41cb48983bb4b2eb9a246de43e43656fbfa98c842943700607b85b804e3a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x10e93b7f945816acb550dcbc9cbc2c9a0f10205ededcf9c92d9750225840231d",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x10e93b7f945816acb550dcbc9cbc2c9a0f10205ededcf9c92d9750225840231d",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xe05e962cf60201512e72bbf2378775e758a70d2974da802b0713342fc97538b0",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe05e962cf60201512e72bbf2378775e758a70d2974da802b0713342fc97538b0",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xb66a5c9464d46cd8eca6b8dbb38e86a6eeaed7e9fdcf31a9f2be370f9f1b3ab6",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xb66a5c9464d46cd8eca6b8dbb38e86a6eeaed7e9fdcf31a9f2be370f9f1b3ab6",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xb2613951d34aca5ac4f2ce4b7220dd645c3f3bfeccbd5d397e00261c28441e64",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xb2613951d34aca5ac4f2ce4b7220dd645c3f3bfeccbd5d397e00261c28441e64",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x1b0e270fd1aaff6d33962e6da66e2a392ec552273b0e0bab34a4aee4ffb349e3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1b0e270fd1aaff6d33962e6da66e2a392ec552273b0e0bab34a4aee4ffb349e3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x54af41cb48983bb4b2eb9a246de43e43656fbfa98c842943700607b85b804e3a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x54af41cb48983bb4b2eb9a246de43e43656fbfa98c842943700607b85b804e3a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x10e93b7f945816acb550dcbc9cbc2c9a0f10205ededcf9c92d9750225840231d",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x10e93b7f945816acb550dcbc9cbc2c9a0f10205ededcf9c92d9750225840231d",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0x1b0e270fd1aaff6d33962e6da66e2a392ec552273b0e0bab34a4aee4ffb349e3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1b0e270fd1aaff6d33962e6da66e2a392ec552273b0e0bab34a4aee4ffb349e3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x54af41cb48983bb4b2eb9a246de43e43656fbfa98c842943700607b85b804e3a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x54af41cb48983bb4b2eb9a246de43e43656fbfa98c842943700607b85b804e3a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x10e93b7f945816acb550dcbc9cbc2c9a0f10205ededcf9c92d9750225840231d",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x10e93b7f945816acb550dcbc9cbc2c9a0f10205ededcf9c92d9750225840231d",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x3635c9adc5dea00000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x00000000000000000000000000000000000000000000000000000000000000e300000000000000000000000000000000000000000000000000",
+ "0x00000000008000000000000000000000000000000000000000000000000000000000000400000000000000000000000a",
+ "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001147000000000000000000000000000000000000000000000000000000000061660350000000000000000000000000000000000000000000000000000000000000008"
+ ],
+ "gasLimit" : [
+ "0x0ad570",
+ "0x6acfc0"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x0000000000000000000000000000000000000005",
+ "value" : [
+ "0x"
+ ]
+ }
+ }
+} \ No newline at end of file