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

feat: withdraw cycles to cycles ledger #3506

Conversation

sesi200
Copy link
Contributor

@sesi200 sesi200 commented Jan 16, 2024

Description

When a canister gets deleted, dfx withdraws as many cycles as possible to the cycles wallet. This PR adds the capability to withdraw to the cycles ledger instead when no wallet is configured.

No changelog entry because the feature flag will be disabled before merging

Fixes SDK-1325

How Has This Been Tested?

Added e2e

Checklist:

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

@sesi200 sesi200 marked this pull request as ready for review January 16, 2024 16:15
@sesi200 sesi200 requested review from chenyan-dfinity and a team as code owners January 16, 2024 16:15
@sesi200 sesi200 merged commit cda396c into master Jan 17, 2024
172 checks passed
@sesi200 sesi200 deleted the SDK-1325-withdraw-cycles-from-deleted-canisters-to-cycles-ledger branch January 17, 2024 12:13
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