Skip to content

Commit

Permalink
Update block.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Sep 14, 2024
1 parent 3e7cfa1 commit 5332c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export type Block<
nonce: blockTag extends 'pending' ? null : Hex
/** Block number or `null` if pending */
number: blockTag extends 'pending' ? null : quantity
/** Root of the parent beacon chain block */
parentBeaconBlockRoot?: Hex | undefined
/** Parent block hash */
parentHash: Hash
/** Root of the this block’s receipts trie */
Expand All @@ -65,8 +67,6 @@ export type Block<
withdrawals?: Withdrawal[] | undefined
/** Root of the this block’s withdrawals trie */
withdrawalsRoot?: Hex | undefined
/** Root of the parent beacon chain block */
parentBeaconBlockRoot?: Hex | undefined
}

export type BlockIdentifier<quantity = bigint> = {
Expand Down

0 comments on commit 5332c0e

Please sign in to comment.