Allow resolution of base fee

This commit is contained in:
Omar Abdulla
2025-08-06 15:27:40 +03:00
parent 8619e7feb0
commit f9060772c3
5 changed files with 80 additions and 18 deletions
+6
View File
@@ -714,6 +714,12 @@ impl<'a, T: Platform> ResolverApi for BlockPinnedResolver<'a, T> {
.await
}
async fn block_base_fee(&self, number: BlockNumberOrTag) -> anyhow::Result<u64> {
self.node
.block_base_fee(self.resolve_block_number_or_tag(number))
.await
}
async fn block_hash(
&self,
number: BlockNumberOrTag,