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
When doing a multi chain local deployment, with the script pointing to localhost instances of Anvil (6 running at the same time, each forking different mainnet RPCs using quick nodes as a provider), the forge script always gives the following error:
EOA nonce changed unexpectedly while sending transactions. Expected 3421 got 3370 from provider.), Err( EOA nonce changed unexpectedly while sending transactions. Expected 289 got 238 from provider.)]
The nonces with errors are always different. It seems to be the issue with two of the providers, but I'm not sure how to find which one as the logs don't say.
I'm experiencing the same bug. Also on mac (AppleSilicon), also during multi chain local deployment. I don't always get this error, it happens intermittently.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (93016e6 2023-04-06T00:04:49.011111000Z)
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
When doing a multi chain local deployment, with the script pointing to localhost instances of Anvil (6 running at the same time, each forking different mainnet RPCs using quick nodes as a provider), the forge script always gives the following error:
EOA nonce changed unexpectedly while sending transactions. Expected 3421 got 3370 from provider.), Err( EOA nonce changed unexpectedly while sending transactions. Expected 289 got 238 from provider.)]
The nonces with errors are always different. It seems to be the issue with two of the providers, but I'm not sure how to find which one as the logs don't say.
The script is ran with
and is automatically detected as multi chain deployment.
The text was updated successfully, but these errors were encountered: