From 9e456d7341afbe4cfe19822115296f6de8c2d9bb Mon Sep 17 00:00:00 2001 From: georgehao Date: Tue, 3 Dec 2024 14:21:07 +0800 Subject: [PATCH] fix format --- crates/scroll/chainspec/src/lib.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/crates/scroll/chainspec/src/lib.rs b/crates/scroll/chainspec/src/lib.rs index 9d01bcaa4a51..191b0e421409 100644 --- a/crates/scroll/chainspec/src/lib.rs +++ b/crates/scroll/chainspec/src/lib.rs @@ -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 { - // 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 { +// Ok(U256::try_from(0).unwrap()) +// } +// } #[derive(Clone, Debug, Display, Eq, PartialEq)] /// Error type for decoding Holocene 1559 parameters