Skip to content

[Draft] PoC for block-consistent balance fetching#4535

Draft
ashleychandy wants to merge 4 commits into
cowprotocol:mainfrom
ashleychandy:balance-cache-block-pinning
Draft

[Draft] PoC for block-consistent balance fetching#4535
ashleychandy wants to merge 4 commits into
cowprotocol:mainfrom
ashleychandy:balance-cache-block-pinning

Conversation

@ashleychandy

Copy link
Copy Markdown
Contributor

Description

Opening this as a draft PR to validate an issue around balance fetching consistency when processing auction data. This implementation should be considered a proof of concept (PoC) to gather feedback on the proposed approach before refining it into smaller reviewable changes.

Changes

  • Add support for block-pinned balance fetching.
  • Make solvable order balance filtering use the auction block instead of the latest block.
  • Update balance reads and simulations to execute against a specified block.
  • Introduce request deduplication for concurrent balance fetches.
  • Refactor balance cache handling to support block-aware fetching.

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