Skip to content

feat: add fabricate-cycles command#2135

Merged
mergify[bot] merged 6 commits intomasterfrom
SDK-426-provide-a-command-to-top-up-canisters-locally
Apr 21, 2022
Merged

feat: add fabricate-cycles command#2135
mergify[bot] merged 6 commits intomasterfrom
SDK-426-provide-a-command-to-top-up-canisters-locally

Conversation

@viviveevee
Copy link
Contributor

@viviveevee viviveevee commented Apr 19, 2022

Description

Adds dfx ledger fabricate-cycles, which allows adding cycles to a local canister, in the absence of an actual ledger.

Fixes: SDK-426

How Has This Been Tested?

Added e2e tests that test...

  • canister id and canister name
  • --all instead of canister name
  • default amount and specific number of cycles
  • command cannot be run on real IC

Checklist:

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

Documentation updates will be made once the name for the command is definitive.

@viviveevee viviveevee requested a review from a team as a code owner April 19, 2022 11:27
@viviveevee viviveevee changed the title feat: add local-top-up command feat: add fabricate-cycles command Apr 20, 2022
@ghost ghost added the automerge-squash label Apr 21, 2022
@mergify mergify bot merged commit e041fa6 into master Apr 21, 2022
@mergify mergify bot deleted the SDK-426-provide-a-command-to-top-up-canisters-locally branch April 21, 2022 21:17
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.

1 participant