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

refactor: always fetch did file from canister when making canister calls #2931

Merged
merged 28 commits into from
Jan 23, 2024

Conversation

chenyan-dfinity
Copy link
Contributor

@chenyan-dfinity chenyan-dfinity commented Jan 30, 2023

Description

This refactor enables dfx canister call to always fetch did file from the canister metadata. This is especially helpful for remote canister.

Note that dfx canister sign is still following the old logic, because sign is running in offline mode and cannot access the network.

This is also a pre-requisite of the candid assist feature.

How Has This Been Tested?

Existing tests should cover this refactor.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@chenyan-dfinity chenyan-dfinity marked this pull request as ready for review January 30, 2023 17:23
@chenyan-dfinity chenyan-dfinity requested a review from a team as a code owner January 30, 2023 17:23
CHANGELOG.md Outdated Show resolved Hide resolved
@chenyan-dfinity chenyan-dfinity enabled auto-merge (squash) January 22, 2024 23:59
auto-merge was automatically disabled January 23, 2024 02:35

Pull Request is not mergeable

@chenyan-dfinity chenyan-dfinity enabled auto-merge (squash) January 23, 2024 06:15
@chenyan-dfinity chenyan-dfinity merged commit 935ffc7 into master Jan 23, 2024
172 checks passed
@chenyan-dfinity chenyan-dfinity deleted the call-metadata branch January 23, 2024 06:27
ericswanson-dfinity added a commit that referenced this pull request Jan 31, 2024
ericswanson-dfinity added a commit that referenced this pull request Jan 31, 2024
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.

3 participants