-
export PRIVATE_KEY_SETUP=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
export PRIVATE_KEY_PLAYER=59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d If forge script is run with
In the script file: address setupAddress = vm.addr(uint256(vm.envBytes32("PRIVATE_KEY_SETUP")));
address playerAddress = vm.addr(uint256(vm.envBytes32("PRIVATE_KEY_PLAYER")));
vm.startBroadcast(setupAddress);
// snip
vm.stopBroadcast();
vm.startBroadcast(playerAddress);
// snip
vm.stopBroadcast(); Am I specifying the foundry/cli/tests/it/script.rs Line 305 in da1f9f4 |
Beta Was this translation helpful? Give feedback.
Answered by
joshieDo
Aug 16, 2022
Replies: 1 comment 2 replies
-
should be called with |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
minaminao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should be called with
--private-keys A --private-keys B