alloy-rs / alloy-rs/alloy

[Feature] Support server-side timeout on eth_SendRawTransactionSync

Đang mở
#4,041 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Rust
Star
1.3k
Fork
668
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
29

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by locating the provider and pubsub implementation of eth_SendRawTransactionSync and the existing non-timeout method. Compare its behavior with the EIP-7966 timeout example; done means the provider trait exposes a corresponding timeout-capable operation and the request uses the optional timeout field.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
api, blockchain
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
58/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.