Skip to content

Commit

Permalink
Add blob verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Jan 8, 2025
1 parent 69a418b commit 43a690f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
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)
}
}

0 comments on commit 43a690f

Please sign in to comment.