Skip to content

Commit

Permalink
Merge branch 'pg/uapi' of github.com:paritytech/ink into pg/uapi
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Jan 5, 2024
2 parents ff76532 + 08aa839 commit 464d41f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions integration-tests/sr25519-verification/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ pub mod sr25519_verification {
143,
];
let result = ink::env::sr25519_verify(&signature, &message, &public_key);
assert_eq!(result, Err(ink::env::ReturnErrorCode::Sr25519VerifyFailed.into()));
assert_eq!(
result,
Err(ink::env::ReturnErrorCode::Sr25519VerifyFailed.into())
);
}

#[ink::test]
Expand All @@ -128,7 +131,10 @@ pub mod sr25519_verification {
143,
];
let result = ink::env::sr25519_verify(&signature, &message, &public_key);
assert_eq!(result, Err(ink::env::ReturnErrorCode::Sr25519VerifyFailed.into()));
assert_eq!(
result,
Err(ink::env::ReturnErrorCode::Sr25519VerifyFailed.into())
);
}
}
}

0 comments on commit 464d41f

Please sign in to comment.