Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Jan 30, 2025

Added configurable delayed block processing to Fortuna keeper with support for multiple delays.

Changes:

  • Moved block delay configuration to EthereumConfig for per-chain configuration
  • Made delays configurable as a list to support multiple processing intervals
  • Default delay set to [5] blocks
  • Added example configuration in config.yaml with [5, 10, 20] blocks
  • Bumped minor version from 7.3.0 to 7.4.0
  • Consolidated block processing into a single function that handles both immediate and delayed processing

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

@devin-ai-integration
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

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link

vercel bot commented Jan 30, 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 Jan 30, 2025 4:02pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 4:02pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 4:02pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Jan 30, 2025 4:02pm
entropy-debugger ⬜️ Ignored (Inspect) Visit Preview Jan 30, 2025 4:02pm
insights ⬜️ Ignored (Inspect) Visit Preview Jan 30, 2025 4:02pm

escalation_policy: EscalationPolicyConfig,
metrics: Arc<KeeperMetrics>,
fulfilled_requests_cache: Arc<RwLock<HashSet<u64>>>,
chain_eth_config: EthereumConfig,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please pass only the block delay parameter here (not the whole config)

for delay in &chain_eth_config.block_delays {
let adjusted_range = BlockRange {
from: block_range.from + delay,
to: block_range.to + delay,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the delay should be subtracted not added

@jayantk jayantk merged commit de934f5 into main Jan 30, 2025
8 of 9 checks passed
@jayantk jayantk deleted the devin/1738245085-delayed-block-processing branch January 30, 2025 17:14
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