Skip to content

Commit

Permalink
fix(docs): add missing flag to example (#918)
Browse files Browse the repository at this point in the history
Since foundry-rs/foundry#4874 the `--from` flag only works in combination with the `--unlocked` flag. 
This commit adds the missing `--unlocked` flag to an example that is using `--from`.
  • Loading branch information
agostbiro authored Jun 12, 2023
1 parent bc823c3 commit 8ebd5b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tutorials/forking-mainnet-with-cast-anvil.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Let's transfer some tokens from the lucky user to Alice using [`cast send`][cast
# This calls Anvil and lets us impersonate our lucky user
$ cast rpc anvil_impersonateAccount $LUCKY_USER
$ cast send $DAI \
--unlocked \
--from $LUCKY_USER \
"transfer(address,uint256)(bool)" \
$ALICE \
Expand Down

0 comments on commit 8ebd5b1

Please sign in to comment.