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

Dequeue minimum commitment logs for all upkeeps as a priority #13653

Merged
merged 27 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
808067d
Track how many logs we dequeue for each block window
ferglor Jun 21, 2024
852509d
When the minimum dequeue commitment has been met for all blocks, perf…
ferglor Jun 21, 2024
f83c7d8
WIP tests
ferglor Jun 21, 2024
912e76b
Add iteration step
ferglor Jun 21, 2024
23b6e5a
Clean up reorg blocks, lock whole enqueue process
ferglor Jun 24, 2024
9aeb99c
Add tests
ferglor Jun 25, 2024
ea00fb7
Refactor the dequeue loop into two functions
ferglor Jun 25, 2024
413e1c2
Update the log limit of arbitrum to 2, update tests
ferglor Jun 26, 2024
57da7c4
Go imports
ferglor Jun 26, 2024
96438ec
Lint
ferglor Jun 26, 2024
45e0ceb
Add changeset
ferglor Jun 26, 2024
8fd17ae
Clean up upkeep selector, drop iteration logic
ferglor Jul 1, 2024
68f9043
Clean up unused log limit low
ferglor Jul 2, 2024
37d0603
Update changeset
ferglor Jul 2, 2024
37eda34
Clean up default selector
ferglor Jul 2, 2024
0b2d824
Set lookback blocks to 128
ferglor Jul 2, 2024
f1a06e8
Add comments
ferglor Jul 2, 2024
2815d37
Update comments
ferglor Jul 2, 2024
1708ce2
Update tests
ferglor Jul 3, 2024
7b3de5c
Clean up dequeued counts
ferglor Jul 3, 2024
ca98274
Update logs
ferglor Jul 3, 2024
8e5c04c
More accurate logs
ferglor Jul 3, 2024
c735f74
Tidy up logging
ferglor Jul 3, 2024
273f4df
- Add log limit to buffer opts
ferglor Jul 4, 2024
f9a2037
Clean up based on start window
ferglor Jul 4, 2024
67648d0
Dequeue the smallest of either capacity or remaining log limit
ferglor Jul 4, 2024
29c2c78
Evict reorgd blocks outside of blockStatistics
ferglor Jul 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fluffy-ghosts-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Dequeue minimum guaranteed upkeeps as a priority #changed
Loading
Loading