alloy-rs / alloy-rs/alloy

[Feature] Support server-side timeout on eth_SendRawTransactionSync

未关闭
#4,041 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Rust
星标
1.3k
派生
668
平均合并
2 天 2 小时
30 天内合并 PR
29

描述

### Component

provider, pubsub

### Describe the feature you would like

[EIP-7966](https://eips.ethereum.org/EIPS/eip-7966#example-response-timeout---error-code-4) indicates an optional 'timeout' field for server-side timeouts. The alloy implementation currently hardcodes the non-timeout variant; I suggest alloy should implement `send_raw_transaction_sync_with_timeout` on the provider trait or something similar.

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。