From aac184b37e5b1a205304a63776eabf19def6a80e Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Mon, 6 May 2024 20:41:40 +0200 Subject: [PATCH] Allow multiple blobs in `eth_sendTransaction` An individual EIP-4844 transaction can refer to multiple blobs. --- web3/eth_api_types.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web3/eth_api_types.nim b/web3/eth_api_types.nim index f532725..33f19e7 100644 --- a/web3/eth_api_types.nim +++ b/web3/eth_api_types.nim @@ -55,10 +55,10 @@ type maxFeePerBlobGas*: Option[UInt256] blobVersionedHashes*: Option[seq[Hash256]] - # EIP-4844 blob side car - blobs*: Option[Blob] - commitments*: Option[KZGCommitment] - proofs*: Option[KZGProof] + # EIP-4844 blob sidecars + blobs*: Option[seq[Blob]] + commitments*: Option[seq[KZGCommitment]] + proofs*: Option[seq[KZGProof]] ## A block header object BlockHeader* = ref object