alloy-rs / alloy-rs/alloy

[Feature] Support server-side timeout on eth_SendRawTransactionSync

Ouverte
#4,041 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Rust
Étoiles
1.3k
Forks
668
Merge moyen
2 j 1 h
PR mergées (30 j)
29

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust
Domaine
api, blockchain
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
58/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.