erigon-pulse/txpool
Roberto Bayardo 39694bc9d5
nit: tweak error handling for rlp too big (#834)
I believe ValidateSerializedTxn should be returning (or at least
wrapping) types.RlpTooBig instead of creating a new error when the
transaction exceeds max size, since this is the error the txpool
actually checks for:


61706714c3/txpool/txpool_grpc_server.go (L204)

Before this change the ImportResult for an oversized tx would be
INTERNAL_ERROR; after this change it will be INVALID, which seems more
appropriate.

Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2023-01-18 14:38:47 +07:00
..
testdata ErigonLib: move types to own package (#413) 2022-04-11 10:02:44 +07:00
txpooluitl txpool changes for eip-3860 (#820) 2023-01-16 22:15:42 +00:00
fetch_test.go Update interfaces (#733) 2022-11-11 16:36:22 +01:00
fetch.go Fieldalign (#695) 2022-10-21 15:31:23 +07:00
mocks_test.go kv_remote: c.Count() (#799) 2022-12-22 12:44:06 +07:00
pool_fuzz_test.go txpool changes for eip-3860 (#820) 2023-01-16 22:15:42 +00:00
pool_test.go txpool changes for eip-3860 (#820) 2023-01-16 22:15:42 +00:00
pool.go nit: tweak error handling for rlp too big (#834) 2023-01-18 14:38:47 +07:00
send.go Fieldalign (#695) 2022-10-21 15:31:23 +07:00
test_util.go Fieldalign (#695) 2022-10-21 15:31:23 +07:00
txpool_grpc_server.go nit: tweak error handling for rlp too big (#834) 2023-01-18 14:38:47 +07:00