PocketIC Version 6.0.0: Following the Roadmap

Pocket IC

We have released PocketIC server 6.0.0 and its Rust library 5.0.0. This release contains several new features from the roadmap shared in the past PocketIC release forum post.

Changelog

Here’s an overview of the new features included in the latest PocketIC release and their use cases:

  • tSchnorr in the management canister: use Schnorr keys with names dfx_test_key1 , test_key_1 , and key_1 (all keys can be used with both algorithms BIP340 and Ed25519) which are available for testing canisters directly integrating with BTC/SOL if the PocketIC instance is created with the II or fiduciary subnet;
  • query statistics in the management canister: profiling query call performance;
  • multiple (diverging) responses for canister HTTP outcalls: test how your canister making a canister http outcall handles errors when receiving diverging responses from the remote server.

For a complete list of changes, see the server changelog and the library changelog.

For more details including sketches of canister test code for some of the new features, see HowTo.

Roadmap

The following features are on the roadmap to make PocketIC the ultimate solution for canister testing in DFX:

  • native bitcoin integration for testing canisters using the Bitcoin management canister API on the IC;

To enable testing reentrancy (bugs) in your canisters, we also plan to make it possible to control message execution order in PocketIC.

Conclusion

Your feedback helps us improve PocketIC, so please let us know your thoughts and questions in this thread.

Thank you for providing feature requests and feedback on your PocketIC user experience!

7 Likes