aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-04-25 00:53:22 +0800
committerDimitry <winsvega@mail.ru>2017-04-25 00:53:22 +0800
commit9e1f1f3dd7943eced26a7dca138b8f2c1f88c5f7 (patch)
tree5ef275eec846b3fbb7f13b4a85ed2aa71c20f22d /GeneralStateTests
parentdc53b45696628cfd029a40a85a02847e1f3ee545 (diff)
downloaddexon-tests-9e1f1f3dd7943eced26a7dca138b8f2c1f88c5f7.tar.gz
dexon-tests-9e1f1f3dd7943eced26a7dca138b8f2c1f88c5f7.tar.zst
dexon-tests-9e1f1f3dd7943eced26a7dca138b8f2c1f88c5f7.zip
modexp tests
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stPreCompiledContracts/modexp.json271
1 files changed, 271 insertions, 0 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp.json b/GeneralStateTests/stPreCompiledContracts/modexp.json
new file mode 100644
index 000000000..562a9c443
--- /dev/null
+++ b/GeneralStateTests/stPreCompiledContracts/modexp.json
@@ -0,0 +1,271 @@
+{
+ "modexp" : {
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x02540be400",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Metropolis" : [
+ {
+ "hash" : "0x3f6a7d118c23f7c56e1209fabbf80e92477731daf4f834a5bfa1156408310b99",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x0d5bb4114605fbd511192f3195e33f9630009abb78a79f6ee8a5bf515bc0d7b1",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xe3a7ddada48220c8592f6bd514430285b58b3383623a93710feab1c651651a18",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xb01284f01a1628a9d43d80050b4fda204c15dff260cb197102f5a2dbad16149e",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x31e905dc9235f9087d1903de0c6ae5c47e5eb2bc3bf2e3d1648070d5b979a679",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x99f6c575d5a287579ec454c95dd88f2364ed04642c9f1f2aa9e2c7349e2b3b55",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xed263b047df301fd5dc55126a1d858a99fa2c7a6cda051e3d6f3794cb8b12861",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x52cc4eb471c9560489ca51f170a5852b29f66847fcdb4c42ea37255b96ba1973",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xa945c5f8d68676c99d2cac071869ca38c9c1a23f2dcf9a8b08c663f3e9d97e47",
+ "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" : "0xad6357cbdf0bec96c717c466205b4e4d1701b8e509ea7a4c309e6d19767e3d2c",
+ "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" : "0xe931892583db8a3be87fdc79c961f0ac3c8e3dcce8ac423dd7c5f1b8198d2f29",
+ "indexes" : {
+ "data" : 14,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x548b75e6b85f994ec0f6dc3e7c5f5b96981c5d9d5559f9528ce55aa27fa59488",
+ "indexes" : {
+ "data" : 15,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0xb38b07f4f1d4401d64e4796e79aebaa339faba8ff438ee1fd37e7058e3079a0e",
+ "indexes" : {
+ "data" : 16,
+ "gas" : 0,
+ "value" : 0
+ }
+ },
+ {
+ "hash" : "0x700712ea25c4d123021b690c8b5457404ff1c7263663a523dc83b6c523c348a3",
+ "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
+ }
+ }
+ ]
+ },
+ "pre" : {
+ "0x1000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x36600060003760206103e8366000600060055af26001556103e851600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x3635c9adc5dea00000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "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"
+ ],
+ "gasLimit" : [
+ "0x05f5e100"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x1000000000000000000000000000000000000000",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file