Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding final test cases for elliptic curves #171

Closed
wants to merge 8 commits into from
  •  
  •  
  •  
3,877 changes: 3,877 additions & 0 deletions BlockchainTests/GeneralStateTests/stZeroKnowledge/pairingTest.json

Large diffs are not rendered by default.

5,061 changes: 5,061 additions & 0 deletions BlockchainTests/GeneralStateTests/stZeroKnowledge/pointAdd.json

Large diffs are not rendered by default.

5,062 changes: 5,062 additions & 0 deletions BlockchainTests/GeneralStateTests/stZeroKnowledge/pointAddTrunc.json

Large diffs are not rendered by default.

4,708 changes: 4,708 additions & 0 deletions BlockchainTests/GeneralStateTests/stZeroKnowledge/pointMulAdd.json

Large diffs are not rendered by default.

19,842 changes: 19,842 additions & 0 deletions BlockchainTests/GeneralStateTests/stZeroKnowledge/pointMulAdd2.json

Large diffs are not rendered by default.

222 changes: 222 additions & 0 deletions GeneralStateTests/stZeroKnowledge/ecadd_0-0_0-0_21000_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
{
"ecadd_0-0_0-0_21000_0" : {
"env" : {
"currentCoinbase" : "0x3535353535353535353535353535353535353535",
"currentDifficulty" : "0x1",
"currentGasLimit" : "0x5f5e100",
"currentNumber" : "0x1",
"currentTimestamp" : "0x5777765e",
"previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
},
"explanation" : "Puts the points (0, 0) and (0, 0) into the ECADD precompile, truncating or expanding the input data to 0 bytes. Gives the execution 21000 bytes",
"post" : {
"EIP150" : [
{
"hash" : "0xc7c83396811d3191909b7c6f6147c47c70bf7de2a5e0bb63ce937e1c87610eaa",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
}
],
"EIP158" : [
{
"hash" : "0xc7c83396811d3191909b7c6f6147c47c70bf7de2a5e0bb63ce937e1c87610eaa",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
}
],
"Frontier" : [
{
"hash" : "0xc7c83396811d3191909b7c6f6147c47c70bf7de2a5e0bb63ce937e1c87610eaa",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
}
],
"Homestead" : [
{
"hash" : "0xc7c83396811d3191909b7c6f6147c47c70bf7de2a5e0bb63ce937e1c87610eaa",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
}
],
"Metropolis" : [
{
"hash" : "0xc7c83396811d3191909b7c6f6147c47c70bf7de2a5e0bb63ce937e1c87610eaa",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
}
}
]
},
"pre" : {
"0x0000000000000000000000000000000000000000" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000001" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000002" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000003" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000004" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000005" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000006" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000007" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x10a1c1cb95c92ec31d3f22c66eef1d9f3f258c6b" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x13cbb8d99c6c4e0f2728c7d72606e78a29c4e224" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x24143873e0e0815fdcbcffdbe09c979cbf9ad013" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x3535353535353535353535353535353535353535" : {
"balance" : "0x03fa4e",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x598443f1880ef585b21f1d7585bd0577402861e5" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x77db2bebba79db42a978f896968f4afce746ea1f" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x7d577a597b2742b498cb5cf0c26cdcd726d39e6e" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
"balance" : "0x0de0b6b3a76005b2",
"code" : "",
"nonce" : "0x04",
"storage" : {
}
},
"0x90f0b1ebbba1c1936aff7aaf20a7878ff9e04b6c" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xc305c901078781c232a2a521c2af7980f8385ee9" : {
"balance" : "0x00",
"code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c06004356004013511151558576004356004013560200160043560040161014037604061026061014051610160600060066305f5e0fff11558576040610240526102406060806102c0828460006004601bf15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b",
"nonce" : "0x01",
"storage" : {
}
},
"0xdceceaf3fc5c0a63d195d69b1a90011b7b19650d" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xe0fc04fa2d34a66b779fd5cee748268032a146c0" : {
"balance" : "0x0de0b6b3a7640000",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x30c8d1da00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000"
],
"gasLimit" : [
"0xa660"
],
"gasPrice" : "0x1",
"nonce" : "0x4",
"secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
"to" : "0xc305c901078781c232a2a521c2af7980f8385ee9",
"value" : [
"0x"
]
}
}
}
Loading