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

test: change error_code in tecdsa_signature_fails_without_cycles_test #3352

Merged
merged 2 commits into from
Jan 7, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ fn test(env: TestEnv) {
scale_cycles(ECDSA_SIGNATURE_FEE) - Cycles::from(1u64),
scale_cycles(ECDSA_SIGNATURE_FEE),
),
error_code: None
error_code: Some("IC0406".to_string())
})
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn test(env: TestEnv) {
ChainKeyError(\"Requested unknown threshold key: {}, existing keys: {}\")",
key_id3, initial_key_ids_as_string,
),
error_code: None,
error_code: Some("IC0406".to_string()),
})
);
assert_eq!(
Expand All @@ -121,7 +121,7 @@ fn test(env: TestEnv) {
existing enabled keys: {}\")",
key_id3, initial_key_ids_as_string,
),
error_code: None,
error_code: Some("IC0406".to_string()),
})
);

Expand Down Expand Up @@ -228,7 +228,7 @@ fn test(env: TestEnv) {
existing enabled keys: []\")",
method_name, key_id
),
error_code: None
error_code: Some("IC0406".to_string())
})
);
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fn test(env: TestEnv) {
AgentError::CertifiedReject(RejectResponse {
reject_code: RejectCode::CanisterReject,
reject_message: "Signature request expired".to_string(),
error_code: None
error_code: Some("IC0406".to_string())
})
)
}
Expand Down
Loading