Skip to content

Commit

Permalink
direct remove the taiko chain genesis init since it is not used and i…
Browse files Browse the repository at this point in the history
…ts data is wrong
  • Loading branch information
smtmfft committed Oct 22, 2024
1 parent bd1e2d7 commit 59e77ae
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions crates/chainspec/src/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,6 @@ pub static MAINNET: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
pub static TAIKO_A7: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
ChainSpec {
chain: 167009.into(),
genesis: {
#[cfg(not(target_os = "zkvm"))]
{
serde_json::from_str(include_str!("../res/genesis/mainnet.json"))
.expect("Can't deserialize taiko_a7 genesis json")
}
#[cfg(target_os = "zkvm")]
Default::default()
},
genesis_hash: None,
paris_block_and_final_difficulty: None,
hardforks: BTreeMap::from([
Expand Down Expand Up @@ -146,15 +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: {
#[cfg(not(target_os = "zkvm"))]
{
serde_json::from_str(include_str!("../res/genesis/mainnet.json"))
.expect("Can't deserialize taiko_dev genesis json")
}
#[cfg(target_os = "zkvm")]
Default::default()
},
genesis_hash: None,
paris_block_and_final_difficulty: None,
hardforks: BTreeMap::from([
Expand Down Expand Up @@ -194,15 +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: {
#[cfg(not(target_os = "zkvm"))]
{
serde_json::from_str(include_str!("../res/genesis/mainnet.json"))
.expect("Can't deserialize Mainnet genesis json")
}
#[cfg(target_os = "zkvm")]
Default::default()
},
genesis_hash: None,
paris_block_and_final_difficulty: None,
hardforks: BTreeMap::from([
Expand Down

0 comments on commit 59e77ae

Please sign in to comment.