Browse Source

New Transaction Tests

cl-refactor
winsvega 10 years ago
parent
commit
69d8fe54a3
  1. 48
      test/libethereum/TransactionTestsFiller/ttTransactionTestFiller.json

48
test/libethereum/TransactionTestsFiller/ttTransactionTestFiller.json

@ -307,6 +307,22 @@
} }
}, },
"TransactionWithSvalue0" : {
"expect" : "valid",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
"v" : "27",
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
"s" : "0"
}
},
"TransactionWithSvalueTooHigh" : { "TransactionWithSvalueTooHigh" : {
"expect" : "invalid", "expect" : "invalid",
"transaction" : "transaction" :
@ -387,6 +403,22 @@
} }
}, },
"TransactionWithRvalue0" : {
"expect" : "valid",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
"v" : "27",
"r" : "0",
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
}
},
"TransactionWithRvaluePrefixed00" : { "TransactionWithRvaluePrefixed00" : {
"expect" : "valid", "expect" : "valid",
"transaction" : "transaction" :
@ -403,6 +435,22 @@
} }
}, },
"TransactionWithRSvalue0" : {
"expect" : "valid",
"transaction" :
{
"data" : "",
"gasLimit" : "21000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "11",
"v" : "27",
"r" : "0",
"s" : "0"
}
},
"TransactionWithSvaluePrefixed00" : { "TransactionWithSvaluePrefixed00" : {
"expect" : "valid", "expect" : "valid",
"transaction" : "transaction" :

Loading…
Cancel
Save