-
Notifications
You must be signed in to change notification settings - Fork 7
test: add canister upgrade test for key manager and encrypted maps #214
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
base: main
Are you sure you want to change the base?
Conversation
| @@ -1,13 +1,19 @@ | |||
| import IcVetkeys "mo:ic-vetkeys"; | |||
| import Types "mo:ic-vetkeys/Types"; | |||
| import IcVetkeys "../../../ic_vetkeys/src"; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to rely on the local version for a short time because we extracted the data types from the classes to enable enhanced orthogonal persistence. This will be set back right after we bump the package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's actually a better idea to extract those changes to a separate PR, update the package, and first then merge this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe @fspreiss can look at this later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@altkdf, sure, @randombit and me can take care of that.
|
8f15560 should be reverted here after Motoko |
| output | ||
| } | ||
|
|
||
| pub fn upgrade_for_enhanced_orthogonal_persistence( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a workaround until Pocket IC has dfinity/ic#6141 upstream.
No description provided.