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

Add support to reconfigure derivation_origin for VC issuer #2528

Merged
merged 8 commits into from
Jul 4, 2024

Conversation

frederikrothenberger
Copy link
Member

@frederikrothenberger frederikrothenberger commented Jul 4, 2024

This PR allows to reconfigure the expected frontend hostname as well as the derivation origin. This will be used in the future to simplify the e2e tests.

Since this is most useful in e2e tests if the configuration is not guarded by the controller, the guard is removed for the configure method too for consistency.

This PR allows to reconfigure the expected frontend hostname as well as
the derivation origin. This will be used in the future to simplify the
e2e tests.

Since this is most useful in e2e tests if the configuration is _not_
guarded by the controller, the guard is removed for the `configure`
method too for consistency.
@frederikrothenberger frederikrothenberger requested a review from a team as a code owner July 4, 2024 10:02
config: &IssuerInit,
) -> Result<(), CallError> {
call_candid_as(env, canister_id, sender, "configure", (config,))
call_candid(env, canister_id, "configure", (config,))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the need to specify the sender as these methods can now be called anonymously again.

Copy link
Collaborator

@lmuntaner lmuntaner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just one comment.

demos/vc_issuer/tests/issue_credential.rs Show resolved Hide resolved
@frederikrothenberger frederikrothenberger added this pull request to the merge queue Jul 4, 2024
Merged via the queue into main with commit 83cf3f8 Jul 4, 2024
65 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/vc-issuer-config branch July 4, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants