Skip to content

Commit

Permalink
Fix Uuidv4 parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
annenkov committed Apr 19, 2023
1 parent ae12594 commit 4b9b87b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/credential-registry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ fn sender_is_owner(ctx: &impl HasReceiveContext) -> bool {
#[receive(
contract = "credential_registry",
name = "viewCredentialEntry",
parameter = "Uuid",
parameter = "Uuidv4",
error = "ContractError",
return_value = "CredentialEntry"
)]
Expand All @@ -314,7 +314,7 @@ fn contract_view_credential_entry<S: HasStateApi>(
#[receive(
contract = "credential_registry",
name = "viewCredentialStatus",
parameter = "Uuid",
parameter = "Uuidv4",
error = "ContractError",
return_value = "CredentialStatus"
)]
Expand Down Expand Up @@ -1090,8 +1090,6 @@ mod tests {
}

/// Test the credential registration entrypoint.
/// Check that the credential was created and appropriate events were
/// generated.
#[concordium_test]
fn test_contract_register_credential() {
let credential_id = 123123123;
Expand Down

0 comments on commit 4b9b87b

Please sign in to comment.