Skip to content

Commit

Permalink
chore: add governance_canister to state_get_info API
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Dec 29, 2024
1 parent 2567197 commit 489580e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 27 deletions.
52 changes: 26 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ strip = true
opt-level = 's'

[workspace.package]
version = "0.5.3"
version = "0.5.4"
edition = "2021"
repository = "https://github.com/ldclabs/ic-cose"
keywords = ["config", "cbor", "canister", "icp", "encryption"]
Expand Down
1 change: 1 addition & 0 deletions src/ic_cose_canister/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ impl State {
} else {
None
},
governance_canister: self.governance_canister.clone(),
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/ic_cose_types/src/types/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ pub struct StateInfo {
pub ecdsa_public_key: Option<PublicKeyOutput>,
pub schnorr_ed25519_public_key: Option<PublicKeyOutput>,
pub schnorr_secp256k1_public_key: Option<PublicKeyOutput>,
pub governance_canister: Option<Principal>,
}

0 comments on commit 489580e

Please sign in to comment.