Skip to content

feat: send_raw_transaction_sync_with_timeout - #4122

Open
kirsanium wants to merge 1 commit into
alloy-rs:mainfrom
kirsanium:sync_timeout
Open

feat: send_raw_transaction_sync_with_timeout#4122
kirsanium wants to merge 1 commit into
alloy-rs:mainfrom
kirsanium:sync_timeout

Conversation

@kirsanium

@kirsanium kirsanium commented Aug 7, 2026

Copy link
Copy Markdown

Motivation

Closes #4041.
Increases conformance to EIP-7966 by introducing method send_raw_transaction_sync_with_timeout on Provider trait which allows usage of eth_sendRawTransactionSync RPC method with optional timeout parameter.

Solution

Introduces a method Provider::send_raw_transaction_sync_with_timeout. A cleaner but unfortunately breaking change would be to introduce a new parameter to Provider::send_raw_transaction_sync.

The tests are added but they work only with Anvil nightly (foundry-rs/foundry@283daba).

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@github-project-automation github-project-automation Bot moved this to Reviewed in Alloy Aug 10, 2026
@onbjerg
onbjerg enabled auto-merge (squash) August 10, 2026 09:36
@kirsanium

Copy link
Copy Markdown
Author

Test failures are preexisting and I will fix the formatting.

auto-merge was automatically disabled August 12, 2026 22:36

Head branch was pushed to by a user without write access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Reviewed

Development

Successfully merging this pull request may close these issues.

[Feature] Support server-side timeout on eth_SendRawTransactionSync

2 participants