All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for PocketIC server version 7.0.0
- Load a state directory for any subnet kind with
SubnetConfig.add_subnet_with_state
- Verified Application subnet type
with_nns_state
. UseSubnetConfig.add_subnet_with_state
insteadPocketIC.topology
. UsePocketIC.topology()
instead
- Added support for PocketIC server version 3.0.0
- Added
with_nns_state
to create an instance from existing NNS state
- Fixed a bug in
create_and_install_canister_with_candid()
on application subnets by adding 2T cycles to the canister before installing a Wasm
- Support for PocketIC server version 2.0.1
- When the PocketIC binary is not found, the error now points to the PocketIC repo instead of the download link
- Support for multiple subnets
- Support for cross-subnet canister calls
- Ability to mute the server's stdout/stderr streams by setting the
POCKET_IC_MUTE_SERVER
environment variable __del__
method for PocketIC such that it gets collected automatically- New
.topology
field returning a map of subnet IDs to subnet configurations - New
get_subnet()
method to get the subnet of a canister - new
update_call_with_effective_principal()
method to call a canister with an effective principal - New class
SubnetConfig
- New class
SubnetKind
to specify different kinds ob subnets
create_canister()
takes optional parameters to specify a subnet ID or a desired canister ID- constructor
PocketIC(subnet_config)
with a new optionalSubnetConfig
to create a PocketIC instance with a specified subnet topology - new implementation for
get_root_key()
delete()
method, superseded by__del__
- Fixed broken links on PyPi
- Blocking REST-API: Encode IC-call in endpoint, not in body
- Initial PocketIC Python release