mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat: update genesis for holesky (#4773)
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
{
|
||||
"nonce": "0x1234",
|
||||
"timestamp": "1694786100",
|
||||
"timestamp": "1695902100",
|
||||
"extraData": "",
|
||||
"gasLimit": "0x17D7840",
|
||||
"difficulty": "0x01",
|
||||
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"coinbase": "0x0000000000000000000000000000000000000000",
|
||||
"stateRoot": "0x69d8c9d72f6fa4ad42d4702b433707212f90db395eb54dc20bc85de253788783",
|
||||
"alloc": {
|
||||
|
||||
@ -164,10 +164,10 @@ pub static HOLESKY: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
|
||||
genesis: serde_json::from_str(include_str!("../../res/genesis/holesky.json"))
|
||||
.expect("Can't deserialize Holesky genesis json"),
|
||||
genesis_hash: Some(H256(hex!(
|
||||
"fd91bb7c01ae3f608b4d176078ca72bc7846791fdc02324481ca315ede4c9246"
|
||||
"b5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4"
|
||||
))),
|
||||
paris_block_and_final_difficulty: Some((0, U256::from(1))),
|
||||
fork_timestamps: ForkTimestamps::default().shanghai(1694790240),
|
||||
fork_timestamps: ForkTimestamps::default().shanghai(1696000704),
|
||||
hardforks: BTreeMap::from([
|
||||
(Hardfork::Frontier, ForkCondition::Block(0)),
|
||||
(Hardfork::Homestead, ForkCondition::Block(0)),
|
||||
@ -183,9 +183,9 @@ pub static HOLESKY: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
|
||||
(Hardfork::London, ForkCondition::Block(0)),
|
||||
(
|
||||
Hardfork::Paris,
|
||||
ForkCondition::TTD { fork_block: None, total_difficulty: U256::ZERO },
|
||||
ForkCondition::TTD { fork_block: Some(0), total_difficulty: U256::ZERO },
|
||||
),
|
||||
(Hardfork::Shanghai, ForkCondition::Timestamp(1694790240)),
|
||||
(Hardfork::Shanghai, ForkCondition::Timestamp(1696000704)),
|
||||
]),
|
||||
deposit_contract: Some(DepositContract::new(
|
||||
H160(hex!("4242424242424242424242424242424242424242")),
|
||||
@ -839,7 +839,7 @@ pub enum ForkCondition {
|
||||
/// The block number at which TTD is reached, if it is known.
|
||||
///
|
||||
/// This should **NOT** be set unless you want this block advertised as [EIP-2124][eip2124]
|
||||
/// `FORK_NEXT`. This is currently only the case for Sepolia.
|
||||
/// `FORK_NEXT`. This is currently only the case for Sepolia and Holesky.
|
||||
///
|
||||
/// [eip2124]: https://eips.ethereum.org/EIPS/eip-2124
|
||||
fork_block: Option<BlockNumber>,
|
||||
|
||||
Reference in New Issue
Block a user