aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/BlockchainTestsFiller/TestNetwork/bcMetropolisFiller.json364
-rw-r--r--src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2Filler.json3
-rw-r--r--src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2OOGFiller.json3
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json225
4 files changed, 593 insertions, 2 deletions
diff --git a/src/BlockchainTestsFiller/TestNetwork/bcMetropolisFiller.json b/src/BlockchainTestsFiller/TestNetwork/bcMetropolisFiller.json
new file mode 100644
index 000000000..fe27ae732
--- /dev/null
+++ b/src/BlockchainTestsFiller/TestNetwork/bcMetropolisFiller.json
@@ -0,0 +1,364 @@
+{
+ "MetropolisTransition" : {
+ "genesisBlockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
+ "difficulty" : "131072",
+ "extraData" : "0x42",
+ "gasLimit" : "3141592",
+ "gasUsed" : "0",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
+ "timestamp" : "0x54c98c81",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "expect" : {
+ "1000000000000000000000000000000000000001" : {
+ "balance" : "2"
+ }
+ },
+ "pre" : {
+ "d4fe7bc31cedb7bfb8a345f31e668033056b2728" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "b3fb0e5aba0e20e5c49d252dfd30e102b171a425" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "2c19c7f9ae8b751e37aeb2d93a699722395ae18f" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "ecd135fa4f61a655311e86238c92adcd779555d2" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "1975bd06d486162d5dc297798dfc41edd5d160a7" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "a3acf3a1e16b1d7c315e23510fdd7847b48234f6" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "319f70bab6845585f412ec7724b744fec6095c85" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "06706dd3f2c9abf0a21ddcc6941d9b86f0596936" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "5c8536898fbb74fc7445814902fd08422eac56d0" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "6966ab0d485353095148a2155858910e0965b6f9" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "779543a0491a837ca36ce8c635d6154e3c4911a6" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "2a5ed960395e2a49b1c758cef4aa15213cfd874c" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "5c6e67ccd5849c0d29219c4f95f1a7a93b3f5dc5" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "9c50426be05db97f5d64fc54bf89eff947f0a321" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "200450f06520bdd6c527622a273333384d870efb" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "be8539bfe837b67d1282b2b1d61c3f723966f049" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "6b0c4d41ba9ab8d8cfb5d379c69a612f2ced8ecb" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "f1385fb24aad0cd7432824085e42aff90886fef5" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "d1ac8b1ef1b69ff51d1d401a476e7e612414f091" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "8163e7fb499e90f8544ea62bbf80d21cd26d9efd" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "51e0ddd9998364a2eb38588679f0d2c42653e4a6" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "627a0a960c079c21c34f7612d5d230e01b4ad4c7" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "f0b1aa0eb660754448a7937c022e30aa692fe0c5" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "24c4d950dfd4dd1902bbed3508144a54542bba94" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "9f27daea7aca0aa0446220b98d028715e3bc803d" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "a5dc5acd6a7968a4554d89d65e59b7fd3bff0f90" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "d9aef3a1e38a39c16b31d1ace71bca8ef58d315b" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "63ed5a272de2f6d968408b4acb9024f4cc208ebf" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "6f6704e5a10332af6672e50b3d9754dc460dfa4d" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "77ca7b50b6cd7e2f3fa008e24ab793fd56cb15f6" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "492ea3bb0f3315521c31f273e565b868fc090f17" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "0ff30d6de14a8224aa97b78aea5388d1c51c1f00" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "9ea779f907f0b315b364b0cfc39a0fde5b02a416" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "ceaeb481747ca6c540a000c1f3641f8cef161fa7" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "cc34673c6c40e791051898567a1222daf90be287" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "579a80d909f346fbfb1189493f521d7f48d52238" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "e308bd1ac5fda103967359b2712dd89deffb7973" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "4cb31628079fb14e4bc3cd5e30c2f7489b00960c" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "ac1ecab32727358dba8962a0f3b261731aad9723" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "4fd6ace747f06ece9c49699c7cabc62d02211f75" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "440c59b325d2997a134c2c7c60a8c61611212bad" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "4486a3d68fac6967006d7a517b889fd3f98c102b" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "9c15b54878ba618f494b38f0ae7443db6af648ba" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "27b137a85656544b1ccb5a0f2e561a5703c6a68f" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "21c7fdb9ed8d291d79ffd82eb2c4356ec0d81241" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "23b75c2f6791eef49c69684db4c6c1f93bf49a50" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "1ca6abd14d30affe533b24d7a21bff4c2d5e1f3b" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "b9637156d330c0d605a791f1c31ba5890582fe1c" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "6131c42fa982e56929107413a9d526fd99405560" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "1591fc0f688c81fbeb17f5426a162a7024d430c2" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "542a9515200d14b68e934e9830d91645a980dd7a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "c4bbd073882dd2add2424cf47d35213405b01324" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "782495b7b3355efb2833d56ecb34dc22ad7dfcc4" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "58b95c9a9d5d26825e70a82b6adb139d3fd829eb" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "3ba4d81db016dc2890c81f3acec2454bff5aada5" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "b52042c8ca3f8aa246fa79c3feaa3d959347c0ab" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "e4ae1efdfc53b73893af49113d8694a057b9c0d1" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "3c02a7bc0391e86d91b7d144e61c2c01a25a79c5" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "0737a6b837f97f46ebade41b9bc3e1c509c85c53" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "97f43a37f595ab5dd318fb46e7a155eae057317a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "52c5317c848ba20c7504cb2c8052abd1fde29d03" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "4863226780fe7c0356454236d3b1c8792785748d" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "5d2b2e6fcbe3b11d26b525e085ff818dae332479" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "5f9f3392e9f62f63b8eac0beb55541fc8627f42c" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "057b56736d32b86616a10f619859c6cd6f59092a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "9aa008f65de0b923a2a4f02012ad034a5e2e2192" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "304a554a310c7e546dfe434669c62820b7d83490" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "914d1b8b43e92723e64fd0a06f5bdb8dd9b10c79" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "4deb0033bb26bc534b197e61d19e0733e5679784" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "07f5c1e1bc2c93e0402f23341973a0e043f7bf8a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "35a051a0010aba705c9008d7a7eff6fb88f6ea7b" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "4fa802324e929786dbda3b8820dc7834e9134a2a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "9da397b9e80755301a3b32173283a91c0ef6c87e" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "8d9edb3054ce5c5774a420ac37ebae0ac02343c6" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "0101f3be8ebb4bbd39a2e3b9a3639d4259832fd9" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "5dc28b15dffed94048d73806ce4b7a4612a1d48f" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "bcf899e6c7d9d5a215ab1e3444c86806fa854c76" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "12e626b0eebfe86a56d633b9864e389b45dcb260" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "a2f1ccba9395d7fcb155bba8bc92db9bafaeade7" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "ec8e57756626fdc07c63ad2eafbd28d08e7b0ca5" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "d164b088bd9108b60d0ca3751da4bceb207b0782" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "6231b6d0d5e77fe001c2a460bd9584fee60d409b" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "1cba23d343a983e9b5cfd19496b9a9701ada385f" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "a82f360a8d3455c5c41366975bde739c37bfeb8a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "9fcd2deaff372a39cc679d5c5e4de7bafb0b1339" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "005f5cee7a43331d5a3d3eec71305925a62f34b6" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "0e0da70933f4c7849fc0d203f5d1d43b9ae4532d" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "d131637d5275fd1a68a3200f4ad25c71a2a9522e" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "bc07118b9ac290e4622f5e77a0853539789effbe" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "47e7aa56d6bdf3f36be34619660de61275420af8" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "acd87e28b0c9d1254e868b81cba4cc20d9a32225" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "adf80daec7ba8dcf15392f1ac611fff65d94f880" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "5524c55fb03cf21f549444ccbecb664d0acad706" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "40b803a9abce16f50f36a77ba41180eb90023925" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "fe24cdd8648121a43a7c86d289be4dd2951ed49f" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "17802f43a0137c506ba92291391a8a8f207f487d" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "253488078a4edf4d6f42f113d1e62836a942cf1a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "86af3e9626fce1957c82e88cbf04ddf3a2ed7915" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "b136707642a4ea12fb4bae820f03d2562ebff487" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "dbe9b615a3ae8709af8b93336ce9b477e4ac0940" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "f14c14075d6c4ed84b86798af0956deef67365b5" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "ca544e5c4687d109611d0f8f928b53a25af72448" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "aeeb8ff27288bdabc0fa5ebb731b6f409507516c" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "cbb9d3703e651b0d496cdefb8b92c25aeb2171f7" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "6d87578288b6cb5549d5076a207456a1f6a63dc0" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "b2c6f0dfbb716ac562e2d85d6cb2f8d5ee87603e" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "accc230e8a6e5be9160b8cdf2864dd2a001c28b6" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "2b3455ec7fedf16e646268bf88846bd7a2319bb2" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "4613f3bca5c44ea06337a9e439fbc6d42e501d0a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "d343b217de44030afaa275f54d31a9317c7f441e" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "84ef4b2357079cd7a7c69fd7a37cd0609a679106" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "da2fef9e4a3230988ff17df2165440f37e8b1708" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "f4c64518ea10f995918a454158c6b61407ea345c" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "7602b46df5390e432ef1c307d4f2c9ff6d65cc97" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "bb9bc244d798123fde783fcc1c72d3bb8c189413" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "807640a13483f8ac783c557fcdf27be11ea4ac7a" : { "balance" : "10000000000", "nonce" : "0", "code" : "", "storage": {} },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "10000000000",
+ "nonce" : "0",
+ "code" : "",
+ "storage": {}
+ }
+ },
+ "blocks" : [
+ {
+ "blocknumber" : "1",
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "2",
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "3",
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "4",
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "5",
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "6",
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "7",
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "8",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "9",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "10",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "11",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "12",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "13",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "14",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "15",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "16",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ {
+ "populateFromBlock" : "14",
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "overwriteAndRedoPoW" : "extraData"
+ }
+ ]
+ },
+ {
+ "blocknumber" : "17",
+ "blockHeaderPremine" : {
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ {
+ "populateFromBlock" : "15",
+ "extraData" : "0x64616f2d686172642d666f726b",
+ "overwriteAndRedoPoW" : "extraData"
+ }
+ ]
+ },
+ {
+ "blocknumber" : "18",
+ "transactions" : [
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "19",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "60000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "1000000000000000000000000000000000000001",
+ "value" : "1"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "blocknumber" : "20",
+ "blockHeader" : {
+ "RelTimestamp" : "1000",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "60000",
+ "gasPrice" : "1",
+ "nonce" : "1",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "1000000000000000000000000000000000000001",
+ "value" : "1"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ]
+ }
+}
diff --git a/src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2Filler.json b/src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2Filler.json
index 60b3f77c3..6337b4add 100644
--- a/src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2Filler.json
+++ b/src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2Filler.json
@@ -28,6 +28,7 @@
"1000000000000000000000000000000000000000" : {
"balance" : "0",
"code" : "{ (JUMP 0xffffffff) (JUMP 0xffffffffffffffff) (JUMP 0xffffffffffffffffffffffffffffffff) (JUMP 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) }",
+ "code" : "0x63ffffffff5667ffffffffffffffff566fffffffffffffffffffffffffffffffff567fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff56",
"nonce" : "0",
"storage" : {
}
@@ -56,4 +57,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2OOGFiller.json b/src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2OOGFiller.json
index 23b6ebb12..89738c019 100644
--- a/src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2OOGFiller.json
+++ b/src/GeneralStateTestsFiller/stBoundsTest/JUMP_Bounds2OOGFiller.json
@@ -28,6 +28,7 @@
"1000000000000000000000000000000000000000" : {
"balance" : "0",
"code" : "{ (JUMP 0xffffffff) (JUMP 0xffffffffffffffff) (JUMP 0xffffffffffffffffffffffffffffffff) (JUMP 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) }",
+ "code" : "0x63ffffffff5667ffffffffffffffff566fffffffffffffffffffffffffffffffff567fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff56",
"nonce" : "0",
"storage" : {
}
@@ -56,4 +57,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
new file mode 100644
index 000000000..4074f49a1
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
@@ -0,0 +1,225 @@
+{
+ "modexp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "10000000000",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [ "EIP150", "EIP158"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [0,6,7],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [1,5,8,9,10,12,13,15,18,19,20,21,22,23,24],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [2],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x00",
+ "0x02" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [3,4],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x3b01b01ac41f2d6e917c6d6a221ce793802469026d9ab7578fa2e79e4da6aaab"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [11, 14, 25, 26],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x0100000000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [16],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x02000000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : [17],
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Metropolis"],
+ "result" : {
+ "1000000000000000000000000000000000000000" : {
+ "storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x0200000000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "1000000000000000000000000000000000000000" : {
+ "balance" : "",
+ "code" : "{ (CALLDATACOPY 0 0 (CALLDATASIZE)) [[1]] (CALLCODE (GAS) 5 0 0 (CALLDATASIZE) 1000 32) [[2]](MLOAD 1000) }",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "(BASE**EXPONENT) % MODULUS",
+ "0 - example: 3**(2**256 - 2**32 - 978) % (2**256 - 2**32 - 977).",
+ "1 - Would be parsed as a base of 0, exponent of 2**256 - 2**32 - 978 and modulus of 2**256 - 2**32 - 978, and so would return 0. Notice how if the length_of_BASE is 0, then it does not interpret any data as the base, instead immediately interpreting the next 32 bytes as length_of_EXPONENT.",
+ "2 - Would parse a base length of 0, a modulus length of 32, and an exponent length of 2**256 - 1, where the base is empty, the modulus is 2**256 - 2 and the exponent is (2**256 - 3) * 256**(2**256 - 33) (yes, that's a really big number). It would then immediately fail, as it's not possible to provide enough gas to make that computation.",
+ "3 - Would parse as a base of 3, an exponent of 65535, and a modulus of 2**255, and it would ignore the remaining 0x07 byte.",
+ "4 - Would also parse as a base of 3, an exponent of 65535 and a modulus of 2**255, as it attempts to grab 32 bytes for the modulus starting from 0x80, but then there is no further data so it right pads it with 31 zeroes.",
+ "5 - Missing values",
+ "6 - Empty value",
+ "7 - 0**0 % 0x80",
+ "8 - 0**0 % 0",
+ "9 - modlength zero",
+ "10 - 0**03 % 04",
+ "11 - 02**00 % 04",
+ "12 - 02**03 % 00",
+ "13 - **03 % 04",
+ "14 - 02** % 04",
+ "15 - 02**03 % ",
+ "16 - 02**03 % 06",
+ "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",
+ "25 - Price calculation when baseLength > modLength",
+ "26 - bigint_expmod precompiled contract returns 1 for 0 ^ 0 mod 100"
+ ],
+ "data" : [
+ "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002003fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
+"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",
+"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd" ,
+"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002003ffff800000000000000000000000000000000000000000000000000000000000000007",
+"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002003ffff80",
+"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002003",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020038000000000000000000000000000000000000000000000000000000000000000",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000080",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000",
+"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000101",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000304",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001020004",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001020300",
+"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010304",
+"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010204",
+"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000203",
+"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000202030006",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001020306",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002020300",
+"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000202030000",
+"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020203",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002023003",
+"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020230",
+"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000202",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002",
+"0x000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001001001010010",
+"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000064"
+ ],
+ "gasLimit" : [
+ "100000000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "1000000000000000000000000000000000000000",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}