Skip to content

Commit

Permalink
chore: 1. update dependencies; 2. add validate2_xxxxxx API for SNS pr…
Browse files Browse the repository at this point in the history
…oposals
  • Loading branch information
zensh committed Sep 26, 2024
1 parent 4270c8f commit 7f0b867
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 82 deletions.
117 changes: 45 additions & 72 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions 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.3.2"
version = "0.3.3"
edition = "2021"
repository = "https://github.com/ldclabs/ic-cose"
keywords = ["config", "cbor", "canister", "icp", "encryption"]
Expand All @@ -30,8 +30,8 @@ const-hex = "1"
sha2 = "0.10"
sha3 = "0.10"
num-traits = "0.2"
ic-cdk = "0.15"
ic-cdk-timers = "0.8"
ic-cdk = "0.16"
ic-cdk-timers = "0.10"
ic-stable-structures = "0.6"
icrc-ledger-types = "0.1"
getrandom = { version = "0.2", features = ["custom"] }
Expand Down
13 changes: 7 additions & 6 deletions src/ic_cose_canister/ic_cose_canister.did
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ type PublicKeyOutput = record { public_key : blob; chain_code : blob };
type Result = variant { Ok; Err : text };
type Result_1 = variant { Ok : NamespaceInfo; Err : text };
type Result_10 = variant { Ok : StateInfo; Err : text };
type Result_11 = variant { Ok : text; Err : text };
type Result_2 = variant { Ok : vec NamespaceInfo; Err : text };
type Result_3 = variant { Ok : ECDHOutput; Err : text };
type Result_4 = variant { Ok : PublicKeyOutput; Err : text };
Expand Down Expand Up @@ -166,12 +167,12 @@ service : (opt ChainArgs) -> {
Result_7,
);
state_get_info : () -> (Result_10) query;
validate_admin_add_allowed_apis : (vec text) -> (Result);
validate_admin_add_auditors : (vec principal) -> (Result);
validate_admin_add_managers : (vec principal) -> (Result);
validate_admin_remove_allowed_apis : (vec text) -> (Result);
validate_admin_remove_auditors : (vec principal) -> (Result);
validate_admin_remove_managers : (vec principal) -> (Result);
validate2_admin_add_allowed_apis : (vec text) -> (Result_11);
validate2_admin_add_auditors : (vec principal) -> (Result_11);
validate2_admin_add_managers : (vec principal) -> (Result_11);
validate2_admin_remove_allowed_apis : (vec text) -> (Result_11);
validate2_admin_remove_auditors : (vec principal) -> (Result_11);
validate2_admin_remove_managers : (vec principal) -> (Result_11);
vetkd_encrypted_key : (SettingPath, blob) -> (Result_5);
vetkd_public_key : (SettingPath) -> (Result_5);
}
Loading

0 comments on commit 7f0b867

Please sign in to comment.