Skip to content

Conversation

@maciejdfinity
Copy link
Contributor

@maciejdfinity maciejdfinity commented Oct 24, 2025

Introduce the ICRC-107 fee collector operation to the ICRC ledger blocks and implement handling of the operation in the ICRC index. Since the ledger does not produce the new blocks yet, the index handling is tested using the icrc3 test ledger. The blocks structure and handling is implemented according the the ICRC-107 standard as defined in dfinity/ICRC#117. Although the standard allows for 107 blocks to skip the tx entirely, we require the tx and the field tx.op to be present in the block.

@maciejdfinity maciejdfinity changed the title fead(ICRC-Ledger): adding fee collector blocks feat(ICRC-Ledger): adding fee collector blocks Oct 24, 2025
@github-actions github-actions bot added the feat label Oct 24, 2025
@maciejdfinity maciejdfinity changed the title feat(ICRC-Ledger): adding fee collector blocks feat(ICRC-Index): adding fee collector blocks Nov 11, 2025
Copy link
Contributor

@mbjorkqvist mbjorkqvist left a comment

Choose a reason for hiding this comment

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

Thanks @maciejdfinity! I left some initial comments, but I'll make another pass later today/early next week.

@maciejdfinity maciejdfinity requested a review from a team as a code owner November 24, 2025 09:52
@github-actions github-actions bot added the @defi label Nov 24, 2025
@maciejdfinity maciejdfinity added this pull request to the merge queue Nov 25, 2025
Merged via the queue into master with commit d66250e Nov 25, 2025
38 checks passed
@maciejdfinity maciejdfinity deleted the maciej-feecol-block branch November 25, 2025 08:06
github-merge-queue bot pushed a commit that referenced this pull request Nov 26, 2025
… block types (#7795)

The archive does not process the transactions, so the only thing needed
for it to support `107feecol` block types is to add the fee collector
block to `icrc_ledger_types::Transaction` and the `archive.did` file
(done as part of #7411) and return
`107feecol` in the list of supported block types.
mraszyk pushed a commit that referenced this pull request Dec 1, 2025
Introduce the ICRC-107 fee collector operation to the ICRC ledger blocks
and implement handling of the operation in the ICRC index. Since the
ledger does not produce the new blocks yet, the index handling is tested
using the icrc3 test ledger. The blocks structure and handling is
implemented according the the ICRC-107 standard as defined in
dfinity/ICRC#117. Although the standard allows
for 107 blocks to skip the `tx` entirely, we require the `tx` and the
field `tx.op` to be present in the block.

---------

Co-authored-by: Mathias Björkqvist <[email protected]>
mraszyk pushed a commit that referenced this pull request Dec 1, 2025
… block types (#7795)

The archive does not process the transactions, so the only thing needed
for it to support `107feecol` block types is to add the fee collector
block to `icrc_ledger_types::Transaction` and the `archive.did` file
(done as part of #7411) and return
`107feecol` in the list of supported block types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants