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

feat(eigen-client-m1): Improve Merkle Proof #385

Draft
wants to merge 4 commits into
base: eigen-client-m1-merkle-proof
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ tonic = { version = "0.11.0", default-features = false }
pbjson-types = "0.6.0"

# Eigen
eigenda-client-rs = {git = "https://github.com/lambdaclass/eigenda-client-rs", branch = "m1-client", package = "eigen-client"}
eigenda-client-rs = {git = "https://github.com/lambdaclass/eigenda-client-rs", branch = "m1-client-improved-merkle-proof", package = "eigen-client"}
# Here and below:
# We *always* pin the latest version of protocol to disallow accidental changes in the execution logic.
# However, for the historical version of protocol crates, we have lax requirements. Otherwise,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ impl DeployL1Config {
.validator_timelock_execution_delay,
avail_l1_da_validator_addr: l1_network.avail_l1_da_validator_addr(),
eigenda_l1_validator_addr: l1_network.eigenda_l1_validator_addr(),
eigenda_blob_verifier_addr: l1_network.eigenda_blob_verifier_addr(),
},
tokens: TokensDeployL1Config {
token_weth_address: initial_deployment_config.token_weth_address,
Expand Down Expand Up @@ -207,6 +208,7 @@ pub struct ContractsDeployL1Config {
pub avail_l1_da_validator_addr: Option<Address>,
#[serde(skip_serializing_if = "Option::is_none")]
pub eigenda_l1_validator_addr: Option<Address>,
pub eigenda_blob_verifier_addr: Address,
}

#[derive(Debug, Deserialize, Serialize, Clone)]
Expand Down
4 changes: 4 additions & 0 deletions zkstack_cli/crates/types/src/l1_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,8 @@ impl L1Network {
L1Network::Mainnet => None, // TODO: add mainnet address after it is known
}
}

pub fn eigenda_blob_verifier_addr(&self) -> Address {
Address::from_str("0x00CfaC4fF61D52771eF27d07c5b6f1263C2994A1").unwrap() // Modify this for your current blob verifier (This should be erased once we have the bridge in a separate repository)
}
}
Loading