diff options
Diffstat (limited to 'GeneralStateTests/stZeroKnowledge/pointMulAdd.json')
-rw-r--r-- | GeneralStateTests/stZeroKnowledge/pointMulAdd.json | 737 |
1 files changed, 475 insertions, 262 deletions
diff --git a/GeneralStateTests/stZeroKnowledge/pointMulAdd.json b/GeneralStateTests/stZeroKnowledge/pointMulAdd.json index 722d30bae..6f6e3791b 100644 --- a/GeneralStateTests/stZeroKnowledge/pointMulAdd.json +++ b/GeneralStateTests/stZeroKnowledge/pointMulAdd.json @@ -6,274 +6,487 @@ "source" : "/src/GeneralStateTestsFiller/stZeroKnowledge/pointMulAddFiller.json" }, "env" : { - "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", + "currentCoinbase" : "0x68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", "currentDifficulty" : "0x020000", - "currentGasLimit" : "4012015", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x3d37ef", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Frontier", - "Homestead", - "EIP150", - "EIP158" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01" - } - } - } - }, - { - "indexes" : { - "data" : [ - 0 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01", - "0x0a" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", - "0x0b" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4", - "0x14" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", - "0x15" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4" - } - } - } - }, - { - "indexes" : { - "data" : [ - 1 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01", - "0x0a" : "0x1f4d1d80177b1377743d1901f70d7389be7f7a35a35bfd234a8aaee615b88c49", - "0x0b" : "0x018683193ae021a2f8920fed186cde5d9b1365116865281ccf884c1f28b1df8f", - "0x14" : "0x1f4d1d80177b1377743d1901f70d7389be7f7a35a35bfd234a8aaee615b88c49", - "0x15" : "0x018683193ae021a2f8920fed186cde5d9b1365116865281ccf884c1f28b1df8f" - } - } - } - }, - { - "indexes" : { - "data" : [ - 2 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01" - } - } - } - }, - { - "indexes" : { - "data" : [ - 3 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01", - "0x0a" : "0x255e468453d7636cc1563e43f7521755f95e6c56043c7321b4ae04e772945fb0", - "0x0b" : "0x0225c5f1623620fd84bfbab2d861a9d1e570f7727c540f403085998ebaf407c4", - "0x14" : "0x255e468453d7636cc1563e43f7521755f95e6c56043c7321b4ae04e772945fb0", - "0x15" : "0x0225c5f1623620fd84bfbab2d861a9d1e570f7727c540f403085998ebaf407c4" - } - } - } - }, - { - "indexes" : { - "data" : [ - 4 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01", - "0x0a" : "0x1f4d1d80177b1377743d1901f70d7389be7f7a35a35bfd234a8aaee615b88c49", - "0x0b" : "0x2eddcb59a6517e86bfbe35c9691479fffc6e0580000ca2706c983ff7afcb1db8", - "0x14" : "0x1f4d1d80177b1377743d1901f70d7389be7f7a35a35bfd234a8aaee615b88c49", - "0x15" : "0x2eddcb59a6517e86bfbe35c9691479fffc6e0580000ca2706c983ff7afcb1db8" - } - } + "post" : { + "EIP150" : [ + { + "hash" : "0xdb4c17355650cd977ef0fecd9579eb3d82c957063e0256de225402ef796089af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xcccc5db9d06059853cbc0ebb807bfe837f71b021889b818a096eee35099bc84a", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x77d29d66072f359113db678e7169f2872212d975606e891ba35df9757d1d19a0", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x5225f2c835a3c0c9ec3e435fc010257cf650d4ca439c508b9be24aaf06eb4e2f", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xf2b87d61bedfcdb7e60cf436257300029e47bfa2b7f93b2b4522a2b90d7b1d68", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x7c234e0c800258681f0afb35b5729d57c2dab7e528e97e677b16cc661cc04ad1", + "indexes" : { + "data" : 5, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x30e321271efb7374308a2c87d28016dd7731f0863b902f8569248bf0b7994e72", + "indexes" : { + "data" : 6, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x658da3df2e232a7c3fd89afa50f5c4e535c4eac2013fe2a639248b9d2394acdd", + "indexes" : { + "data" : 7, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xade3d9feab82416a96b359c81740efaa515aa880bee40c96875ecbd7b5fb63b6", + "indexes" : { + "data" : 8, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 5 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01", - "0x0a" : "0x255e468453d7636cc1563e43f7521755f95e6c56043c7321b4ae04e772945fb0", - "0x0b" : "0x0225c5f1623620fd84bfbab2d861a9d1e570f7727c540f403085998ebaf407c4", - "0x14" : "0x255e468453d7636cc1563e43f7521755f95e6c56043c7321b4ae04e772945fb0", - "0x15" : "0x0225c5f1623620fd84bfbab2d861a9d1e570f7727c540f403085998ebaf407c4" - } - } + ], + "EIP158" : [ + { + "hash" : "0xdb4c17355650cd977ef0fecd9579eb3d82c957063e0256de225402ef796089af", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xcccc5db9d06059853cbc0ebb807bfe837f71b021889b818a096eee35099bc84a", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x77d29d66072f359113db678e7169f2872212d975606e891ba35df9757d1d19a0", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x5225f2c835a3c0c9ec3e435fc010257cf650d4ca439c508b9be24aaf06eb4e2f", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xf2b87d61bedfcdb7e60cf436257300029e47bfa2b7f93b2b4522a2b90d7b1d68", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x7c234e0c800258681f0afb35b5729d57c2dab7e528e97e677b16cc661cc04ad1", + "indexes" : { + "data" : 5, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x30e321271efb7374308a2c87d28016dd7731f0863b902f8569248bf0b7994e72", + "indexes" : { + "data" : 6, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x658da3df2e232a7c3fd89afa50f5c4e535c4eac2013fe2a639248b9d2394acdd", + "indexes" : { + "data" : 7, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xade3d9feab82416a96b359c81740efaa515aa880bee40c96875ecbd7b5fb63b6", + "indexes" : { + "data" : 8, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 6 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01", - "0x0a" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", - "0x0b" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4", - "0x14" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", - "0x15" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4" - } - } + ], + "Frontier" : [ + { + "hash" : "0x007e6c7ce50c8eab0f476a289f7520a7aead57ea74c18ea64a7d483d6801f56b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xa0ce8cf578f0fd9f281797d0cc938632ebfe593d7f7b7d7f39832a3ba1257280", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x6039f619e9bdcc70e2f6cca9ec9f5d3a47f63ab0225ed33fdf9760de2cccbe31", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x9d161ea3c78ba36dbab78233763ebd00985c0e5ccd187a016beb55c77fac7c64", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x690c97e6a6e184b24c381a95adc2820f51c95e630b13fdab30a2636b7c614033", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xcccc5db9d06059853cbc0ebb807bfe837f71b021889b818a096eee35099bc84a", + "indexes" : { + "data" : 5, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x60c8a25f609d54afde83733c28d7fba796f4e0443a64fa50b6f02d1a6594fdd6", + "indexes" : { + "data" : 6, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x23a4c690f1d98bd974973bf2fc61eb364c9061991a9f4b4145c23206915b7e52", + "indexes" : { + "data" : 7, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x54e4c0861adfc77971395b94f1b4b97fc3bb85fca8070f4d40913628aa9e622d", + "indexes" : { + "data" : 8, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 7 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x0a" : "0x030644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd3", - "0x0b" : "0x15ed738c0e0a7c92e7845f96b2ae9c0a68a6a449e3538fc7ff3ebf7a5a18a2c4", - "0x14" : "0x01", - "0x15" : "0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd45" - } - } + ], + "Homestead" : [ + { + "hash" : "0x007e6c7ce50c8eab0f476a289f7520a7aead57ea74c18ea64a7d483d6801f56b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xa0ce8cf578f0fd9f281797d0cc938632ebfe593d7f7b7d7f39832a3ba1257280", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x6039f619e9bdcc70e2f6cca9ec9f5d3a47f63ab0225ed33fdf9760de2cccbe31", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x9d161ea3c78ba36dbab78233763ebd00985c0e5ccd187a016beb55c77fac7c64", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x690c97e6a6e184b24c381a95adc2820f51c95e630b13fdab30a2636b7c614033", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xcccc5db9d06059853cbc0ebb807bfe837f71b021889b818a096eee35099bc84a", + "indexes" : { + "data" : 5, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x60c8a25f609d54afde83733c28d7fba796f4e0443a64fa50b6f02d1a6594fdd6", + "indexes" : { + "data" : 6, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x23a4c690f1d98bd974973bf2fc61eb364c9061991a9f4b4145c23206915b7e52", + "indexes" : { + "data" : 7, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x54e4c0861adfc77971395b94f1b4b97fc3bb85fca8070f4d40913628aa9e622d", + "indexes" : { + "data" : 8, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - }, - { - "indexes" : { - "data" : [ - 8 - ], - "gas" : -1, - "value" : -1 - }, - "network" : [ - "Metropolis" - ], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x01", - "0x01" : "0x01", - "0x02" : "0x01", - "0x03" : "0x01" - } - } + ], + "Metropolis" : [ + { + "hash" : "0xfdd08d76f9a6ca38f67c7d5c754cdaf3dc3e0cb047b5eade661492b19f9f4f43", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x8a3ff5ed30666d021815dcf353abd5d0ab1f3142a31ccc91473047cad64d784b", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x6acc8adb96e7ebfb3c9d7df0e8b661700e61f2536e949fd98dabac3f69e30938", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe34486d17d11de75b37b3f4c59a8dbe32c7edd6af038b11cdb67564c45fdbd3e", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xad6510f9e1a66f34e0c5778256536b4e35e58afc4dee260a746f81ac720b0eb3", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x5ecf847501d6aa3b7b8fc0f9295b56f71304c64dbb7e11c72c253fa5eecfea5b", + "indexes" : { + "data" : 5, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0x316f9c3512ac88f19bac4e171f11f1830b1ab7ebbb91fc0a13437c16bdb23d68", + "indexes" : { + "data" : 6, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xf47f3b37c855b7ab62421dace94aa7a6d4e6d69b0bddd14850b9a051b2a085c1", + "indexes" : { + "data" : 7, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] + }, + { + "hash" : "0xe3cd5e302c35284d4fc6b0927fe0d6d20dae65f136654550fdd461ff5b640a00", + "indexes" : { + "data" : 8, + "gas" : 0, + "value" : 0 + }, + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", "code" : "", - "nonce" : "1", + "nonce" : "0x01", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "", - "code" : "{(MSTORE 0 (CALLDATALOAD 0)) (MSTORE 32 (CALLDATALOAD 32)) (MSTORE 64 (CALLDATALOAD 64)) (MSTORE 96 (CALLDATALOAD 96)) (MSTORE 128 (CALLDATALOAD 128)) (MSTORE 160 (CALLDATALOAD 160)) (MSTORE 192 (CALLDATALOAD 192)) [[0]](CALLCODE 500000 6 0 0 128 300 64) [[1]](CALLCODE 500000 7 0 128 96 400 64) [[10]] (MLOAD 300) [[11]] (MLOAD 332) [[20]] (MLOAD 400) [[21]] (MLOAD 432) [[2]] (EQ (SLOAD 10) (SLOAD 20)) [[3]] (EQ (SLOAD 11) (SLOAD 21))}", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", "storage" : { } } @@ -291,14 +504,14 @@ "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000130644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd45000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000" ], "gasLimit" : [ - "2000000" + "0x1e8480" ], - "gasPrice" : "1", - "nonce" : "1", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x01", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0" + "0x00" ] } } |