Skip to content

Add position index for redemption logging - #763

Merged
evgeny-stakewise merged 1 commit into
v5-releasefrom
add-position-index
Jun 15, 2026
Merged

Add position index for redemption logging#763
evgeny-stakewise merged 1 commit into
v5-releasefrom
add-position-index

Conversation

@evgeny-stakewise

Copy link
Copy Markdown
Contributor

Add a zero-based index field to OsTokenPosition, determined by the position's order in the IPFS positions file. Used for logging only.

  • Set index via enumerate in fetch_positions_from_ipfs and propagate it through fetch_positions_with_processed_shares.
  • Log Processing position index=<index> at the start of the redemption loop.
  • Tests mock index as 0.

@evgeny-stakewise
evgeny-stakewise merged commit 4a4ac34 into v5-release Jun 15, 2026
7 checks passed
@evgeny-stakewise
evgeny-stakewise deleted the add-position-index branch June 15, 2026 09:12
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