You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However as our system requires the correct chainId to function on each chain, it is not a good solution for our testing purposes. Right now we had to resort to using Hardhat to fork the chain for tests.
The text was updated successfully, but these errors were encountered:
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (293fad7 2024-01-14T00:19:14.283768427Z)
What command(s) is the bug in?
anvil --chain-id 42161 --fork-url
Operating System
Linux
Describe the bug
As we want to test our project with real blockchain data, we try to fork Arbitrum One by running
it starts up seemingly ok
But when I try to get the balance of the prefunded address, it shows 0
This bug can be somewhat remediated by setting the chainId of the forked network to any number other than 42161, for example to 42162
Then the getBalance call will return the correct result
However as our system requires the correct chainId to function on each chain, it is not a good solution for our testing purposes. Right now we had to resort to using Hardhat to fork the chain for tests.
The text was updated successfully, but these errors were encountered: