Skip to content

Commit

Permalink
feat: bump version for sns canisters (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi-sawlani-yral authored Dec 18, 2024
1 parent 232da8c commit 1f23696
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/shared_utils/src/constant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub const MAX_NUMBER_OF_DAYS_TO_KEEP_CANISTER_RUNNING: u128 = 7;
pub const MAX_LIMIT_FOR_CREATOR_DAO_SNS_TOKEN: usize = 2;

pub const SNS_TOKEN_GOVERNANCE_MODULE_HASH: &'static str =
"bc91fd7bc4d6c01ea814b12510a1ff8f4f74fcac9ab16248ad4af7cb98d9c69d";
"51fd3d1a529f3f7bad808b19074e761ce3538282ac8189bd7067b4156360c279";
pub const SNS_TOKEN_LEDGER_MODULE_HASH: &'static str =
"3d808fa63a3d8ebd4510c0400aa078e99a31afaa0515f0b68778f929ce4b2a46";
pub const SNS_TOKEN_ROOT_MODULE_HASH: &'static str =
Expand Down
13 changes: 11 additions & 2 deletions wasms/fetch_sns_canisters.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
DFX_IC_COMMIT=e54d3fa34ded227c885d04e64505fa4b5d564743
CANISTER_NAME=ic-icrc1-index-ng.wasm.gz
DFX_IC_COMMIT=aa91ecacdf3824e193e21b70e0127e8d3edab51a
CANISTER_NAME=sns-root-canister.wasm.gz

if [ ! -e "./wams/$CANISTER_NAME" ]; then
wget -P ./wasms/ "https://download.dfinity.systems/ic/$DFX_IC_COMMIT/canisters/$CANISTER_NAME"
fi

# archive canister commit: e54d3fa34ded227c885d04e64505fa4b5d564743
# ledger canister commit: e54d3fa34ded227c885d04e64505fa4b5d564743
# swap canister commit: aa91ecacdf3824e193e21b70e0127e8d3edab51a
# governance canister commit: 25c1bb0227d9970f5673b908817d7c4962b29911
# root canister commit: aa91ecacdf3824e193e21b70e0127e8d3edab51a
# index canister commit: e54d3fa34ded227c885d04e64505fa4b5d564743



Binary file modified wasms/governance.wasm.gz
Binary file not shown.

0 comments on commit 1f23696

Please sign in to comment.