alloy-rs / alloy-rs/alloy

[Feature] Support server-side timeout on eth_SendRawTransactionSync

Abierto
#4,041 1 comentario 1 reacción 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Rust
Estrellas
1.3k
Forks
668
Merge medio
2 d 1 h
PR fusionados (30 d)
29

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
api, blockchain
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
58/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.