Skip to content

Commit

Permalink
Merge pull request taikoxyz#51 from taikoxyz/empty-genesis-in-zkvm
Browse files Browse the repository at this point in the history
use empty genesis in zkvm compile to save lots of cycles.
  • Loading branch information
smtmfft authored Oct 23, 2024
2 parents b60c579 + 4da5143 commit f124fe7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions crates/chainspec/src/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ pub static MAINNET: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
pub static TAIKO_A7: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
ChainSpec {
chain: 167009.into(),
genesis: serde_json::from_str(include_str!("../res/genesis/mainnet.json"))
.expect("Can't deserialize taiko_a7 genesis json"),
genesis_hash: None,
paris_block_and_final_difficulty: None,
hardforks: BTreeMap::from([
Expand Down Expand Up @@ -139,8 +137,6 @@ pub static TAIKO_A7: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
pub static TAIKO_DEV: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
ChainSpec {
chain: 167001.into(),
genesis: serde_json::from_str(include_str!("../res/genesis/mainnet.json"))
.expect("Can't deserialize taiko_dev genesis json"),
genesis_hash: None,
paris_block_and_final_difficulty: None,
hardforks: BTreeMap::from([
Expand Down Expand Up @@ -180,8 +176,6 @@ pub static TAIKO_DEV: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
pub static TAIKO_MAINNET: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
ChainSpec {
chain: 167000.into(),
genesis: serde_json::from_str(include_str!("../res/genesis/mainnet.json"))
.expect("Can't deserialize Mainnet genesis json"),
genesis_hash: None,
paris_block_and_final_difficulty: None,
hardforks: BTreeMap::from([
Expand Down

0 comments on commit f124fe7

Please sign in to comment.