From ebf4a12cbaf8d07c2a6c315adf6278a67c1fdc54 Mon Sep 17 00:00:00 2001 From: jangko Date: Tue, 17 Oct 2023 09:25:27 +0700 Subject: [PATCH] Change TransactionObject.maxFeePerBlobGas's type to UInt256 Per latest spec: https://eips.ethereum.org/EIPS/eip-4844#blob-transaction --- web3/ethtypes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3/ethtypes.nim b/web3/ethtypes.nim index 6673655..89a0e78 100644 --- a/web3/ethtypes.nim +++ b/web3/ethtypes.nim @@ -181,7 +181,7 @@ type accessList*: Option[seq[AccessTuple]] # EIP-2930 maxFeePerGas*: Option[Quantity] # EIP-1559 maxPriorityFeePerGas*: Option[Quantity] # EIP-1559 - maxFeePerBlobGas*: Option[Quantity] # EIP-4844 + maxFeePerBlobGas*: Option[UInt256] # EIP-4844 blobVersionedHashes*: Option[seq[VersionedHash]] # EIP-4844 ReceiptKind* = enum rkRoot, rkStatus