Browse Source

newtests: Transaction Data Zerobytes

cl-refactor
winsvega 10 years ago
parent
commit
e394375d8f
  1. 51
      test/libethereum/TransactionTestsFiller/ttTransactionTestFiller.json

51
test/libethereum/TransactionTestsFiller/ttTransactionTestFiller.json

@ -227,6 +227,57 @@
}
},
"DataTestZeroBytes" : {
"expect" : "valid",
"transaction" :
{
"data" : "0x000000000000000000000000000000000000000000000000000000000",
"gasLimit" : "25000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
"v" : "27",
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
"s" : "secretkey 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
}
},
"DataTestLastZeroBytes" : {
"expect" : "valid",
"transaction" :
{
"data" : "0x010000000000000000000000000000000000000000000000000000000",
"gasLimit" : "25000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
"v" : "27",
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
"s" : "secretkey 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
}
},
"DataTestFirstZeroBytes" : {
"expect" : "valid",
"transaction" :
{
"data" : "0x000000000000000000000000001000000000000000000000000000000",
"gasLimit" : "25000",
"gasPrice" : "1",
"nonce" : "0",
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "10",
"v" : "27",
"r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353",
"s" : "secretkey 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
}
},
"TransactionWithTooManyRLPElements" : {
"expect" : "invalid",
"transaction" :

Loading…
Cancel
Save