Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: canisterStatus throws if root key is not fetched #600

Merged
merged 2 commits into from Jul 26, 2022

Conversation

krpeacock
Copy link
Contributor

@krpeacock krpeacock commented Jul 26, 2022

Description

Previously the utility suppressed the error and returned a map with all fields as null. Now, if you are on the local replica or a testnet, rootkey errors will cause canisterstatus to throw

Fixes SDK-577

How Has This Been Tested?

new e2e suite for canisterstatus

Checklist:

  • My changes follow the guidelines in CONTRIBUTING.md.
  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@krpeacock krpeacock requested a review from a team as a code owner July 26, 2022 22:29
@krpeacock krpeacock changed the title bug: canisterStatus throws if root key is not fetched fix: canisterStatus throws if root key is not fetched Jul 26, 2022
@krpeacock krpeacock enabled auto-merge (squash) July 26, 2022 22:32
@krpeacock krpeacock merged commit 0458dd8 into main Jul 26, 2022
@krpeacock krpeacock deleted the SDK-577-canisterstatus-rootkey branch July 26, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants