-
Couldn't load subscription status.
- Fork 2.2k
Closed
Labels
Description
Component
Anvil
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge 0.2.0 (8905af3 2024-10-07T03:18:50.978938000Z)
What command(s) is the bug in?
No response
Operating System
macOS (Apple Silicon)
Describe the bug
Steps to reproduce the bug:
anvil -f https://eth.llamarpc.com --chain-id 31337 --state anvil-statewhereanvil-stateis an empty directory.cast send 0x9276449EaC5b4f7Bc17cFC6700f7BeeB86F9bCd0 --value "1 ether" --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --rpc-url http://127.0.0.1:8545cast balance 0x9276449EaC5b4f7Bc17cFC6700f7BeeB86F9bCd0 --rpc-url http://127.0.0.1:8545shows corect balance
Now restart anvil with the same command.
cast balance 0x9276449EaC5b4f7Bc17cFC6700f7BeeB86F9bCd0 --rpc-url http://127.0.0.1:8545shows 0 balance. This should show the same balance as before since it loads the dumped state.cast send 0x9276449EaC5b4f7Bc17cFC6700f7BeeB86F9bCd0 --value "1 ether" --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --rpc-url http://127.0.0.1:8545says:
server returned an error response: error code -32003: nonce too low
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Completed