Content
@
0 reply
0 recast
2 reactions
Greg
@greg
Having issues deploying a smart contract, could use some help I'm using the default hardhat private key and running my deploy script with `--network localhost`. I have a custom nonce so I can deploy to a vanity address When I run the script, I get an error from the local node: "Nonce too high. Expected nonce to be 0 but got 36938. Note that transactions can't be queued when automining." My understanding is that I should be able to use any nonce, even if the previous ones haven't been used. The script is only sending 1 transaction, so no queueing as the error suggests. Any ideas what is happening / how to work around it?
4 replies
3 recasts
14 reactions
glitter @ ethcc
@glttr
did you try sending a tx first then the one you care about after? worth a shot but more likely a hardcoded rule in geth (which i guess hardhat uses)
0 reply
0 recast
0 reaction