fix: bump candid-extractor 0.1.4 → 0.1.6 (ic0::cost_call support)#39
Merged
Conversation
candid-extractor 0.1.4 fails to inspect WASM files that import `ic0::cost_call`, a new IC system API used by ic-cdk ≥ 0.19. This causes the Candid extraction step to fail during `icp deploy`: Error: unknown import: `ic0::cost_call` has not been defined candid-extractor 0.1.6 supports this import. Verified locally by building both image versions and running `icp deploy` + `make test` against a canister using ic-cdk 0.19 + ic-ledger-types 0.16.
lwshang
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
candid-extractorfrom 0.1.4 to 0.1.6 in both therustandallimages.Problem
candid-extractor 0.1.4 fails to inspect WASM files that import
ic0::cost_call, a new IC system API used by ic-cdk ≥ 0.19:This causes
icp deployto fail at the Candid extraction step (step 3 of 3) for any canister compiled with ic-cdk 0.19+.Fix
candid-extractor 0.1.6 adds support for
ic0::cost_calland the other new IC system API imports introduced in recent ic-cdk versions.Verification
Tested locally by building both image versions and running
icp deploy+ fullmake testagainst a canister using ic-cdk 0.19 + ic-ledger-types 0.16:Error: unknown import: ic0::cost_call has not been definedRelease versioning
This is a patch release (
1.0.1) — pure bug fix, no icp-cli version change, no API changes.🤖 Generated with Claude Code