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

Use Stable Storage for the canister Credential data. Retrieves the data as needed from storage without holding everything in memory at once #25

Merged
merged 12 commits into from
May 23, 2024

Conversation

happyhackerbird
Copy link
Contributor

@happyhackerbird happyhackerbird commented May 21, 2024

CONFIG is a seperate restricted area in memory. To use it alongside stable structures we need to implement a memory manager.

References:
https://github.com/dfinity/stable-structures/blob/main/examples/src/custom_types_example/src/lib.rs

To upgrade canisters:
dfx build && dfx canister install civic_canister_backend --mode upgrade

@happyhackerbird happyhackerbird merged commit aca3c42 into develop May 23, 2024
4 checks passed
@happyhackerbird happyhackerbird deleted the stable-storage branch May 24, 2024 21:22
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