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(sns): migrate wasm_memory_limit in non-governance non-root canisters #1540

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

anchpop
Copy link
Contributor

@anchpop anchpop commented Sep 18, 2024

All the non-governance and non-root SNS canisters should have their wasm_memory_limit set to 3GiB via a root migration. (#1521 took care of this for root via a governance migration.)

Once this PR is merged and released, all SNS canisters will have the same wasm_memory_limit - 4GiB for SNS Governance, 3GiB for all other canisters. I've already verified with the FI team that 3GiB is safe to use with all 3 FI canisters.

Closes NNS1-3301

@anchpop anchpop requested a review from a team as a code owner September 18, 2024 02:07
@github-actions github-actions bot added the chore label Sep 18, 2024
@anchpop anchpop force-pushed the @anchpop/migrate-non-root-non-gov-mem-limit branch from 81964f5 to bd4e410 Compare September 18, 2024 03:03
@max-dfinity
Copy link
Contributor

PR title should be updated to specify what is being migrated in the canisters

@anchpop anchpop added this pull request to the merge queue Sep 18, 2024
@anchpop anchpop changed the title chore(sns): migrate non-governance non-root canisters chore(sns): migrate wasm_memory_limit in non-governance non-root canisters Sep 18, 2024
Merged via the queue into master with commit cedb79f Sep 18, 2024
32 checks passed
@anchpop anchpop deleted the @anchpop/migrate-non-root-non-gov-mem-limit branch September 18, 2024 18:38
github-merge-queue bot pushed a commit that referenced this pull request Sep 28, 2024
## Problem

In #1540 and #1521, we added code for performing a migration of
wasm_memory_limit for all SNS canisters other than SNS Governance. That
code is no longer necessary now that it has been released.

## Solution

Remove that code. A few changes to tests are still useful and have been
left in.
levifeldman pushed a commit to levifeldman/ic that referenced this pull request Oct 1, 2024
…sters (dfinity#1540)

All the non-governance and non-root SNS canisters should have their
`wasm_memory_limit` set to 3GiB via a root migration. (dfinity#1521 took care
of this for root via a governance migration.)

Once this PR is merged and released, all SNS canisters will have the
same `wasm_memory_limit` - 4GiB for SNS Governance, 3GiB for all other
canisters. I've already verified with the FI team that 3GiB is safe to
use with all 3 FI canisters.

Closes [NNS1-3301](https://dfinity.atlassian.net/browse/NNS1-3301)

[NNS1-3301]:
https://dfinity.atlassian.net/browse/NNS1-3301?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
levifeldman pushed a commit to levifeldman/ic that referenced this pull request Oct 1, 2024
## Problem

In dfinity#1540 and dfinity#1521, we added code for performing a migration of
wasm_memory_limit for all SNS canisters other than SNS Governance. That
code is no longer necessary now that it has been released.

## Solution

Remove that code. A few changes to tests are still useful and have been
left in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants