Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Unable to make function calls by block hash instead of block number on a fork #4180

Closed
kolyasapphire opened this issue Jan 23, 2023 · 1 comment

Comments

@kolyasapphire
Copy link

Our app fetches the latest block and makes subsequent requests on that block's block hash.

On Ganache Mainnet fork it fails to start receiving:
Error: header not found

If block hash in blockTag is changed to block number, everything works as expected.

PoC CodeSandbox

@kolyasapphire
Copy link
Author

Seems to be a duplicate of #973

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant