We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.10.0
No response
const provider = new etherjs.FallBackProvider([node1, node2, node3, node4]) const jsonProvider = new etherjs.JsonRpcProvider(node1)
const latestBlockNumberFromJsonRpcProvider = await jsonProvider.getBlockNumber() console.log(latestBlockNumberFromJsonRpcProvider) // eg return 111
const latestBlockNumberFromfallBackProvider = await provider.getBlockNumber() console.log(latestBlockNumberFromfallBackProvider) // eg return 112
expected behaviour fallBackProvider should return 111 but it return 112
The text was updated successfully, but these errors were encountered:
ricmoo
No branches or pull requests
Ethers Version
6.10.0
Search Terms
No response
Describe the Problem
const provider = new etherjs.FallBackProvider([node1, node2, node3, node4])
const jsonProvider = new etherjs.JsonRpcProvider(node1)
const latestBlockNumberFromJsonRpcProvider = await jsonProvider.getBlockNumber()
console.log(latestBlockNumberFromJsonRpcProvider) // eg return 111
const latestBlockNumberFromfallBackProvider = await provider.getBlockNumber()
console.log(latestBlockNumberFromfallBackProvider) // eg return 112
expected behaviour fallBackProvider should return 111 but it return 112
Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
No response
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: