refactor: rename Foo to DeployFoo

This commit is contained in:
Paul Razvan Berg 2023-02-05 13:09:47 +02:00
parent a3a2d3d951
commit e0967de8c5
No known key found for this signature in database
GPG Key ID: BCC366159BD63828
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ $ forge coverage
Deploy to Anvil:
```sh
$ forge script script/Foo.s.sol --broadcast --fork-url http://localhost:8545
$ forge script script/DeployFoo.s.sol --broadcast --fork-url http://localhost:8545
```
For instructions on how to deploy to a testnet or mainnet, check out the

View File

@ -5,7 +5,7 @@ import { Script } from "forge-std/Script.sol";
import { Foo } from "../src/Foo.sol";
/// @dev See the Solidity Scripting tutorial: https://book.getfoundry.sh/tutorials/solidity-scripting
contract FooScript is Script {
contract DeployFoo is Script {
Foo internal foo;
function run() public {