aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GeneralStateTests/stPreCompiledContracts/modexp.json892
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json10
2 files changed, 898 insertions, 4 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp.json b/GeneralStateTests/stPreCompiledContracts/modexp.json
index 562a9c443..52480afec 100644
--- a/GeneralStateTests/stPreCompiledContracts/modexp.json
+++ b/GeneralStateTests/stPreCompiledContracts/modexp.json
@@ -9,6 +9,878 @@
"previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"post" : {
+ "EIP150" : [
+ {
+ "hash" : "0xf344f27b4bbe9ff93695b2217359d4a244b866c108907dc9d62e70b8c24b3fab",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xedadefce96b8e5bc0b47ab27f15d0d4485b48bd2310d025297f1e8a81d218f8a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x30ea2865862628ecdfb1b8e05a93924e0724fd3cb2ddb58a81f12115aa35d8e6",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x0750d2c5ea18000c751a7cd6c2d80181e2b3b652697080d0630318d1133c5d80",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x7ab9c5c6fa99244ac4be6eb1616a07cae2a86f1bc3edf1806d7e571c3d1fddec",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x1b6eb5326be2812301439769d4c1ee96cd1f7caada80dfa4cedfe8631c28770f",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xf94ed059b9cf9c906e19620368914a7896fc500d5142ddaedef0289368b15857",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x01c03446197c1b6ae586f3e36da100c6b8db81a71c8e789fc3e8d4591a400e3d",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x4d121d2b73e06febfd827e5fbe96f0f07053de8a67db87de342a8fae79f2439d",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2ca8c0c717997cb343a2c40361aee089948bf81f5b54b6a70c0142ce47dbdd3b",
+ "indexes" : {
+ "data" : 10,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2ca8c0c717997cb343a2c40361aee089948bf81f5b54b6a70c0142ce47dbdd3b",
+ "indexes" : {
+ "data" : 11,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2ca8c0c717997cb343a2c40361aee089948bf81f5b54b6a70c0142ce47dbdd3b",
+ "indexes" : {
+ "data" : 12,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 13,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 14,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 15,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x15c59e0509961d406f6938d9f81755c3ce716f7b29b0222f705704eb72e5d0a4",
+ "indexes" : {
+ "data" : 16,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2645e04375986d954b5a519729a0185493e8c742ade1a47c209518f39bf7b34a",
+ "indexes" : {
+ "data" : 17,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2ca8c0c717997cb343a2c40361aee089948bf81f5b54b6a70c0142ce47dbdd3b",
+ "indexes" : {
+ "data" : 18,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x983bc042119afb8ab9ca087eab378e8f7ac7fe0010c1e8f4b17907141ce67c22",
+ "indexes" : {
+ "data" : 19,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xdc9371c778ad15b02e9575e305fde0645b15642d0dd8878bc41da9fb88252722",
+ "indexes" : {
+ "data" : 20,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2645e04375986d954b5a519729a0185493e8c742ade1a47c209518f39bf7b34a",
+ "indexes" : {
+ "data" : 21,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xdc9371c778ad15b02e9575e305fde0645b15642d0dd8878bc41da9fb88252722",
+ "indexes" : {
+ "data" : 22,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x1b6eb5326be2812301439769d4c1ee96cd1f7caada80dfa4cedfe8631c28770f",
+ "indexes" : {
+ "data" : 23,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbeb3a72a05bec1ad4c3c7f0d5c761676093c5859aa2052b30d5f89a09c56c418",
+ "indexes" : {
+ "data" : 24,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x5dfae05cec5a88a6786f37288d099e08764ab1d8989caa7215bd44cdc19964ec",
+ "indexes" : {
+ "data" : 25,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x01c03446197c1b6ae586f3e36da100c6b8db81a71c8e789fc3e8d4591a400e3d",
+ "indexes" : {
+ "data" : 26,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xf344f27b4bbe9ff93695b2217359d4a244b866c108907dc9d62e70b8c24b3fab",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xedadefce96b8e5bc0b47ab27f15d0d4485b48bd2310d025297f1e8a81d218f8a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x30ea2865862628ecdfb1b8e05a93924e0724fd3cb2ddb58a81f12115aa35d8e6",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x0750d2c5ea18000c751a7cd6c2d80181e2b3b652697080d0630318d1133c5d80",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x7ab9c5c6fa99244ac4be6eb1616a07cae2a86f1bc3edf1806d7e571c3d1fddec",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x1b6eb5326be2812301439769d4c1ee96cd1f7caada80dfa4cedfe8631c28770f",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xf94ed059b9cf9c906e19620368914a7896fc500d5142ddaedef0289368b15857",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x01c03446197c1b6ae586f3e36da100c6b8db81a71c8e789fc3e8d4591a400e3d",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x4d121d2b73e06febfd827e5fbe96f0f07053de8a67db87de342a8fae79f2439d",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2ca8c0c717997cb343a2c40361aee089948bf81f5b54b6a70c0142ce47dbdd3b",
+ "indexes" : {
+ "data" : 10,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2ca8c0c717997cb343a2c40361aee089948bf81f5b54b6a70c0142ce47dbdd3b",
+ "indexes" : {
+ "data" : 11,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2ca8c0c717997cb343a2c40361aee089948bf81f5b54b6a70c0142ce47dbdd3b",
+ "indexes" : {
+ "data" : 12,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 13,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 14,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 15,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x15c59e0509961d406f6938d9f81755c3ce716f7b29b0222f705704eb72e5d0a4",
+ "indexes" : {
+ "data" : 16,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2645e04375986d954b5a519729a0185493e8c742ade1a47c209518f39bf7b34a",
+ "indexes" : {
+ "data" : 17,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2ca8c0c717997cb343a2c40361aee089948bf81f5b54b6a70c0142ce47dbdd3b",
+ "indexes" : {
+ "data" : 18,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x983bc042119afb8ab9ca087eab378e8f7ac7fe0010c1e8f4b17907141ce67c22",
+ "indexes" : {
+ "data" : 19,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xdc9371c778ad15b02e9575e305fde0645b15642d0dd8878bc41da9fb88252722",
+ "indexes" : {
+ "data" : 20,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x2645e04375986d954b5a519729a0185493e8c742ade1a47c209518f39bf7b34a",
+ "indexes" : {
+ "data" : 21,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xdc9371c778ad15b02e9575e305fde0645b15642d0dd8878bc41da9fb88252722",
+ "indexes" : {
+ "data" : 22,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x1b6eb5326be2812301439769d4c1ee96cd1f7caada80dfa4cedfe8631c28770f",
+ "indexes" : {
+ "data" : 23,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbeb3a72a05bec1ad4c3c7f0d5c761676093c5859aa2052b30d5f89a09c56c418",
+ "indexes" : {
+ "data" : 24,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x5dfae05cec5a88a6786f37288d099e08764ab1d8989caa7215bd44cdc19964ec",
+ "indexes" : {
+ "data" : 25,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x01c03446197c1b6ae586f3e36da100c6b8db81a71c8e789fc3e8d4591a400e3d",
+ "indexes" : {
+ "data" : 26,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 10,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 11,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 12,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 13,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 14,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 15,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 16,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 17,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 18,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 19,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 20,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 21,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 22,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 23,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 24,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 25,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 26,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 10,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 11,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 12,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 13,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 14,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 15,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 16,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 17,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 18,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 19,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 20,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 21,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 22,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 23,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 24,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 25,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f",
+ "indexes" : {
+ "data" : 26,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
"Metropolis" : [
{
"hash" : "0x3f6a7d118c23f7c56e1209fabbf80e92477731daf4f834a5bfa1156408310b99",
@@ -209,6 +1081,22 @@
"gas" : 0,
"value" : 0
}
+ },
+ {
+ "hash" : "0x1493609bc7a1f2d93fce7b6686dc9924ce992a3d628ff2f611b1b3d9dcb98c04",
+ "indexes" : {
+ "data" : 25,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xf86c34793b0787f853d6dc878eac0db3289d2fae018951da94930d1f688ff811",
+ "indexes" : {
+ "data" : 26,
+ "gas" : 0,
+ "value" : 0
+ }
}
]
},
@@ -254,7 +1142,9 @@
"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002023003",
"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020230",
"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000202",
- "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002"
+ "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002",
+ "0x000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001001001010010",
+ "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000064"
],
"gasLimit" : [
"0x05f5e100"
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
index 7db520093..4074f49a1 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
@@ -91,7 +91,7 @@
},
{
"indexes" : {
- "data" : [11, 14],
+ "data" : [11, 14, 25, 26],
"gas" : -1,
"value" : -1
},
@@ -177,7 +177,9 @@
"17 - 02**03 % 0006",
"18,19,20 - Non-zero length mod, but passed calldata has not enough total length",
"21,21,22,23 - Non-zero length exp & mod, but passed data has only base and part of exp / only base",
- "24 - Non-zero length base & exp & mod and no values in input data - interpreted as all zeroes"
+ "24 - Non-zero length base & exp & mod and no values in input data - interpreted as all zeroes",
+ "25 - Price calculation when baseLength > modLength",
+ "26 - bigint_expmod precompiled contract returns 1 for 0 ^ 0 mod 100"
],
"data" : [
"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002003fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
@@ -204,7 +206,9 @@
"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002023003",
"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020230",
"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000202",
-"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002"
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002",
+"0x000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001001001010010",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000064"
],
"gasLimit" : [
"100000000"