Skip to content
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
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
@@ -1,6 +1,6 @@
[package]
name = "solana-verify"
version = "0.4.8"
version = "0.4.9"
edition = "2021"
description = "A CLI tool for building verifiable Solana programs"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src/api/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ pub async fn send_job_with_uploader_to_remote(
// Check that PDA exists before sending job
let genesis_hash = get_genesis_hash(connection)?;
if genesis_hash != MAINNET_GENESIS_HASH {
return Err(anyhow!("Remote verification only works with mainnet. Please omit the --remote flag to verify locally."));
return Err(anyhow!("Remote verification service only supports mainnet. You're currently connected to a different network.\n\nTo use remote verification:\n• Connect to mainnet with: --url mainnet\n• Or remove the --remote flag to verify locally"));
}
get_program_pda(connection, program_id, Some(uploader.to_string())).await?;
get_program_pda(connection, program_id, Some(uploader.to_string()), None).await?;

let client = Client::builder()
.timeout(Duration::from_secs(18000))
Expand Down
Loading