Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehao committed Dec 3, 2024
1 parent 5f1f0be commit 9e456d7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions crates/scroll/chainspec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,17 @@ pub struct ScrollChainSpec {
pub inner: ChainSpec,
}

impl ScrollChainSpec {
/// Read from parent to determine the base fee for the next block
pub fn next_block_base_fee(
&self,
parent: &Header,
timestamp: u64,
) -> Result<U256, DecodeError> {
// TODO fulfill here when L2 base fee implemented
Ok(U256::try_from(0).unwrap())
}
}
// // TODO fulfill here when L2 base fee implemented
// impl ScrollChainSpec {
// /// Read from parent to determine the base fee for the next block
// pub fn next_block_base_fee(
// &self,
// parent: &Header,
// timestamp: u64,
// ) -> Result<U256, DecodeError> {
// Ok(U256::try_from(0).unwrap())
// }
// }

#[derive(Clone, Debug, Display, Eq, PartialEq)]
/// Error type for decoding Holocene 1559 parameters
Expand Down

0 comments on commit 9e456d7

Please sign in to comment.