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

chore(upgrader): assume that target canister is always set in production #479

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

mraszyk
Copy link
Collaborator

@mraszyk mraszyk commented Jan 13, 2025

This PR simplifies upgrader code by assuming that target canister is always set in production and defaulting to anonymous principal in unit tests. This is a harmless assumption since an upgrader without a target canister set cannot be used and/or recovered.

@mraszyk mraszyk marked this pull request as ready for review January 13, 2025 15:36
@mraszyk mraszyk requested a review from a team as a code owner January 13, 2025 15:36
@mraszyk mraszyk enabled auto-merge (squash) January 13, 2025 17:52
@mraszyk mraszyk merged commit 00d9700 into main Jan 13, 2025
25 checks passed
@mraszyk mraszyk deleted the mraszyk/upgrader-target-canister branch January 13, 2025 18:15
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