diff --git a/package.json b/package.json index b109b31c..3f441c0a 100644 --- a/package.json +++ b/package.json @@ -168,7 +168,7 @@ { "name": "@dfinity/ic-management", "path": "./packages/ic-management/dist/index.js", - "limit": "3 kB", + "limit": "4 kB", "gzip": true, "ignore": [ "@dfinity/agent", diff --git a/packages/ckbtc/candid/minter.did b/packages/ckbtc/candid/minter.did index 4289555c..573981c8 100644 --- a/packages/ckbtc/candid/minter.did +++ b/packages/ckbtc/candid/minter.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid // Represents an account on the ckBTC ledger. type Account = record { owner : principal; subaccount : opt blob }; diff --git a/packages/cketh/candid/minter.did b/packages/cketh/candid/minter.did index d1fed003..02b62a60 100644 --- a/packages/cketh/candid/minter.did +++ b/packages/cketh/candid/minter.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid type EthereumNetwork = variant { // The public Ethereum mainnet. Mainnet; diff --git a/packages/cketh/candid/orchestrator.did b/packages/cketh/candid/orchestrator.did index dd7d0581..ba0cb6b8 100644 --- a/packages/cketh/candid/orchestrator.did +++ b/packages/cketh/candid/orchestrator.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid type OrchestratorArg = variant { UpgradeArg : UpgradeArg; InitArg : InitArg; diff --git a/packages/cmc/candid/cmc.certified.idl.js b/packages/cmc/candid/cmc.certified.idl.js index 631d99e0..edf3f4b4 100644 --- a/packages/cmc/candid/cmc.certified.idl.js +++ b/packages/cmc/candid/cmc.certified.idl.js @@ -116,6 +116,7 @@ export const idlFactory = ({ IDL }) => { [], ), 'get_build_metadata' : IDL.Func([], [IDL.Text], []), + 'get_default_subnets' : IDL.Func([], [IDL.Vec(IDL.Principal)], []), 'get_icp_xdr_conversion_rate' : IDL.Func( [], [IcpXdrConversionRateResponse], diff --git a/packages/cmc/candid/cmc.d.ts b/packages/cmc/candid/cmc.d.ts index 9fd91d51..a95c55fb 100644 --- a/packages/cmc/candid/cmc.d.ts +++ b/packages/cmc/candid/cmc.d.ts @@ -98,6 +98,7 @@ export type log_visibility = { controllers: null } | { public: null }; export interface _SERVICE { create_canister: ActorMethod<[CreateCanisterArg], CreateCanisterResult>; get_build_metadata: ActorMethod<[], string>; + get_default_subnets: ActorMethod<[], Array>; get_icp_xdr_conversion_rate: ActorMethod<[], IcpXdrConversionRateResponse>; get_principals_authorized_to_create_canisters_to_subnets: ActorMethod< [], diff --git a/packages/cmc/candid/cmc.did b/packages/cmc/candid/cmc.did index 46fe2177..18b78bd6 100644 --- a/packages/cmc/candid/cmc.did +++ b/packages/cmc/candid/cmc.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/nns/cmc/cmc.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/nns/cmc/cmc.did' by import-candid type Cycles = nat; type BlockIndex = nat64; type log_visibility = variant { @@ -236,5 +236,7 @@ service : (opt CyclesCanisterInitPayload) -> { // to create canisters. get_principals_authorized_to_create_canisters_to_subnets : () -> (PrincipalsAuthorizedToCreateCanistersToSubnetsResponse) query; + get_default_subnets: () -> (vec principal) query; + get_build_metadata : () -> (text) query; }; diff --git a/packages/cmc/candid/cmc.idl.js b/packages/cmc/candid/cmc.idl.js index 8bfd4f8f..559f50a1 100644 --- a/packages/cmc/candid/cmc.idl.js +++ b/packages/cmc/candid/cmc.idl.js @@ -116,6 +116,7 @@ export const idlFactory = ({ IDL }) => { [], ), 'get_build_metadata' : IDL.Func([], [IDL.Text], ['query']), + 'get_default_subnets' : IDL.Func([], [IDL.Vec(IDL.Principal)], ['query']), 'get_icp_xdr_conversion_rate' : IDL.Func( [], [IcpXdrConversionRateResponse], diff --git a/packages/ic-management/candid/ic-management.certified.idl.js b/packages/ic-management/candid/ic-management.certified.idl.js index 1022c03d..b6e1a80f 100644 --- a/packages/ic-management/candid/ic-management.certified.idl.js +++ b/packages/ic-management/candid/ic-management.certified.idl.js @@ -72,6 +72,7 @@ export const idlFactory = ({ IDL }) => { 'canister_id' : IDL.Principal, }), }); + const snapshot_id = IDL.Vec(IDL.Nat8); const change_details = IDL.Variant({ 'creation' : IDL.Record({ 'controllers' : IDL.Vec(IDL.Principal) }), 'code_deployment' : IDL.Record({ @@ -82,6 +83,11 @@ export const idlFactory = ({ IDL }) => { }), 'module_hash' : IDL.Vec(IDL.Nat8), }), + 'load_snapshot' : IDL.Record({ + 'canister_version' : IDL.Nat64, + 'taken_at_timestamp' : IDL.Nat64, + 'snapshot_id' : snapshot_id, + }), 'controllers_change' : IDL.Record({ 'controllers' : IDL.Vec(IDL.Principal), }), @@ -148,6 +154,10 @@ export const idlFactory = ({ IDL }) => { }); const create_canister_result = IDL.Record({ 'canister_id' : canister_id }); const delete_canister_args = IDL.Record({ 'canister_id' : canister_id }); + const delete_canister_snapshot_args = IDL.Record({ + 'canister_id' : canister_id, + 'snapshot_id' : snapshot_id, + }); const deposit_cycles_args = IDL.Record({ 'canister_id' : canister_id }); const ecdsa_curve = IDL.Variant({ 'secp256k1' : IDL.Null }); const ecdsa_public_key_args = IDL.Record({ @@ -230,6 +240,20 @@ export const idlFactory = ({ IDL }) => { 'canister_id' : canister_id, 'sender_canister_version' : IDL.Opt(IDL.Nat64), }); + const list_canister_snapshots_args = IDL.Record({ + 'canister_id' : canister_id, + }); + const snapshot = IDL.Record({ + 'id' : snapshot_id, + 'total_size' : IDL.Nat64, + 'taken_at_timestamp' : IDL.Nat64, + }); + const list_canister_snapshots_result = IDL.Vec(snapshot); + const load_canister_snapshot_args = IDL.Record({ + 'canister_id' : canister_id, + 'sender_canister_version' : IDL.Opt(IDL.Nat64), + 'snapshot_id' : snapshot_id, + }); const node_metrics_history_args = IDL.Record({ 'start_at_timestamp_nanos' : IDL.Nat64, 'subnet_id' : IDL.Principal, @@ -298,6 +322,11 @@ export const idlFactory = ({ IDL }) => { const stop_canister_args = IDL.Record({ 'canister_id' : canister_id }); const stored_chunks_args = IDL.Record({ 'canister_id' : canister_id }); const stored_chunks_result = IDL.Vec(chunk_hash); + const take_canister_snapshot_args = IDL.Record({ + 'replace_snapshot' : IDL.Opt(snapshot_id), + 'canister_id' : canister_id, + }); + const take_canister_snapshot_result = snapshot; const uninstall_code_args = IDL.Record({ 'canister_id' : canister_id, 'sender_canister_version' : IDL.Opt(IDL.Nat64), @@ -355,6 +384,11 @@ export const idlFactory = ({ IDL }) => { [], ), 'delete_canister' : IDL.Func([delete_canister_args], [], []), + 'delete_canister_snapshot' : IDL.Func( + [delete_canister_snapshot_args], + [], + [], + ), 'deposit_cycles' : IDL.Func([deposit_cycles_args], [], []), 'ecdsa_public_key' : IDL.Func( [ecdsa_public_key_args], @@ -369,6 +403,12 @@ export const idlFactory = ({ IDL }) => { 'http_request' : IDL.Func([http_request_args], [http_request_result], []), 'install_chunked_code' : IDL.Func([install_chunked_code_args], [], []), 'install_code' : IDL.Func([install_code_args], [], []), + 'list_canister_snapshots' : IDL.Func( + [list_canister_snapshots_args], + [list_canister_snapshots_result], + [], + ), + 'load_canister_snapshot' : IDL.Func([load_canister_snapshot_args], [], []), 'node_metrics_history' : IDL.Func( [node_metrics_history_args], [node_metrics_history_result], @@ -407,6 +447,11 @@ export const idlFactory = ({ IDL }) => { [stored_chunks_result], [], ), + 'take_canister_snapshot' : IDL.Func( + [take_canister_snapshot_args], + [take_canister_snapshot_result], + [], + ), 'uninstall_code' : IDL.Func([uninstall_code_args], [], []), 'update_settings' : IDL.Func([update_settings_args], [], []), 'upload_chunk' : IDL.Func([upload_chunk_args], [upload_chunk_result], []), diff --git a/packages/ic-management/candid/ic-management.d.ts b/packages/ic-management/candid/ic-management.d.ts index 27d991f0..44a3c165 100644 --- a/packages/ic-management/candid/ic-management.d.ts +++ b/packages/ic-management/candid/ic-management.d.ts @@ -119,6 +119,13 @@ export type change_details = module_hash: Uint8Array | number[]; }; } + | { + load_snapshot: { + canister_version: bigint; + taken_at_timestamp: bigint; + snapshot_id: snapshot_id; + }; + } | { controllers_change: { controllers: Array } } | { code_uninstall: null }; export type change_origin = @@ -154,6 +161,10 @@ export interface definite_canister_settings { export interface delete_canister_args { canister_id: canister_id; } +export interface delete_canister_snapshot_args { + canister_id: canister_id; + snapshot_id: snapshot_id; +} export interface deposit_cycles_args { canister_id: canister_id; } @@ -208,6 +219,15 @@ export interface install_code_args { canister_id: canister_id; sender_canister_version: [] | [bigint]; } +export interface list_canister_snapshots_args { + canister_id: canister_id; +} +export type list_canister_snapshots_result = Array; +export interface load_canister_snapshot_args { + canister_id: canister_id; + sender_canister_version: [] | [bigint]; + snapshot_id: snapshot_id; +} export type log_visibility = { controllers: null } | { public: null }; export type millisatoshi_per_byte = bigint; export interface node_metrics { @@ -268,6 +288,12 @@ export interface sign_with_schnorr_args { export interface sign_with_schnorr_result { signature: Uint8Array | number[]; } +export interface snapshot { + id: snapshot_id; + total_size: bigint; + taken_at_timestamp: bigint; +} +export type snapshot_id = Uint8Array | number[]; export interface start_canister_args { canister_id: canister_id; } @@ -278,6 +304,11 @@ export interface stored_chunks_args { canister_id: canister_id; } export type stored_chunks_result = Array; +export interface take_canister_snapshot_args { + replace_snapshot: [] | [snapshot_id]; + canister_id: canister_id; +} +export type take_canister_snapshot_result = snapshot; export interface uninstall_code_args { canister_id: canister_id; sender_canister_version: [] | [bigint]; @@ -324,6 +355,10 @@ export interface _SERVICE { clear_chunk_store: ActorMethod<[clear_chunk_store_args], undefined>; create_canister: ActorMethod<[create_canister_args], create_canister_result>; delete_canister: ActorMethod<[delete_canister_args], undefined>; + delete_canister_snapshot: ActorMethod< + [delete_canister_snapshot_args], + undefined + >; deposit_cycles: ActorMethod<[deposit_cycles_args], undefined>; ecdsa_public_key: ActorMethod< [ecdsa_public_key_args], @@ -336,6 +371,11 @@ export interface _SERVICE { http_request: ActorMethod<[http_request_args], http_request_result>; install_chunked_code: ActorMethod<[install_chunked_code_args], undefined>; install_code: ActorMethod<[install_code_args], undefined>; + list_canister_snapshots: ActorMethod< + [list_canister_snapshots_args], + list_canister_snapshots_result + >; + load_canister_snapshot: ActorMethod<[load_canister_snapshot_args], undefined>; node_metrics_history: ActorMethod< [node_metrics_history_args], node_metrics_history_result @@ -361,6 +401,10 @@ export interface _SERVICE { start_canister: ActorMethod<[start_canister_args], undefined>; stop_canister: ActorMethod<[stop_canister_args], undefined>; stored_chunks: ActorMethod<[stored_chunks_args], stored_chunks_result>; + take_canister_snapshot: ActorMethod< + [take_canister_snapshot_args], + take_canister_snapshot_result + >; uninstall_code: ActorMethod<[uninstall_code_args], undefined>; update_settings: ActorMethod<[update_settings_args], undefined>; upload_chunk: ActorMethod<[upload_chunk_args], upload_chunk_result>; diff --git a/packages/ic-management/candid/ic-management.did b/packages/ic-management/candid/ic-management.did index 37e885e1..f21e6f66 100644 --- a/packages/ic-management/candid/ic-management.did +++ b/packages/ic-management/candid/ic-management.did @@ -1,6 +1,7 @@ -// Generated from dfinity/interface-spec commit 45a23a737ec37cb8c9b098e377af857b4b55abda for file 'spec/_attachments/ic.did' +// Generated from dfinity/interface-spec commit ac416ec82cd9fae4825824fea639f7ae32aec594 for file 'spec/_attachments/ic.did' type canister_id = principal; type wasm_module = blob; +type snapshot_id = blob; type log_visibility = variant { controllers; @@ -46,6 +47,11 @@ type change_details = variant { mode : variant { install; reinstall; upgrade }; module_hash : blob; }; + load_snapshot : record { + canister_version : nat64; + snapshot_id : snapshot_id; + taken_at_timestamp : nat64; + }; controllers_change : record { controllers : vec principal; }; @@ -359,6 +365,36 @@ type stored_chunks_result = vec chunk_hash; type upload_chunk_result = chunk_hash; +type snapshot = record { + id : snapshot_id; + taken_at_timestamp : nat64; + total_size : nat64; +}; + +type take_canister_snapshot_args = record { + canister_id : canister_id; + replace_snapshot : opt snapshot_id; +}; + +type take_canister_snapshot_result = snapshot; + +type load_canister_snapshot_args = record { + canister_id : canister_id; + snapshot_id : snapshot_id; + sender_canister_version : opt nat64; +}; + +type list_canister_snapshots_args = record { + canister_id : canister_id; +}; + +type list_canister_snapshots_result = vec snapshot; + +type delete_canister_snapshot_args = record { + canister_id : canister_id; + snapshot_id : snapshot_id; +}; + type fetch_canister_logs_args = record { canister_id : canister_id; }; @@ -413,6 +449,12 @@ service ic : { provisional_create_canister_with_cycles : (provisional_create_canister_with_cycles_args) -> (provisional_create_canister_with_cycles_result); provisional_top_up_canister : (provisional_top_up_canister_args) -> (); + // Canister snapshots + take_canister_snapshot : (take_canister_snapshot_args) -> (take_canister_snapshot_result); + load_canister_snapshot : (load_canister_snapshot_args) -> (); + list_canister_snapshots : (list_canister_snapshots_args) -> (list_canister_snapshots_result); + delete_canister_snapshot : (delete_canister_snapshot_args) -> (); + // canister logging fetch_canister_logs : (fetch_canister_logs_args) -> (fetch_canister_logs_result) query; }; diff --git a/packages/ic-management/candid/ic-management.idl.js b/packages/ic-management/candid/ic-management.idl.js index 6c3ac917..fce8353b 100644 --- a/packages/ic-management/candid/ic-management.idl.js +++ b/packages/ic-management/candid/ic-management.idl.js @@ -72,6 +72,7 @@ export const idlFactory = ({ IDL }) => { 'canister_id' : IDL.Principal, }), }); + const snapshot_id = IDL.Vec(IDL.Nat8); const change_details = IDL.Variant({ 'creation' : IDL.Record({ 'controllers' : IDL.Vec(IDL.Principal) }), 'code_deployment' : IDL.Record({ @@ -82,6 +83,11 @@ export const idlFactory = ({ IDL }) => { }), 'module_hash' : IDL.Vec(IDL.Nat8), }), + 'load_snapshot' : IDL.Record({ + 'canister_version' : IDL.Nat64, + 'taken_at_timestamp' : IDL.Nat64, + 'snapshot_id' : snapshot_id, + }), 'controllers_change' : IDL.Record({ 'controllers' : IDL.Vec(IDL.Principal), }), @@ -148,6 +154,10 @@ export const idlFactory = ({ IDL }) => { }); const create_canister_result = IDL.Record({ 'canister_id' : canister_id }); const delete_canister_args = IDL.Record({ 'canister_id' : canister_id }); + const delete_canister_snapshot_args = IDL.Record({ + 'canister_id' : canister_id, + 'snapshot_id' : snapshot_id, + }); const deposit_cycles_args = IDL.Record({ 'canister_id' : canister_id }); const ecdsa_curve = IDL.Variant({ 'secp256k1' : IDL.Null }); const ecdsa_public_key_args = IDL.Record({ @@ -230,6 +240,20 @@ export const idlFactory = ({ IDL }) => { 'canister_id' : canister_id, 'sender_canister_version' : IDL.Opt(IDL.Nat64), }); + const list_canister_snapshots_args = IDL.Record({ + 'canister_id' : canister_id, + }); + const snapshot = IDL.Record({ + 'id' : snapshot_id, + 'total_size' : IDL.Nat64, + 'taken_at_timestamp' : IDL.Nat64, + }); + const list_canister_snapshots_result = IDL.Vec(snapshot); + const load_canister_snapshot_args = IDL.Record({ + 'canister_id' : canister_id, + 'sender_canister_version' : IDL.Opt(IDL.Nat64), + 'snapshot_id' : snapshot_id, + }); const node_metrics_history_args = IDL.Record({ 'start_at_timestamp_nanos' : IDL.Nat64, 'subnet_id' : IDL.Principal, @@ -298,6 +322,11 @@ export const idlFactory = ({ IDL }) => { const stop_canister_args = IDL.Record({ 'canister_id' : canister_id }); const stored_chunks_args = IDL.Record({ 'canister_id' : canister_id }); const stored_chunks_result = IDL.Vec(chunk_hash); + const take_canister_snapshot_args = IDL.Record({ + 'replace_snapshot' : IDL.Opt(snapshot_id), + 'canister_id' : canister_id, + }); + const take_canister_snapshot_result = snapshot; const uninstall_code_args = IDL.Record({ 'canister_id' : canister_id, 'sender_canister_version' : IDL.Opt(IDL.Nat64), @@ -355,6 +384,11 @@ export const idlFactory = ({ IDL }) => { [], ), 'delete_canister' : IDL.Func([delete_canister_args], [], []), + 'delete_canister_snapshot' : IDL.Func( + [delete_canister_snapshot_args], + [], + [], + ), 'deposit_cycles' : IDL.Func([deposit_cycles_args], [], []), 'ecdsa_public_key' : IDL.Func( [ecdsa_public_key_args], @@ -369,6 +403,12 @@ export const idlFactory = ({ IDL }) => { 'http_request' : IDL.Func([http_request_args], [http_request_result], []), 'install_chunked_code' : IDL.Func([install_chunked_code_args], [], []), 'install_code' : IDL.Func([install_code_args], [], []), + 'list_canister_snapshots' : IDL.Func( + [list_canister_snapshots_args], + [list_canister_snapshots_result], + [], + ), + 'load_canister_snapshot' : IDL.Func([load_canister_snapshot_args], [], []), 'node_metrics_history' : IDL.Func( [node_metrics_history_args], [node_metrics_history_result], @@ -407,6 +447,11 @@ export const idlFactory = ({ IDL }) => { [stored_chunks_result], [], ), + 'take_canister_snapshot' : IDL.Func( + [take_canister_snapshot_args], + [take_canister_snapshot_result], + [], + ), 'uninstall_code' : IDL.Func([uninstall_code_args], [], []), 'update_settings' : IDL.Func([update_settings_args], [], []), 'upload_chunk' : IDL.Func([upload_chunk_args], [upload_chunk_result], []), diff --git a/packages/ledger-icp/candid/index.did b/packages/ledger-icp/candid/index.did index 6d5c9252..368c7374 100644 --- a/packages/ledger-icp/candid/index.did +++ b/packages/ledger-icp/candid/index.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/rosetta-api/icp_ledger/index/index.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/rosetta-api/icp_ledger/index/index.did' by import-candid type Account = record { owner : principal; subaccount : opt vec nat8 }; type GetAccountIdentifierTransactionsArgs = record { max_results : nat64; @@ -9,7 +9,8 @@ type GetAccountTransactionsArgs = record { account : Account; // The txid of the last transaction seen by the client. // If None then the results will start from the most recent - // txid. + // txid. If set then the results will start from the next + // most recent txid after start (start won't be included). start : opt nat; // Maximum number of transactions to fetch. max_results : nat; diff --git a/packages/ledger-icp/candid/ledger.did b/packages/ledger-icp/candid/ledger.did index 3190e74d..f24f8a9c 100644 --- a/packages/ledger-icp/candid/ledger.did +++ b/packages/ledger-icp/candid/ledger.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/rosetta-api/icp_ledger/ledger.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/rosetta-api/icp_ledger/ledger.did' by import-candid // This is the official Ledger interface that is guaranteed to be backward compatible. // Amount of tokens, measured in 10^-8 of a token. diff --git a/packages/ledger-icrc/candid/icrc_index-ng.did b/packages/ledger-icrc/candid/icrc_index-ng.did index a2eb3c31..36637e05 100644 --- a/packages/ledger-icrc/candid/icrc_index-ng.did +++ b/packages/ledger-icrc/candid/icrc_index-ng.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/rosetta-api/icrc1/index-ng/index-ng.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/rosetta-api/icrc1/index-ng/index-ng.did' by import-candid type Tokens = nat; type InitArg = record { @@ -101,7 +101,8 @@ type GetAccountTransactionsArgs = record { account : Account; // The txid of the last transaction seen by the client. // If None then the results will start from the most recent - // txid. + // txid. If set then the results will start from the next + // most recent txid after start (start won't be included). start : opt BlockIndex; // Maximum number of transactions to fetch. max_results : nat; diff --git a/packages/ledger-icrc/candid/icrc_index.did b/packages/ledger-icrc/candid/icrc_index.did index b32d6706..a76bc846 100644 --- a/packages/ledger-icrc/candid/icrc_index.did +++ b/packages/ledger-icrc/candid/icrc_index.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/rosetta-api/icrc1/index/index.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/rosetta-api/icrc1/index/index.did' by import-candid type TxId = nat; type Account = record { owner : principal; subaccount : opt blob }; diff --git a/packages/ledger-icrc/candid/icrc_ledger.did b/packages/ledger-icrc/candid/icrc_ledger.did index 82f06485..8121fe39 100644 --- a/packages/ledger-icrc/candid/icrc_ledger.did +++ b/packages/ledger-icrc/candid/icrc_ledger.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/rosetta-api/icrc1/ledger/ledger.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/rosetta-api/icrc1/ledger/ledger.did' by import-candid type BlockIndex = nat; type Subaccount = blob; // Number of nanoseconds since the UNIX epoch in UTC timezone. diff --git a/packages/nns/candid/genesis_token.did b/packages/nns/candid/genesis_token.did index dda1f982..a619d35f 100644 --- a/packages/nns/candid/genesis_token.did +++ b/packages/nns/candid/genesis_token.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/nns/gtc/canister/gtc.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/nns/gtc/canister/gtc.did' by import-candid type AccountState = record { authenticated_principal_id : opt principal; successfully_transferred_neurons : vec TransferredNeuron; diff --git a/packages/nns/candid/governance.did b/packages/nns/candid/governance.did index 708d59cb..770f0e6c 100644 --- a/packages/nns/candid/governance.did +++ b/packages/nns/candid/governance.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/nns/governance/canister/governance.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/nns/governance/canister/governance.did' by import-candid type AccountIdentifier = record { hash : blob; }; diff --git a/packages/nns/candid/governance_test.did b/packages/nns/candid/governance_test.did index b1caf3e1..efae9cb4 100644 --- a/packages/nns/candid/governance_test.did +++ b/packages/nns/candid/governance_test.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/nns/governance/canister/governance_test.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/nns/governance/canister/governance_test.did' by import-candid type AccountIdentifier = record { hash : blob; }; diff --git a/packages/nns/candid/sns_wasm.did b/packages/nns/candid/sns_wasm.did index 6754b7c7..9a0d08c3 100644 --- a/packages/nns/candid/sns_wasm.did +++ b/packages/nns/candid/sns_wasm.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid type AddWasmRequest = record { hash : blob; wasm : opt SnsWasm; diff --git a/packages/sns/candid/sns_governance.did b/packages/sns/candid/sns_governance.did index f1ce6b68..49d8f49d 100644 --- a/packages/sns/candid/sns_governance.did +++ b/packages/sns/candid/sns_governance.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/sns/governance/canister/governance.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/sns/governance/canister/governance.did' by import-candid type Account = record { owner : opt principal; subaccount : opt Subaccount; diff --git a/packages/sns/candid/sns_governance_test.did b/packages/sns/candid/sns_governance_test.did index a471dfa9..46066af2 100644 --- a/packages/sns/candid/sns_governance_test.did +++ b/packages/sns/candid/sns_governance_test.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/sns/governance/canister/governance_test.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/sns/governance/canister/governance_test.did' by import-candid type Account = record { owner : opt principal; subaccount : opt Subaccount; diff --git a/packages/sns/candid/sns_root.did b/packages/sns/candid/sns_root.did index f3de2839..694d7256 100644 --- a/packages/sns/candid/sns_root.did +++ b/packages/sns/candid/sns_root.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/sns/root/canister/root.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/sns/root/canister/root.did' by import-candid type CanisterCallError = record { code : opt int32; description : text; diff --git a/packages/sns/candid/sns_swap.did b/packages/sns/candid/sns_swap.did index 74ac0577..8b49e6ac 100644 --- a/packages/sns/candid/sns_swap.did +++ b/packages/sns/candid/sns_swap.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 0441f40 (2024-09-18 tags: release-2024-09-19_01-31-base) 'rs/sns/swap/canister/swap.did' by import-candid +// Generated from IC repo commit c43a488 (2024-09-27 tags: release-2024-09-26_01-31-no-canister-snapshots) 'rs/sns/swap/canister/swap.did' by import-candid type BuyerState = record { icp : opt TransferableAmount; has_created_neuron_recipes : opt bool;