Skip to content

add method for checking eip1559 support#197

Open
Chengxuan wants to merge 1 commit into
hyperledger-firefly:mainfrom
kaleido-io:eip1559
Open

add method for checking eip1559 support#197
Chengxuan wants to merge 1 commit into
hyperledger-firefly:mainfrom
kaleido-io:eip1559

Conversation

@Chengxuan

Copy link
Copy Markdown
Contributor

Added a method for consumers to get the block info of the highest block. So that it can be used to check whether EIP1559 is supported using the presence of "baseFeePerGas" field from the block header.

Note: instead of introducing a GetBlockBaseFeePerGas or SupportsEIP1559 in the BlockListener interface. I decided to cache and return the entire block info. So if other fields in the block info need to be used for other checks, we don't need to keep adding separate functions for them at the block listener interface.

Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
@Chengxuan Chengxuan requested a review from a team as a code owner June 25, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant