Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(claimer): find claim submission event in chunks #617

Closed

Conversation

mpolitzer
Copy link

  • chunkedFindClaimSubmissionEvent retrives claim submission events from the
    blockchain via the eth_getLogs calls down the stack. However depending on
    the provider, there may be limitations on the block range, number of events,
    payload size... etc returned and a single query may be "too heavy" and fail.
    To circumvent this issue, we'll progressively split the query into multiple
    queries instead in case a larger query fails.

  • Convert FindClaimSubmissionEventAndSucc loop to pull mode.

@mpolitzer mpolitzer added the #feat:claimer Feature: claimer label Jan 24, 2025
@mpolitzer mpolitzer self-assigned this Jan 24, 2025
@mpolitzer mpolitzer force-pushed the feature/chunked-claim-find-submission branch 2 times, most recently from 2182a53 to 5208bd7 Compare January 24, 2025 16:44
@vfusco vfusco force-pushed the feature/new-build branch 4 times, most recently from 84df057 to c0720af Compare January 27, 2025 01:16
@mpolitzer mpolitzer force-pushed the feature/chunked-claim-find-submission branch 2 times, most recently from 1306442 to 18ffa88 Compare January 27, 2025 13:30
@mpolitzer mpolitzer marked this pull request as ready for review January 27, 2025 14:05
@mpolitzer mpolitzer force-pushed the feature/chunked-claim-find-submission branch from 18ffa88 to af30ad0 Compare January 27, 2025 14:07
@vfusco vfusco force-pushed the feature/new-build branch 3 times, most recently from e8e76fb to 628fea4 Compare February 4, 2025 17:05
@vfusco vfusco force-pushed the feature/new-build branch 2 times, most recently from 31150b3 to bb2ae66 Compare February 5, 2025 22:42
@mpolitzer mpolitzer force-pushed the feature/chunked-claim-find-submission branch 2 times, most recently from 5fe4798 to a41d359 Compare February 6, 2025 20:13
vfusco and others added 2 commits February 13, 2025 17:14
Add an option to run the unit-tests with no setup require. Below are the
two [1], [2] options, one with :devel docker tags and one with
customizable tags.

[1]
```
docker compose -f compose.yaml run unit-test
```

[2]
```
export REPOSITORY=ghcr.io/
export TAG=pr-001
docker compose -f compose.yaml -f compose.override-tags.yaml run unit-test
```

feat(CI): update workflows
@mpolitzer mpolitzer force-pushed the feature/chunked-claim-find-submission branch from a41d359 to 3fec48a Compare February 18, 2025 13:39
@vfusco vfusco force-pushed the feature/new-build branch 3 times, most recently from 8f91138 to 917191c Compare February 24, 2025 22:02
@mpolitzer
Copy link
Author

migrated to: #623

@mpolitzer mpolitzer closed this Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#feat:claimer Feature: claimer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants