Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehao committed Dec 3, 2024
1 parent f61684d commit a78017c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions crates/scroll/chainspec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl ScrollChainSpecBuilder {
self
}

/// Enable DarwinV2 at genesis
/// Enable `DarwinV2` at genesis
pub fn darwin_v2_activated(mut self) -> Self {
self = self.darwin_activated();
self.inner = self
Expand Down Expand Up @@ -318,12 +318,10 @@ struct ScrollGenesisInfo {

impl ScrollGenesisInfo {
fn extract_from(genesis: &Genesis) -> Self {
let info = Self {
Self {
scroll_chain_info: ScrollChainInfo::extract_from(&genesis.config.extra_fields)
.unwrap_or_default(),
..Default::default()
};
info
}
}
}

Expand Down

0 comments on commit a78017c

Please sign in to comment.