Skip to content

Commit

Permalink
restore ecmul test
Browse files Browse the repository at this point in the history
  • Loading branch information
winsvega committed May 15, 2018
1 parent 621ad11 commit 021fe3d
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 105 deletions.
165 changes: 63 additions & 102 deletions GeneralStateTests/stZeroKnowledge2/ecmul_0-3_5616_28000_96.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"ecmul_0-3_5616_28000_96" : {
"_info" : {
"comment" : "Puts the point (0, 3) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495616 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes",
"filling-rpc-server" : "eth/v1.3.0/Linux/g++/Interpreter/Debug/37f37291*/",
"filling-tool-version" : "retesteth-0.0.1+commit.86270701.Linux.g++",
"comment" : "",
"filledwith" : "cpp-1.3.0+commit.82b0643a.Linux.g++",
"lllcversion" : "Version: 0.4.20-develop.2018.1.8+commit.2548228b.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stZeroKnowledge2/ecmul_0-3_5616_28000_96Filler.json",
"sourceHash" : "ffb11a96ca9809a418095e7ae1d31bdd5c47895364c5dc60a0d00a6ad3b9b88d"
"sourceHash" : "4cde278d0a2c42fc2926b6e98cf5f25dfaae8dc54830783e70664902b404d840"
},
"env" : {
"currentCoinbase" : "0x3535353535353535353535353535353535353535",
Expand All @@ -16,122 +15,162 @@
"currentTimestamp" : "0x03e8",
"previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
},
"post" : {
"Byzantium" : [
{
"hash" : "0x41d8fd264853c79997c692917095fc4b2b43e94e424a47ae10632ae85b3c5c01",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"hash" : "0x41d8fd264853c79997c692917095fc4b2b43e94e424a47ae10632ae85b3c5c01",
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"hash" : "0x41d8fd264853c79997c692917095fc4b2b43e94e424a47ae10632ae85b3c5c01",
"indexes" : {
"data" : 0,
"gas" : 2,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"hash" : "0x41d8fd264853c79997c692917095fc4b2b43e94e424a47ae10632ae85b3c5c01",
"indexes" : {
"data" : 0,
"gas" : 3,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x0000000000000000000000000000000000000000" : {
"balance" : "0x01",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000001" : {
"balance" : "0x01",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000002" : {
"balance" : "0x01",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000003" : {
"balance" : "0x01",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000004" : {
"balance" : "0x01",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000005" : {
"balance" : "0x01",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000006" : {
"balance" : "0x01",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000007" : {
"balance" : "0x01",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x3535353535353535353535353535353535353535" : {
"balance" : "0x00",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x598443f1880ef585b21f1d7585bd0577402861e5" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x77db2bebba79db42a978f896968f4afce746ea1f" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x7d577a597b2742b498cb5cf0c26cdcd726d39e6e" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
"balance" : "0x00",
"code" : "0x",
"code" : "",
"nonce" : "0xad",
"storage" : {
}
},
"0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
Expand All @@ -146,14 +185,14 @@
},
"0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "0x",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
Expand All @@ -176,84 +215,6 @@
"value" : [
"0x"
]
},
"post" : {
"Byzantium" : [
{
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x60904f7b0bf855e8415df331627f073b4e86799c6e21278a177bc83aa869df6a",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 0
},
"hash" : "0x60904f7b0bf855e8415df331627f073b4e86799c6e21278a177bc83aa869df6a",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 0,
"gas" : 2,
"value" : 0
},
"hash" : "0x60904f7b0bf855e8415df331627f073b4e86799c6e21278a177bc83aa869df6a",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 0,
"gas" : 3,
"value" : 0
},
"hash" : "0x60904f7b0bf855e8415df331627f073b4e86799c6e21278a177bc83aa869df6a",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Constantinople" : [
{
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x60904f7b0bf855e8415df331627f073b4e86799c6e21278a177bc83aa869df6a",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 0,
"gas" : 1,
"value" : 0
},
"hash" : "0x60904f7b0bf855e8415df331627f073b4e86799c6e21278a177bc83aa869df6a",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 0,
"gas" : 2,
"value" : 0
},
"hash" : "0x60904f7b0bf855e8415df331627f073b4e86799c6e21278a177bc83aa869df6a",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
"indexes" : {
"data" : 0,
"gas" : 3,
"value" : 0
},
"hash" : "0x60904f7b0bf855e8415df331627f073b4e86799c6e21278a177bc83aa869df6a",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,11 @@
"balance": "1000000000000000000",
"code": "0x"
},
"3535353535353535353535353535353535353535": {
"storage": {},
"nonce": "0",
"code": "0x"
},
"0000000000000000000000000000000000000002": {
"storage": {},
"nonce": "0",
Expand Down Expand Up @@ -275,8 +280,6 @@
}
}
],
"_info": {
"comment" : "Puts the point (0, 3) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495616 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes"
}
"explanation": "Puts the point (0, 3) and the factor 21888242871839275222246405745257275088548364400416034343698204186575808495616 into the ECMUL precompile, truncating or expanding the input data to 96 bytes. Gives the execution 28000 bytes"
}
}

0 comments on commit 021fe3d

Please sign in to comment.