Changed AgentError::ReplicaError to CertifiedReject or UncertifiedReject. CertifiedRejects went through consensus, and UncertifiedRejects did not. If your code uses ReplicaError:
for queries: use UncertifiedReject in all cases (for now)
for updates: use CertifiedReject for errors raised after the message successfully reaches the canister, and UncertifiedReject otherwise
Added Agent::fetch_api_boundary_nodes for looking up API boundary nodes in the state tree.
Timestamps are now being checked in Agent::verify and Agent::verify_for_subnet. If you were using it with old certificates, increase the expiry timeout to continue to verify them.
Added node metrics, ECDSA, and Bitcoin functions to MgmtMethod. Most do not have wrappers in ManagementCanister because only canisters can call these functions.
Added FetchCanisterLogs function to MgmtMethod and a corresponding wrapper to ManagementCanister.
Updated the ring crate to 0.17.7. ring 0.16 has a bug where it requires incorrect Ed25519 PEM encoding. 0.17.7 fixes that and is backwards compatible.
Removed serde and candid serialization traits from the Status type.
Added commas and newlines to the Status fmt::Display output. It is valid JSON now (it was close before).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps ic-agent from 0.33.0 to 0.34.0.
Changelog
Sourced from ic-agent's changelog.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show