You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The legacy `--remote` flag on `verify-from-repo` has been deprecated. Upload your PDA with programs upgrade authority, then run the `remote submit-job` command to queue OtterSec's worker. For a full walkthrough of the PDA workflow, see the [Solana verified builds guide](https://solana.com/docs/programs/verified-builds).
42
+
41
43
## Documentation
42
44
43
-
For detailed instructions and best practices, please refer to the [official Solana documentation on verified builds](https://solana.com/developers/guides/advanced/verified-builds).
45
+
For detailed instructions and best practices, please refer to the [official Solana documentation on verified builds](https://solana.com/docs/programs/verified-builds).
returnErr(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"));
100
+
returnErr(anyhow!(format!(
101
+
"Remote verification service only supports mainnet. You're currently connected to a different network.\n\nTo submit a remote job:\n• Connect to mainnet with: --url mainnet\n• Upload your verify PDA via `solana-verify verify-from-repo`\n• Run `solana-verify remote submit-job --program-id {program_id} --uploader {uploader}`\n\nLearn more: https://solana.com/docs/programs/verified-builds"
let mount_path = sub_m.value_of("mount-path").map(|s| s.to_string()).unwrap();
449
448
let repo_url = sub_m.value_of("repo-url").map(|s| s.to_string()).unwrap();
450
449
let program_id = sub_m.value_of("program-id").unwrap();
450
+
if remote {
451
+
returnErr(anyhow!(
452
+
"The --remote flag has been deprecated. Upload your verify PDA with programs upgrade authority, then queue the remote worker with `solana-verify remote submit-job --program-id {program_id} --uploader <UPLOADER>`. See https://solana.com/docs/programs/verified-builds for the full workflow."
453
+
));
454
+
}
451
455
let base_image = sub_m.value_of("base-image").map(|s| s.to_string());
452
456
let library_name = sub_m.value_of("library-name").map(|s| s.to_string());
returnErr(anyhow!("Remote verification only works with mainnet. Please omit the --remote flag to verify locally."));
1401
-
}
1402
-
1403
-
let uploader = get_address_from_keypair_or_config(
1404
-
path_to_keypair.as_ref(),
1405
-
config_path.clone(),
1406
-
)?;
1407
-
println!("Sending verify command to remote machine with uploader: {uploader}");
1408
-
println!(
1409
-
"\nPlease note that if the desired uploader is not the provided keypair, you will need to run `solana-verify remote submit-job --program-id {program_id} --uploader <uploader-address>.\n"
0 commit comments