Skip to content

chore: remove stale TODO about charging cycles to caller#88

Merged
lpahlavi merged 1 commit into
mainfrom
remove-stale-cycles-todo
Mar 31, 2026
Merged

chore: remove stale TODO about charging cycles to caller#88
lpahlavi merged 1 commit into
mainfrom
remove-stale-cycles-todo

Conversation

@lpahlavi
Copy link
Copy Markdown
Contributor

Summary

  • Remove outdated TODO DEFI-2643 comment in try_get_transaction — cycles are already charged to the caller in update_balance via check_caller_available_cycles and charge_caller_cycles.

🤖 Generated with Claude Code

The cycles are already charged in `update_balance` via
`check_caller_available_cycles` and `charge_caller_cycles`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lpahlavi lpahlavi requested a review from a team as a code owner March 30, 2026 12:21
Copilot AI review requested due to automatic review settings March 30, 2026 12:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes an outdated TODO comment in the transaction fetching path now that cycle charging behavior is already implemented elsewhere (per PR description).

Changes:

  • Deleted stale TODO DEFI-2643 comment in try_get_transaction.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lpahlavi lpahlavi merged commit 0b67559 into main Mar 31, 2026
14 checks passed
@lpahlavi lpahlavi deleted the remove-stale-cycles-todo branch March 31, 2026 06:00
gregorydemay added a commit that referenced this pull request May 22, 2026
## Summary

Replace the bespoke `taiki-e/install-action` step (for `cargo-sort`) and
the `cargo install canbench` step with a single `jdx/mise-action` step
driven by a new `mise.toml` pinning Rust 1.93.0, cargo-sort 2.0.1, and
canbench 0.4.1. Local development uses the same versions via `mise
install`, so contributors and CI no longer diverge.

Follows the pattern used in
[`dfinity/internet-intelligence`](https://github.com/dfinity/internet-intelligence)
and matches the migration already applied to `dfinity/crosschain-wallet`
(#88) and `dfinity/evm-rpc-canister` (#589). Addresses
[DEFI-2821](https://dfinity.atlassian.net/browse/DEFI-2821).

[DEFI-2821]:
https://dfinity.atlassian.net/browse/DEFI-2821?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

3 participants