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 both Devnet and Mainnet verification keys in Mina verifier #44

Merged
merged 3 commits into from
Oct 2, 2024
Merged
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
216 changes: 111 additions & 105 deletions batcher/Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion batcher/aligned-batcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[dependencies]
tokio-tungstenite = "0.21.0"
mina_bridge_core = { git = "https://github.com/lambdaclass/mina_bridge.git", branch = "aligned" }
mina_bridge_core = { git = "https://github.com/lambdaclass/mina_bridge.git", branch = "devnet_flag" }
futures-util = "0.3.30"
tokio = { version = "1.37.0", features = ["rt", "rt-multi-thread", "macros"] }
log = "0.4.21"
Expand Down
7 changes: 3 additions & 4 deletions batcher/aligned-sdk/src/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,9 @@ async fn _submit_multiple(

let payment_service_addr = match chain {
Chain::Devnet => H160::from_str("0x7969c5eD335650692Bc04293B07F5BF2e7A673C0").ok(),
Chain::Holesky => H160::from_str(
&std::env::var("BATCHER_PAYMENT_SERVICE_ADDR")
.map_err(|err| errors::SubmitError::GenericError(err.to_string()))?,
)
Chain::Holesky => H160::from_str(&std::env::var("BATCHER_ETH_ADDR").map_err(|_| {
errors::SubmitError::GenericError("BATCHER_ETH_ADDR env var not found".to_string())
})?)
.ok(),
Chain::HoleskyStage => H160::from_str("0x7577Ec4ccC1E6C529162ec8019A49C13F6DAd98b").ok(),
};
Expand Down
Loading
Loading