mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
This commit is contained in:
@ -426,6 +426,13 @@ impl ChainSpecBuilder {
|
||||
self
|
||||
}
|
||||
|
||||
/// Enable Shanghai at genesis.
|
||||
pub fn shanghai_activated(mut self) -> Self {
|
||||
self = self.paris_activated();
|
||||
self.hardforks.insert(Hardfork::Shanghai, ForkCondition::Timestamp(0));
|
||||
self
|
||||
}
|
||||
|
||||
/// Build the resulting [`ChainSpec`].
|
||||
///
|
||||
/// # Panics
|
||||
|
||||
Reference in New Issue
Block a user