Skip to content

fix: improvements to pricing strategy#734

Merged
aloknerurkar merged 6 commits intomainfrom
rpc-fixes.2
Jul 22, 2025
Merged

fix: improvements to pricing strategy#734
aloknerurkar merged 6 commits intomainfrom
rpc-fixes.2

Conversation

@aloknerurkar
Copy link
Copy Markdown
Collaborator

@aloknerurkar aloknerurkar commented Jul 18, 2025

Describe your changes

This PR fixes some of the issues found in the initial testing of the RPC. It also improves the pricing strategy based on history.

  • Bid timeout
    It was observed that providers can simply not respond to the bid. The default timeout on the bidder node is 30s. We can reduce this but its better to control this ourselves.
  • Pricing strategy
    Previously we were always using the max confidence value of the blocknative API. Now we switch to an approach where we start with the 90% confidence and move up to 99 on the third attempt.
  • Use Block native API with API Key

Issue ticket number and link

Fixes # (issue)

Checklist before requesting a review

  • I have added tests that prove my fix is effective or that my feature works
  • I have made corresponding changes to the documentation

Comment thread tools/preconf-rpc/sender/sender.go Outdated
Comment thread tools/preconf-rpc/sender/sender.go
Comment thread tools/preconf-rpc/sender/sender.go Outdated
@aloknerurkar aloknerurkar merged commit 64bbcfe into main Jul 22, 2025
5 checks passed
@aloknerurkar aloknerurkar deleted the rpc-fixes.2 branch July 22, 2025 06:05
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.

3 participants