2015-01-05 22:39:02 +00:00
|
|
|
{
|
|
|
|
"RightVRSTest" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-01-05 22:39:02 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-04-10 23:45:48 +00:00
|
|
|
"data" : "0x",
|
|
|
|
"gasLimit" : "21000",
|
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "3",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "28",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"NotEnoughGasLimit" : {
|
|
|
|
"expect" : "invalid",
|
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "0x",
|
|
|
|
"gasLimit" : "20000",
|
2015-01-05 22:39:02 +00:00
|
|
|
"gasPrice" : "1",
|
2015-01-22 23:48:15 +00:00
|
|
|
"nonce" : "3",
|
2015-01-05 22:39:02 +00:00
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "28",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
2015-01-05 22:39:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-03-23 12:13:35 +00:00
|
|
|
"V_overflow32bit" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-03-23 12:13:35 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "0x5544",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-03-23 12:13:35 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "3",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "4294967323",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"V_overflow32bitSigned" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-03-23 12:13:35 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "0x5544",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-03-23 12:13:35 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "3",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "2147483647",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"V_overflow64bit" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-03-23 12:13:35 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "0x5544",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-03-23 12:13:35 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "3",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "18446744073709551643",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"V_overflow64bitSigned" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-03-23 12:13:35 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "0x5544",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-03-23 12:13:35 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "3",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "18446744073709551388",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-03-10 11:38:17 +00:00
|
|
|
"WrongVRSTestVEqual26" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-05 22:39:02 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-05 22:39:02 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-05 22:39:02 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "26",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
2015-01-05 22:39:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-03-10 11:38:17 +00:00
|
|
|
"WrongVRSTestVEqual29" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-02-24 14:38:26 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-24 14:38:26 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "29",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-03-10 11:38:17 +00:00
|
|
|
"WrongVRSTestVEqual31" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 09:00:01 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-22 09:00:01 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-22 09:00:01 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "31",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
2015-01-22 09:00:01 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-28 17:57:01 +00:00
|
|
|
"WrongVRSTestVOverflow" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-02-28 17:57:01 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-28 17:57:01 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "310",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"WrongVRSTestIncorrectSize" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-05 22:39:02 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-23 11:26:31 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "28",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c3",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a302c3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"SenderTest" : {
|
2015-04-10 23:45:48 +00:00
|
|
|
"//" : "sender 0f65fe9276bc9a24ae7083ae28e2660ef72df99e",
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-02-23 11:26:31 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
2015-01-05 22:39:02 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-05 22:39:02 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "10",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
2015-02-28 17:57:01 +00:00
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "secretkey 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-04-10 23:45:48 +00:00
|
|
|
"DataTestNotEnoughGAS" : {
|
|
|
|
"expect" : "invalid",
|
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "0x0358ac39584bc98a7c979f984b03",
|
|
|
|
"gasLimit" : "21020",
|
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "secretkey 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"DataTestEnoughGAS" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-02-28 17:57:01 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "0x0358ac39584bc98a7c979f984b03",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "23000",
|
2015-02-28 17:57:01 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "27",
|
2015-02-23 11:26:31 +00:00
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "secretkey 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-05 22:39:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"TransactionWithTooManyRLPElements" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-05 22:39:02 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-05 22:39:02 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-05 22:39:02 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "10",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804",
|
|
|
|
"extrafield" : "128472387293"
|
2015-01-05 22:39:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"TransactionWithTooFewRLPElements" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 09:00:01 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-22 09:00:01 +00:00
|
|
|
"data" : "",
|
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-22 09:00:01 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"TransactionWithHihghValue" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-01-22 23:48:15 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-22 23:48:15 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-22 23:48:15 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-22 23:48:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
|
2015-04-10 23:45:48 +00:00
|
|
|
"TransactionWithHighValueOverflow" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-05 22:39:02 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-05 22:39:02 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-05 22:39:02 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-05 22:39:02 +00:00
|
|
|
}
|
2015-01-22 23:48:15 +00:00
|
|
|
},
|
|
|
|
|
2015-02-26 15:51:06 +00:00
|
|
|
"TransactionWithSvalueHigh" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-26 15:51:06 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2e"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"TransactionWithSvalueTooHigh" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 23:48:15 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-22 23:48:15 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-22 23:48:15 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"
|
2015-01-22 23:48:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-26 15:51:06 +00:00
|
|
|
"TransactionWithSvalueOverflow" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-26 15:51:06 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"TransactionWithRvalueOverflow" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-26 15:51:06 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410000",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"TransactionWithRvalueHigh" : {
|
2015-04-10 23:45:48 +00:00
|
|
|
"expect" : "invalid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-26 15:51:06 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"TransactionWithRvalueTooHigh" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 23:48:15 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-22 23:48:15 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-22 23:48:15 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-22 23:48:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-04-10 23:45:48 +00:00
|
|
|
"TransactionWithRvaluePrefixed00" : {
|
|
|
|
"expect" : "valid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-26 15:51:06 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0xebaaedce6af48a03bbfd25e8cd0364141",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-04-10 23:45:48 +00:00
|
|
|
"TransactionWithSvaluePrefixed00" : {
|
|
|
|
"expect" : "valid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-26 15:51:06 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0xef0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"TransactionWithHihghNonce" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-26 15:51:06 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "0",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"TransactionWithNonceOverflow" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 23:48:15 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-22 23:48:15 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-22 23:48:15 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-22 23:48:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-26 15:51:06 +00:00
|
|
|
"TransactionWithHihghGas" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
|
|
|
"gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "0",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-04-09 15:13:31 +00:00
|
|
|
"TransactionWithHihghGasPrice" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-26 15:51:06 +00:00
|
|
|
"gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "0",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-04-09 15:13:31 +00:00
|
|
|
"TransactionWithGasLimitxPriceOverflow" : {
|
2015-04-10 23:45:48 +00:00
|
|
|
"expect" : "valid",
|
2015-02-26 15:51:06 +00:00
|
|
|
"transaction" :
|
|
|
|
{
|
|
|
|
"data" : "",
|
|
|
|
"gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
|
|
|
"gasPrice" : "100000000000000000",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "0",
|
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"TransactionWithGasPriceOverflow" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 23:48:15 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-22 23:48:15 +00:00
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-22 23:48:15 +00:00
|
|
|
"gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-22 23:48:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"TransactionWithGasLimitOverflow" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 23:48:15 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
2015-01-22 23:48:15 +00:00
|
|
|
"data" : "",
|
|
|
|
"gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639936",
|
|
|
|
"gasPrice" : "123",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
|
|
|
"value" : "11",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-22 23:48:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"AddressMoreThan20PrefixedBy0" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 23:48:15 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
|
|
|
"data" : "0x12",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-01-22 23:48:15 +00:00
|
|
|
"gasPrice" : "123",
|
|
|
|
"nonce" : "54",
|
2015-02-23 11:26:31 +00:00
|
|
|
"to" : "0x0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
2015-01-22 23:48:15 +00:00
|
|
|
"value" : "11",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-22 23:48:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"EmptyTransaction" : {
|
2015-04-10 23:45:48 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-22 23:48:15 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 17:49:29 +00:00
|
|
|
"gasLimit" : "0",
|
|
|
|
"gasPrice" : "0",
|
|
|
|
"nonce" : "0",
|
2015-01-27 17:05:25 +00:00
|
|
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
2015-04-10 17:49:29 +00:00
|
|
|
"value" : "0",
|
2015-02-23 11:26:31 +00:00
|
|
|
"v" : "27",
|
|
|
|
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
|
|
|
|
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
|
2015-01-27 17:05:25 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"AddressMoreThan20" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-27 17:05:25 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-23 11:26:31 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "28",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
2015-01-27 17:05:25 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"AddressLessThan20" : {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "invalid",
|
2015-01-27 17:05:25 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-23 11:26:31 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "b9331677e6ebf",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "28",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
2015-01-27 17:05:25 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"AddressLessThan20Prefixed0" : {
|
2015-04-10 23:45:48 +00:00
|
|
|
"expect" : "valid",
|
2015-01-27 17:05:25 +00:00
|
|
|
"transaction" :
|
2015-02-23 11:26:31 +00:00
|
|
|
{
|
|
|
|
"data" : "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit" : "21000",
|
2015-02-23 11:26:31 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "0",
|
|
|
|
"to" : "0x000000000000000000000000000b9331677e6ebf",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "28",
|
|
|
|
"r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a",
|
|
|
|
"s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
|
2015-01-22 23:48:15 +00:00
|
|
|
}
|
2015-02-23 11:26:31 +00:00
|
|
|
},
|
2015-01-22 23:48:15 +00:00
|
|
|
|
2015-02-23 11:26:31 +00:00
|
|
|
"unpadedRValue": {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-02-23 11:26:31 +00:00
|
|
|
"transaction": {
|
|
|
|
"nonce": "13",
|
|
|
|
"gasPrice": "0x09184e72a000",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit": "0xf710",
|
2015-02-23 11:26:31 +00:00
|
|
|
"to": "7c47ef93268a311f4cad0c750724299e9b72c268",
|
|
|
|
"data": "0x379607f50000000000000000000000000000000000000000000000000000000000000005",
|
|
|
|
"r": "0x006ab6dda9f4df56ea45583af36660329147f1753f3724ea5eb9ed83e812ca77",
|
|
|
|
"s": "0x495701e230667832c8999e884e366a61028633ecf951e8cd66d119f381ae5718",
|
|
|
|
"v": "28",
|
|
|
|
"value": ""
|
|
|
|
}
|
2015-03-26 11:50:39 +00:00
|
|
|
},
|
2015-03-25 17:33:20 +00:00
|
|
|
|
|
|
|
"libsecp256k1test": {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-03-25 17:33:20 +00:00
|
|
|
"transaction": {
|
2015-04-10 23:45:48 +00:00
|
|
|
"nonce": "0",
|
2015-03-25 17:33:20 +00:00
|
|
|
"gasPrice": "0x09184e72a000",
|
2015-04-10 23:45:48 +00:00
|
|
|
"gasLimit": "0xf388",
|
2015-03-25 17:33:20 +00:00
|
|
|
"to": "",
|
2015-04-10 23:45:48 +00:00
|
|
|
"data": "0x",
|
2015-03-25 17:33:20 +00:00
|
|
|
"r": "44",
|
|
|
|
"s": "4",
|
|
|
|
"v": "27",
|
2015-04-10 23:45:48 +00:00
|
|
|
"value": "0"
|
2015-03-25 17:33:20 +00:00
|
|
|
}
|
2015-04-06 22:23:20 +00:00
|
|
|
},
|
2015-04-02 09:06:56 +00:00
|
|
|
|
2015-04-06 22:23:20 +00:00
|
|
|
"dataTx_bcValidBlockTest": {
|
2015-04-10 17:49:29 +00:00
|
|
|
"expect" : "valid",
|
2015-03-26 11:50:39 +00:00
|
|
|
"transaction": {
|
|
|
|
"nonce": "0",
|
|
|
|
"gasPrice": "50",
|
|
|
|
"gasLimit": "50000",
|
|
|
|
"to": "",
|
|
|
|
"data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56",
|
|
|
|
"r" : "0xc5689ed1ad124753d54576dfb4b571465a41900a1dff4058d8adf16f752013d0",
|
|
|
|
"s" : "0xe221cbd70ec28c94a3b55ec771bcbc70778d6ee0b51ca7ea9514594c861b1884",
|
|
|
|
"v": "28",
|
|
|
|
"value": "0"
|
|
|
|
}
|
2015-04-09 15:13:31 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"RSsecp256k1" : {
|
2015-04-10 23:45:48 +00:00
|
|
|
"expect" : "invalid",
|
|
|
|
"transaction" : {
|
|
|
|
"data" : "0x",
|
|
|
|
"gasLimit" : "21000",
|
2015-04-09 15:13:31 +00:00
|
|
|
"gasPrice" : "1",
|
|
|
|
"nonce" : "3",
|
|
|
|
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
|
|
"value" : "10",
|
|
|
|
"v" : "28",
|
|
|
|
"r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
|
|
"s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
|
|
|
|
}
|
2015-02-23 11:26:31 +00:00
|
|
|
}
|
2015-01-05 22:39:02 +00:00
|
|
|
}
|