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: bump SNS aggregator version and configure it to be fast #71

Merged
merged 5 commits into from
May 24, 2024

Conversation

mraszyk
Copy link
Collaborator

@mraszyk mraszyk commented May 24, 2024

This PR bumps the SNS aggregator version and configures it to be fast. This makes the NNS frontend dapp launchpad update quickly once an NNS proposal to create an SNS is executed.

@mraszyk mraszyk requested a review from a team as a code owner May 24, 2024 08:07
fi

${DFX} canister install sns_aggregator --network "${NETWORK}" --wasm nns-dapp/out/sns_aggregator.wasm
if [ ! -z "${SNS_AGGREGATOR_RELEASE:-}" ]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need the if statement?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There already used to be an if-statement

if [ ! -z "${NNS_DAPP_RELEASE:-}" ]

covering both the NNS dapp and the SNS aggregator. Since this PR introduces a separate env var for the SNS aggregator, I had to add a new if statement. Now regarding the motivation: the reason is to allow expert people to put their own wasms into nns-dapp/out to install a custom version of the canisters.

setup.sh Show resolved Hide resolved
@mraszyk mraszyk merged commit cf5ea71 into main May 24, 2024
4 checks passed
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