Skip to content

Route read RPC methods directly to node for injected wallets #216

Route read RPC methods directly to node for injected wallets

Route read RPC methods directly to node for injected wallets #216

Triggered via pull request February 19, 2026 21:48
Status Failure
Total duration 30s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test
Process completed with exit code 1.
Unhandled error: tests/client.test.ts#L284
TypeCheckError: No overload matches this call. Overload 1 of 2, '(args { method "web3_clientVersion"; params? undefined; } | { method "web3_sha3"; params [data `0x${string}`]; } | { method "net_listening"; params? undefined; } | { method "net_peerCount"; params? undefined; } | ... 71 more ... | { ...; }, options? EIP1193RequestOptions | undefined) Promise<...>', gave the following error. Argument of type '{ method "eth_getTransactionByHash"; params [string]; }' is not assignable to parameter of type '{ method "web3_clientVersion"; params? undefined; } | { method "web3_sha3"; params [data `0x${string}`]; } | { method "net_listening"; params? undefined; } | { method "net_peerCount"; params? undefined; } | ... 71 more ... | { ...; }'. Types of property 'params' are incompatible. Type '[string]' is not assignable to type '[hash `0x${string}`]'. Type 'string' is not assignable to type '`0x${string}`'. Overload 2 of 2, '(args { method "sim_fundAccount"; params [address `0x${string}`, amount number]; } | { method "eth_getTransactionByHash"; params [hash Hash]; } | { method "eth_call"; params [requestParams any, blockNumberOrHash string]; } | { method "eth_sendRawTransaction"; params [signedTransaction ...]; } | ... 6 more ... | { ...; }) Promise<...>', gave the following error. Argument of type '{ method "eth_getTransactionByHash"; params [string]; }' is not assignable to parameter of type '{ method "sim_fundAccount"; params [address `0x${string}`, amount number]; } | { method "eth_getTransactionByHash"; params [hash Hash]; } | { method "eth_call"; params [requestParams any, blockNumberOrHash string]; } | { method "eth_sendRawTransaction"; params [signedTransaction ...]; } | ... 6 more .....'. Types of property 'params' are incompatible. Type '[string]' is not assignable to type '[hash Hash]'. Type 'string' is not assignable to type 'Hash'. Type 'string' is not assignable to type '`0x${string}`'. ❯ tests/client.test.ts:284:46