aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2015-02-26 00:28:22 +0800
committerwinsvega <winsvega@mail.ru>2015-02-26 00:28:22 +0800
commit667cafc13e32c85c4dfecd20fd86a5f57f65bfa9 (patch)
tree4304e313eadead795adf7d9d6a394fb514abe9a4
parent6016b942d6b0b074c06ccb9dd932d893b0fdb24b (diff)
downloadgo-tangerine-667cafc13e32c85c4dfecd20fd86a5f57f65bfa9.tar
go-tangerine-667cafc13e32c85c4dfecd20fd86a5f57f65bfa9.tar.gz
go-tangerine-667cafc13e32c85c4dfecd20fd86a5f57f65bfa9.tar.bz2
go-tangerine-667cafc13e32c85c4dfecd20fd86a5f57f65bfa9.tar.lz
go-tangerine-667cafc13e32c85c4dfecd20fd86a5f57f65bfa9.tar.xz
go-tangerine-667cafc13e32c85c4dfecd20fd86a5f57f65bfa9.tar.zst
go-tangerine-667cafc13e32c85c4dfecd20fd86a5f57f65bfa9.zip
Transaction RLP Tests
wrong transaction RLPs correction
-rw-r--r--TransactionTests/ttWrongRLPTransaction.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/TransactionTests/ttWrongRLPTransaction.json b/TransactionTests/ttWrongRLPTransaction.json
index d07de5421..809851cf8 100644
--- a/TransactionTests/ttWrongRLPTransaction.json
+++ b/TransactionTests/ttWrongRLPTransaction.json
@@ -19,12 +19,16 @@
"rlp" : "0xf85280018207d0870b9331677e6ebf0a801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a33ac4"
},
+ "RLPTransactionGivenAsArray" : {
+ "rlp" : "0xb85f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ },
+
"RLPElementIsListWhenItShouldntBe" : {
- "rlp" : "0xf86a80018dcc83646f6783676f648363617494095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ "rlp" : "0xf8698001cc83646f6783676f648363617494095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"RLPElementIsListWhenItShouldntBe2" : {
- "rlp" : "0xf86c8dcc83646f6783676f64836361740182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
+ "rlp" : "0xf86bcc83646f6783676f64836361740182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
}
}