Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use empty genesis in zkvm compile to save lots of cycles. #51

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading