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: default effective canister id for PocketIC #4059

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Jan 8, 2025

This PR retrieves the default effective canister ID for PocketIC from the corresponding field in the topology instead of deriving it from the topology manually. This simplifies dfx and also fixes an issue: the manual derivation of the default effective canister id failed after creating a canister with a specified canister id and restarting dfx without --clean.

@mraszyk mraszyk marked this pull request as ready for review January 8, 2025 10:47
@mraszyk mraszyk requested a review from a team as a code owner January 8, 2025 10:47
@mraszyk mraszyk merged commit 4a6e21a into master Jan 8, 2025
298 checks passed
@mraszyk mraszyk deleted the mraszyk/pic-default-effective-canister-id branch January 8, 2025 13:30
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