Skip to content

UpdateCanisterSettingsOptions

Defined in: pocket-ic-types.ts:582

Options for updating the settings of a given canister.

Principal

canisterId: Principal

Defined in: pocket-ic-types.ts:587

The Principal of the canister to update the settings for.


optional computeAllocation: bigint

Defined in: pocket-ic-types.ts:374

The compute allocation of the canister.

CanisterSettings.computeAllocation


optional controllers: Principal[]

Defined in: pocket-ic-types.ts:369

The controllers of the canister. Defaults to the sender, which defaults to the anonymous principal.

CanisterSettings.controllers


optional freezingThreshold: bigint

Defined in: pocket-ic-types.ts:384

The freezing threshold of the canister.

CanisterSettings.freezingThreshold


optional memoryAllocation: bigint

Defined in: pocket-ic-types.ts:379

The memory allocation of the canister.

CanisterSettings.memoryAllocation


optional reservedCyclesLimit: bigint

Defined in: pocket-ic-types.ts:389

The reserved cycles limit of the canister.

CanisterSettings.reservedCyclesLimit


optional sender: Principal

Defined in: pocket-ic-types.ts:593

The Principal to send the request as. Defaults to the anonymous principal.