Skip to content

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Retry processing backlog using configured block_delays

Description

This PR updates the process_backlog function in keeper/block.rs to retry processing the backlog using the configured block_delays for the chain, similar to how it's done in the process_new_blocks function.

Changes

  • Added a new parameter block_delays: Vec<u64> to the process_backlog function
  • Implemented a for loop over delays in process_backlog to process the backlog with each configured delay
  • Updated the call site in keeper.rs to pass the block_delays parameter

Testing

The changes have been verified with pre-commit hooks, ensuring that the code compiles and passes all linting checks.

Link to Devin run: https://app.devin.ai/sessions/5c3c26f35a1b4313a52379b434a26239

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link

vercel bot commented Feb 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2025 3:05pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2025 3:05pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2025 3:05pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Feb 28, 2025 3:05pm
entropy-debugger ⬜️ Ignored (Inspect) Visit Preview Feb 28, 2025 3:05pm
insights ⬜️ Ignored (Inspect) Visit Preview Feb 28, 2025 3:05pm

@jayantk jayantk merged commit c70c7f8 into main Feb 28, 2025
3 checks passed
@jayantk jayantk deleted the devin/1740754623-retry-backlog branch February 28, 2025 17:02
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