core/types: improve error for too short transaction / receipt encoding (#24256)

Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
Justus
2022-03-09 10:44:53 +01:00
committed by GitHub
co-authored by Felix Lange
parent 19c2c60bbe
commit d1f6a9f544
5 changed files with 16 additions and 32 deletions
+5 -5
View File
@@ -21,19 +21,19 @@
"error": "transaction type not supported"
},
{
"error": "rlp: expected List"
"error": "typed transaction too short"
},
{
"error": "rlp: expected List"
"error": "typed transaction too short"
},
{
"error": "rlp: expected List"
"error": "typed transaction too short"
},
{
"error": "rlp: expected List"
"error": "typed transaction too short"
},
{
"error": "rlp: expected List"
"error": "typed transaction too short"
},
{
"error": "rlp: expected input list for types.AccessListTx"