- Optional certificate verification
- Introduced BLS12-381 certificate verification using the official
blstPython binding. - New parameter
verify_certificateinAgent.update_raw. - When
verify_certificate=True, update calls are verified against the IC’s certified responses. - Includes full unit test coverage for verification scenarios.
- Introduced BLS12-381 certificate verification using the official
-
Endpoint upgrade
- Migrated
update_rawcalls from legacy/api/v2/.../callendpoint to new BN v3 call endpoint (/api/v3/canister/.../call). - Implemented response adaptation and improved retry logic for more stable request handling.
- Enhanced the
pollandpoll_and_waitmethods for correctness and resilience.
- Migrated
-
Timeouts & error classification
- Added configurable timeout handling in client calls.
- Improved error classification for common canister rejection codes, with more structured runtime exceptions.
- Addresses longstanding gaps in certificate validation:
update_rawandpollnow support certificate verification when enabled.- Protects against unverified responses from boundary nodes.