aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/FillStackFiller.json60
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/MSTORE_Bounds2aFiller.json13
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/RETURN_BoundsFiller.json17
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/SSTORE_BoundsFiller.json15
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound2Filler.json67
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBoundFiller.json30
-rw-r--r--src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound_MsizeFiller.json31
7 files changed, 226 insertions, 7 deletions
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/FillStackFiller.json b/src/GeneralStateTestsFiller/stMemoryStressTest/FillStackFiller.json
index 77914c399..d60f78993 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/FillStackFiller.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/FillStackFiller.json
@@ -39,6 +39,66 @@
}
}
},
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : ["Frontier"],
+ "result" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x00",
+ "code" : "0x5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe457f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000c3504357155320803a975560005155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "945304eb96065b2a98b57a48a06ae28d285a71b5" : {
+ "balance" : "3141638",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : [">=Homestead"],
+ "result" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x00",
+ "code" : "0x5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe457f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000c3504357155320803a975560005155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "945304eb96065b2a98b57a48a06ae28d285a71b5" : {
+ "balance" : "3141638",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
{
"indexes" : {
"data" : -1,
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/MSTORE_Bounds2aFiller.json b/src/GeneralStateTestsFiller/stMemoryStressTest/MSTORE_Bounds2aFiller.json
index 9f636c3f9..1e7486752 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/MSTORE_Bounds2aFiller.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/MSTORE_Bounds2aFiller.json
@@ -22,6 +22,19 @@
"balance" : "1"
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : [">=Byzantium"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "0"
+ }
+ }
}
],
"pre" :
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/RETURN_BoundsFiller.json b/src/GeneralStateTestsFiller/stMemoryStressTest/RETURN_BoundsFiller.json
index 1e001ee2f..0783166f6 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/RETURN_BoundsFiller.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/RETURN_BoundsFiller.json
@@ -12,7 +12,7 @@
{
"indexes" : {
"data" : -1,
- "gas" : 1,
+ "gas" : -1,
"value" : -1
},
"network" : ["Frontier", "Homestead"],
@@ -27,6 +27,21 @@
{
"indexes" : {
"data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
"gas" : 1,
"value" : -1
},
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/SSTORE_BoundsFiller.json b/src/GeneralStateTestsFiller/stMemoryStressTest/SSTORE_BoundsFiller.json
index 3015f0dda..51fb0a143 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/SSTORE_BoundsFiller.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/SSTORE_BoundsFiller.json
@@ -31,6 +31,21 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : [">=Byzantium"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "0",
+ "storage" : {
+ }
+ }
+ }
}
],
"pre" : {
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound2Filler.json b/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound2Filler.json
index 83009bfe1..8b5bd292e 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound2Filler.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound2Filler.json
@@ -39,6 +39,67 @@
}
}
},
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : ["Frontier"],
+ "result" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x64017735940051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "150000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : [">=Homestead"],
+ "result" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x64017735940051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "150000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "377910804069850",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ },
{
"indexes" : {
"data" : -1,
@@ -71,12 +132,6 @@
}
}
],
- "post" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "storage" : {
- }
- }
- },
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBoundFiller.json b/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBoundFiller.json
index d235d8144..63315bb0e 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBoundFiller.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBoundFiller.json
@@ -38,6 +38,36 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : [">=Byzantium"],
+ "result" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x64010000000051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "150000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
}
],
"pre" : {
diff --git a/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound_MsizeFiller.json b/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound_MsizeFiller.json
index 1254b8e7c..091936b17 100644
--- a/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound_MsizeFiller.json
+++ b/src/GeneralStateTestsFiller/stMemoryStressTest/mload32bitBound_MsizeFiller.json
@@ -39,6 +39,37 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : [">=Byzantium"],
+ "result" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600163ffffffff5259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "150000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
}
],
"pre" : {