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

fix: typos #909

Open
wants to merge 1 commit into
base: mainnet
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions wasm/tests/offchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async fn test_key_synthesis() {
let private_key = PrivateKey::from_string("APrivateKey1zkp3dQx4WASWYQVWKkq14v3RoQDfY2kbLssUj7iifi1VUQ6").unwrap();
let mut key_pair = ProgramManager::synthesize_keypair(&private_key, &credits, "split", inputs, None).await.unwrap();
let retrieved_proving_key = key_pair.proving_key().unwrap();
let retreived_verifying_key = key_pair.verifying_key().unwrap();
let retrieved_verifying_key = key_pair.verifying_key().unwrap();

// Ensure program can be executed with the synthesized keypair stored in wasm memory
let inputs = Array::new();
Expand All @@ -127,7 +127,7 @@ async fn test_key_synthesis() {
true,
None,
Some(retrieved_proving_key.clone()),
Some(retreived_verifying_key.clone()),
Some(retrieved_verifying_key.clone()),
None,
None,
)
Expand All @@ -138,7 +138,7 @@ async fn test_key_synthesis() {
let proving_key = keys.proving_key().unwrap();
let verifying_key = keys.verifying_key().unwrap();
assert_eq!(proving_key, retrieved_proving_key);
assert_eq!(verifying_key, retreived_verifying_key);
assert_eq!(verifying_key, retrieved_verifying_key);
}

#[wasm_bindgen_test]
Expand Down