Browse Source

newtests: new rs value test

cl-refactor
winsvega 10 years ago
parent
commit
8b719ba37f
  1. 50
      test/libethereum/TransactionTestsFiller/ttTransactionTestFiller.json

50
test/libethereum/TransactionTestsFiller/ttTransactionTestFiller.json

@ -308,7 +308,7 @@
},
"TransactionWithSvalue0" : {
"expect" : "valid",
"expect" : "invalid",
"transaction" :
{
"data" : "",
@ -323,6 +323,22 @@
}
},
"TransactionWithSvalue1" : {
"expect" : "valid",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
"v" : "27",
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
"s" : "0x01"
}
},
"TransactionWithSvalueTooHigh" : {
"expect" : "invalid",
"transaction" :
@ -419,6 +435,22 @@
}
},
"TransactionWithRvalue1" : {
"expect" : "invalid",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
"v" : "27",
"r" : "0x01",
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
}
},
"TransactionWithRvaluePrefixed00" : {
"expect" : "valid",
"transaction" :
@ -451,6 +483,22 @@
}
},
"TransactionWithRSvalue1" : {
"expect" : "invalid",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
"v" : "27",
"r" : "1",
"s" : "1"
}
},
"TransactionWithSvaluePrefixed00" : {
"expect" : "valid",
"transaction" :

Loading…
Cancel
Save