feat: impl Encodable2718 and Decodable2718 for PooledTransactionsElement (#11482)

This commit is contained in:
Arsenii Kulikov
2024-10-08 18:33:31 +04:00
committed by GitHub
parent c61ae1371b
commit e18b0bab90
11 changed files with 150 additions and 279 deletions

View File

@ -194,7 +194,7 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> {
)
.expect("should not fail to convert blob tx if it is already eip4844");
let pooled = PooledTransactionsElement::BlobTransaction(tx);
let encoded_length = pooled.length_without_header();
let encoded_length = pooled.encode_2718_len();
// insert the blob into the store
blob_store.insert(transaction.hash, sidecar)?;