Skip to content

Commit cd8e658

Browse files
bot: Update sns_aggregator candid bindings (#7706)
# Motivation A newer release of the internet computer is available. We would like to parse all the latest SNS data. To do so, we update the candid interfaces for the SNS aggregator. Even with no changes, just updating the reference is good practice. # Changes * Update the version of `IC_COMMIT_FOR_SNS_AGGREGATOR` specified in `config.json`. * Updated the `sns_aggregator` candid files to the versions in that commit. * Updated the Rust code derived from `.did` files in the aggregator. # Tests - [ ] Please check the API updates for any breaking changes that affect our code. Breaking changes are: * New mandatory fields * Removing mandatory fields * Renaming fields * Changing the type of a field * Adding new variants Co-authored-by: gix-bot <gix-bot@users.noreply.github.com>
1 parent ef11225 commit cd8e658

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"CARGO_SORT_VERSION": "1.0.9",
119119
"SNSDEMO_RELEASE": "release-2026-01-28",
120120
"IC_COMMIT_FOR_PROPOSALS": "release-2026-01-29_23-28-base",
121-
"IC_COMMIT_FOR_SNS_AGGREGATOR": "release-2026-01-22_03-33-base"
121+
"IC_COMMIT_FOR_SNS_AGGREGATOR": "release-2026-01-29_23-28-base"
122122
},
123123
"packtool": ""
124124
}

declarations/used_by_sns_aggregator/sns_governance/sns_governance.did

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Candid for canister `sns_governance` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/sns/governance/canister/governance.did>
1+
//! Candid for canister `sns_governance` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/sns/governance/canister/governance.did>
22
type Account = record {
33
owner : opt principal;
44
subaccount : opt Subaccount;

declarations/used_by_sns_aggregator/sns_ledger/sns_ledger.did

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Candid for canister `sns_ledger` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/ledger_suite/icrc1/ledger/ledger.did>
1+
//! Candid for canister `sns_ledger` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/ledger_suite/icrc1/ledger/ledger.did>
22
type BlockIndex = nat;
33
type Subaccount = blob;
44
// Number of nanoseconds since the UNIX epoch in UTC timezone.

declarations/used_by_sns_aggregator/sns_root/sns_root.did

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Candid for canister `sns_root` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/sns/root/canister/root.did>
1+
//! Candid for canister `sns_root` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/sns/root/canister/root.did>
22
type CanisterCallError = record {
33
code : opt int32;
44
description : text;

declarations/used_by_sns_aggregator/sns_swap/sns_swap.did

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Candid for canister `sns_swap` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/sns/swap/canister/swap.did>
1+
//! Candid for canister `sns_swap` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/sns/swap/canister/swap.did>
22
type BuyerState = record {
33
icp : opt TransferableAmount;
44
has_created_neuron_recipes : opt bool;

declarations/used_by_sns_aggregator/sns_wasm/sns_wasm.did

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Candid for canister `sns_wasm` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/nns/sns-wasm/canister/sns-wasm.did>
1+
//! Candid for canister `sns_wasm` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/nns/sns-wasm/canister/sns-wasm.did>
22
type AddWasmRequest = record {
33
hash : blob;
44
wasm : opt SnsWasm;

rs/sns_aggregator/src/types/ic_sns_governance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Rust code created from candid by: `scripts/did2rs.sh --canister sns_governance --out ic_sns_governance.rs --header did2rs.header --traits Serialize\,\ Clone\,\ Debug`
2-
//! Candid for canister `sns_governance` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/sns/governance/canister/governance.did>
2+
//! Candid for canister `sns_governance` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/sns/governance/canister/governance.did>
33
#![allow(clippy::all)]
44
#![allow(unused_imports)]
55
#![allow(missing_docs)]

rs/sns_aggregator/src/types/ic_sns_ledger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Rust code created from candid by: `scripts/did2rs.sh --canister sns_ledger --out ic_sns_ledger.rs --header did2rs.header --traits Serialize\,\ Clone\,\ Debug`
2-
//! Candid for canister `sns_ledger` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/ledger_suite/icrc1/ledger/ledger.did>
2+
//! Candid for canister `sns_ledger` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/ledger_suite/icrc1/ledger/ledger.did>
33
#![allow(clippy::all)]
44
#![allow(unused_imports)]
55
#![allow(missing_docs)]

rs/sns_aggregator/src/types/ic_sns_root.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Rust code created from candid by: `scripts/did2rs.sh --canister sns_root --out ic_sns_root.rs --header did2rs.header --traits Serialize\,\ Clone\,\ Debug`
2-
//! Candid for canister `sns_root` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/sns/root/canister/root.did>
2+
//! Candid for canister `sns_root` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/sns/root/canister/root.did>
33
#![allow(clippy::all)]
44
#![allow(unused_imports)]
55
#![allow(missing_docs)]

rs/sns_aggregator/src/types/ic_sns_swap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Rust code created from candid by: `scripts/did2rs.sh --canister sns_swap --out ic_sns_swap.rs --header did2rs.header --traits Serialize\,\ Clone\,\ Debug`
2-
//! Candid for canister `sns_swap` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-22_03-33-base/rs/sns/swap/canister/swap.did>
2+
//! Candid for canister `sns_swap` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2026-01-29_23-28-base/rs/sns/swap/canister/swap.did>
33
#![allow(clippy::all)]
44
#![allow(unused_imports)]
55
#![allow(missing_docs)]

0 commit comments

Comments
 (0)