mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-08 15:03:58 -05:00
feat: Integrate Osaka in blob_max_and_target_count_by_hardfork (#16219)
This commit is contained in:
@@ -106,9 +106,11 @@ impl<EvmFactory> EthEvmConfig<EvmFactory> {
|
||||
pub fn blob_max_and_target_count_by_hardfork(&self) -> Vec<(SpecId, u64, u64)> {
|
||||
let cancun = self.chain_spec().blob_params.cancun();
|
||||
let prague = self.chain_spec().blob_params.prague();
|
||||
let osaka = self.chain_spec().blob_params.osaka();
|
||||
Vec::from([
|
||||
(SpecId::CANCUN, cancun.target_blob_count, cancun.max_blob_count),
|
||||
(SpecId::PRAGUE, prague.target_blob_count, prague.max_blob_count),
|
||||
(SpecId::OSAKA, osaka.target_blob_count, osaka.max_blob_count),
|
||||
])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user