diff options
Diffstat (limited to 'tests/files/TransactionTests/ttWrongRLPTransaction.json')
-rw-r--r-- | tests/files/TransactionTests/ttWrongRLPTransaction.json | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/tests/files/TransactionTests/ttWrongRLPTransaction.json b/tests/files/TransactionTests/ttWrongRLPTransaction.json index 6caf47984..23f85bd2b 100644 --- a/tests/files/TransactionTests/ttWrongRLPTransaction.json +++ b/tests/files/TransactionTests/ttWrongRLPTransaction.json @@ -1,10 +1,26 @@ { - "RLPLengthWithFirstZeros" : { + "aMalicousRLP" : { + "rlp" : "0xb8" + }, + + "RLPListLengthWithFirstZeros" : { "rlp" : "0xf9005f030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" }, - "RLPIncorrectByteEncoding" : { - "rlp" : "0xf86081030182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + "RLPArrayLengthWithFirstZeros" : { + "rlp" : "0xf8a20301830186a094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0ab90040ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, + + "RLPIncorrectByteEncoding00" : { + "rlp" : "0xf86081000182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, + + "RLPIncorrectByteEncoding01" : { + "rlp" : "0xf86081010182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" + }, + + "RLPIncorrectByteEncoding127" : { + "rlp" : "0xf860817f0182520894b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" }, "RLPNonceWithFirstZeros" : { |