-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
investigateUnder investigation and may be a bug.Under investigation and may be a bug.on-deckThis Enhancement or Bug is currently being worked on.This Enhancement or Bug is currently being worked on.v6Issues regarding v6Issues regarding v6
Description
Ethers Version
6.15.0
Search Terms
FallbackProvider, prefetched, prefetchedTransactions
Describe the Problem
When prefetching transactions with fallback provider, using const block = getBlock(blockNumber, true) resulting block does not contain prefetchedTransactions and fails with error when accessed block.prefetchedTransactions. This happens because FallbackProvider receives wrapped block from underlying providers and wraps it again
Code Snippet
https://codesandbox.io/p/devbox/jrhljg?file=%2Findex.jsContract ABI
Errors
Environment
No response
Environment (Other)
No response
Metadata
Metadata
Assignees
Labels
investigateUnder investigation and may be a bug.Under investigation and may be a bug.on-deckThis Enhancement or Bug is currently being worked on.This Enhancement or Bug is currently being worked on.v6Issues regarding v6Issues regarding v6