Open krishhh16 opened 1 month ago
Hi @krishhh16, would you mind running foundryup
and re-running your example?
Hi @krishhh16, would you mind running
foundryup
and re-running your example?
Pretty sure I did that. But still no luck, I've been on the latest version the entire time
Component
Cast
Have you ensured that all of these are up to date?
- [x] Foundry
- [x] Foundryup
What version of Foundry are you on?
0.2.0
What command(s) is the bug in?
cast send
Operating System
Linux
Describe the bug
I was testing a smart contract in forgery, I tried running this command as cast send $PRIVATE_KEY "sendNumber(uint256)" 1
And I'm continuously getting this error
You get this error when your command is wrong
if this is your full cast command then thats the problem
cast send $PRIVATE_KEY "sendNumber(uint256)" 1
you need to pass the contract
address and the --rpc-url
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
0.2.0
What command(s) is the bug in?
cast send
Operating System
Linux
Describe the bug
I was testing a smart contract in forgery, I tried running this command as cast send $PRIVATE_KEY "sendNumber(uint256)" 1
And I'm continuously getting this error