Skip to content

Commit

Permalink
fix: eth_getBlockTransactionCountByNumber is not supported in wss (#2650
Browse files Browse the repository at this point in the history
)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <[email protected]>
Signed-off-by: ebadiere <[email protected]>
  • Loading branch information
arianejasuwienas authored and ebadiere committed Jul 8, 2024
1 parent 8b48812 commit 0fffdd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/golang-json-rpc-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ func main() {
testGetLogs(client, contractAddress, nil)
testStorageAt(client, contractAddress, "0x0")
testGetTransactionByHash(client, signedTx.Hash().Hex())
testGetTransactionCount(client)
testGetTransactionReceipt(client, signedTx.Hash().Hex())
if *wss {
return;
}

// https only methods
testGetTransactionCount(client)
testFeeHistory(client, 5, blockNumber, []float64{10, 50, 90})
testGetAccounts(client)
testGetBlockTransactionCountByHash(client, blockHash)
Expand Down

0 comments on commit 0fffdd5

Please sign in to comment.