mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: bump alloy 0.11 (#14122)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -11,10 +11,8 @@ use alloy_consensus::{
|
||||
Header,
|
||||
};
|
||||
use alloy_eips::{
|
||||
eip1559::INITIAL_BASE_FEE,
|
||||
eip6110::MAINNET_DEPOSIT_CONTRACT_ADDRESS,
|
||||
eip7685::EMPTY_REQUESTS_HASH,
|
||||
eip7840::{BlobParams, BlobScheduleItem},
|
||||
eip1559::INITIAL_BASE_FEE, eip6110::MAINNET_DEPOSIT_CONTRACT_ADDRESS,
|
||||
eip7685::EMPTY_REQUESTS_HASH, eip7840::BlobParams,
|
||||
};
|
||||
use alloy_genesis::Genesis;
|
||||
use alloy_primitives::{address, b256, Address, BlockNumber, B256, U256};
|
||||
@ -174,7 +172,7 @@ pub struct HardforkBlobParams {
|
||||
impl HardforkBlobParams {
|
||||
/// Constructs params for chainspec from a provided blob schedule.
|
||||
/// Falls back to defaults if the schedule is empty.
|
||||
pub fn from_schedule(blob_schedule: &BTreeMap<String, BlobScheduleItem>) -> Self {
|
||||
pub fn from_schedule(blob_schedule: &BTreeMap<String, BlobParams>) -> Self {
|
||||
let extract = |key: &str, default: fn() -> BlobParams| {
|
||||
blob_schedule
|
||||
.get(key)
|
||||
|
||||
Reference in New Issue
Block a user