Skip to content

Commit ff92d28

Browse files
authored
Replace requestsRoot with requestsHash and fix some comments (#178)
1 parent 6f441a9 commit ff92d28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web3/eth_api_types.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ type
9191
blobGasUsed*: Opt[Quantity] # EIP-4844
9292
excessBlobGas*: Opt[Quantity] # EIP-4844
9393
parentBeaconBlockRoot*: Opt[Hash32] # EIP-4788
94-
requestsRoot*: Opt[Hash32] # EIP-7685
94+
requestsHash*: Opt[Hash32] # EIP-7685
9595

9696
WithdrawalObject* = object
9797
index*: Quantity
@@ -155,7 +155,7 @@ type
155155

156156
TransactionObject* = ref object # A transaction object, or null when no transaction was found:
157157
hash*: Hash32 # hash of the transaction.
158-
nonce*: Quantity # TODO: Is int? the number of transactions made by the sender prior to this one.
158+
nonce*: Quantity # the number of transactions made by the sender prior to this one.
159159
blockHash*: Opt[Hash32] # hash of the block where this transaction was in. null when its pending.
160160
blockNumber*: Opt[Quantity] # block number where this transaction was in. null when its pending.
161161
transactionIndex*: Opt[Quantity] # integer of the transactions index position in the block. null when its pending.
@@ -189,7 +189,7 @@ type
189189
effectiveGasPrice*: Quantity # The sum of the base fee and tip paid per unit of gas.
190190
gasUsed*: Quantity # the amount of gas used by this specific transaction alone.
191191
contractAddress*: Opt[Address] # the contract address created, if the transaction was a contract creation, otherwise null.
192-
logs*: seq[LogObject] # TODO: See Wiki for details. list of log objects, which this transaction generated.
192+
logs*: seq[LogObject] # list of log objects, which this transaction generated.
193193
logsBloom*: Bytes256 # bloom filter for light clients to quickly retrieve related logs.
194194
`type`*: Opt[Quantity] # integer of the transaction type, 0x0 for legacy transactions, 0x1 for access list types, 0x2 for dynamic fees.
195195
root*: Opt[Hash32] # 32 bytes of post-transaction stateroot (pre Byzantium)

0 commit comments

Comments
 (0)