book icon indicating copy to clipboard operation
book copied to clipboard

Update solidity-scripting.md

Open duelinggalois opened this issue 3 years ago • 1 comments
trafficstars

Instructions imply that the startBroadcast function takes a uint256 rather than an address

    // Has all subsequent calls (at this call depth only) create transactions that can later be signed and sent onchain
    function startBroadcast(address) external;

duelinggalois avatar Oct 07 '22 21:10 duelinggalois

hmm, there are functions for both:

https://github.com/foundry-rs/forge-std/blob/master/src/Vm.sol#L113-L116

but should probably be mentioned here

Looks like my version is out of date so I don't have that function signature.

   add41d3..2a2ce36  master                -> origin/master

duelinggalois avatar Oct 07 '22 21:10 duelinggalois