Skip to content

fix: bump candid-extractor 0.1.4 → 0.1.6 (ic0::cost_call support)#39

Merged
marc0olo merged 4 commits into
mainfrom
fix/bump-candid-extractor-0.1.6
Jun 17, 2026
Merged

fix: bump candid-extractor 0.1.4 → 0.1.6 (ic0::cost_call support)#39
marc0olo merged 4 commits into
mainfrom
fix/bump-candid-extractor-0.1.6

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Summary

Bumps candid-extractor from 0.1.4 to 0.1.6 in both the rust and all images.

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:

Error: unknown import: `ic0::cost_call` has not been defined

This causes icp deploy to 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_call and 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 + full make test against a canister using ic-cdk 0.19 + ic-ledger-types 0.16:

  • 0.1.4: ❌ Error: unknown import: ic0::cost_call has not been defined
  • 0.1.6: ✅ all tests pass

Release versioning

This is a patch release (1.0.1) — pure bug fix, no icp-cli version change, no API changes.

🤖 Generated with Claude Code

marc0olo added 4 commits June 17, 2026 15:41
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.
@marc0olo
marc0olo merged commit 76b1a63 into main Jun 17, 2026
5 checks passed
@marc0olo
marc0olo deleted the fix/bump-candid-extractor-0.1.6 branch June 17, 2026 13:49
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.

2 participants