Skip to content

Commit 0efe56f

Browse files
bot: Update proposals candid bindings (#7415)
# Motivation We would like to render all the latest proposal types. Even with no changes, just updating the reference is good practice. # Changes * Update the version of `IC_COMMIT_FOR_PROPOSALS` specified in `config.json`. * Updated the `proposals` candid files to the versions in that commit. * Updated the Rust code derived from `.did` files in the proposals payload rendering crate. # Tests - [ ] Please check the API updates for any breaking changes that affect our code. - [ ] Please check for new proposal types and add tests for them. 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 318dff6 commit 0efe56f

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"POCKETIC_VERSION": "3.0.1",
120120
"CARGO_SORT_VERSION": "1.0.9",
121121
"SNSDEMO_RELEASE": "release-2025-10-01",
122-
"IC_COMMIT_FOR_PROPOSALS": "release-2025-10-02_03-13-base",
122+
"IC_COMMIT_FOR_PROPOSALS": "release-2025-10-09_03-15-base",
123123
"IC_COMMIT_FOR_SNS_AGGREGATOR": "release-2025-10-02_03-13-base"
124124
},
125125
"packtool": ""

declarations/used_by_proposals/nns_governance/nns_governance.did

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Candid for canister `nns_governance` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-02_03-13-base/rs/nns/governance/canister/governance.did>
1+
//! Candid for canister `nns_governance` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-09_03-15-base/rs/nns/governance/canister/governance.did>
22
type AccountIdentifier = record {
33
hash : blob;
44
};

declarations/used_by_proposals/nns_registry/nns_registry.did

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Candid for canister `nns_registry` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-02_03-13-base/rs/registry/canister/canister/registry.did>
1+
//! Candid for canister `nns_registry` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-09_03-15-base/rs/registry/canister/canister/registry.did>
22
// A brief note about the history of this file: This file used to be
33
// automatically generated, but now, it is hand-crafted, because the
44
// auto-generator has some some pretty degenerate behaviors. The worst of those

declarations/used_by_proposals/sns_wasm/sns_wasm.did

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
//! Candid for canister `sns_wasm` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-02_03-13-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-2025-10-09_03-15-base/rs/nns/sns-wasm/canister/sns-wasm.did>
22
type AddWasmRequest = record {
33
hash : blob;
44
wasm : opt SnsWasm;
5+
skip_update_latest_version : opt bool;
56
};
67

78
type AddWasmResponse = record {

rs/proposals/src/canisters/nns_governance/api.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 nns_governance --out api.rs --header did2rs.header --traits Serialize`
2-
//! Candid for canister `nns_governance` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-02_03-13-base/rs/nns/governance/canister/governance.did>
2+
//! Candid for canister `nns_governance` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-09_03-15-base/rs/nns/governance/canister/governance.did>
33
#![allow(clippy::all)]
44
#![allow(missing_docs)]
55
#![allow(clippy::missing_docs_in_private_items)]

rs/proposals/src/canisters/nns_registry/api.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 nns_registry --out api.rs --header did2rs.header --traits Serialize`
2-
//! Candid for canister `nns_registry` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-02_03-13-base/rs/registry/canister/canister/registry.did>
2+
//! Candid for canister `nns_registry` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-09_03-15-base/rs/registry/canister/canister/registry.did>
33
#![allow(clippy::all)]
44
#![allow(missing_docs)]
55
#![allow(clippy::missing_docs_in_private_items)]

rs/proposals/src/canisters/sns_wasm/api.rs

Lines changed: 2 additions & 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_wasm --out api.rs --header did2rs.header --traits Serialize`
2-
//! Candid for canister `sns_wasm` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-02_03-13-base/rs/nns/sns-wasm/canister/sns-wasm.did>
2+
//! Candid for canister `sns_wasm` obtained by `scripts/update_ic_commit` from: <https://raw.githubusercontent.com/dfinity/ic/release-2025-10-09_03-15-base/rs/nns/sns-wasm/canister/sns-wasm.did>
33
#![allow(clippy::all)]
44
#![allow(missing_docs)]
55
#![allow(clippy::missing_docs_in_private_items)]
@@ -33,6 +33,7 @@ pub struct SnsWasm {
3333
pub struct AddWasmRequest {
3434
pub hash: serde_bytes::ByteBuf,
3535
pub wasm: Option<SnsWasm>,
36+
pub skip_update_latest_version: Option<bool>,
3637
}
3738
#[derive(Serialize, CandidType, Deserialize)]
3839
pub struct SnsWasmError {

0 commit comments

Comments
 (0)