Add support for getting the gas limit from the node

This commit is contained in:
Omar Abdulla committed 2025-07-14 22:37:50 +03:00
1 parent fa4bbbb987
commit 61540741e1
3 files changed
+59

No files matched your search

+5
View File
@@ -26,4 +26,9 @@ pub trait EthereumNode {
/// Returns the ID of the chain that the node is on.
fn chain_id(&self) -> anyhow::Result<ChainId>;
// TODO: This is currently a u128 due to Kitchensink needing more than 64 bits for its gas limit
// when we implement the changes to the gas we need to adjust this to be a u64.
/// Returns the gas limit of the last block.
fn gas_limit(&self) -> anyhow::Result<u128>;
}