refactor: rename Foo to DeployFoo
This commit is contained in:
parent
a3a2d3d951
commit
e0967de8c5
|
@ -139,7 +139,7 @@ $ forge coverage
|
||||||
Deploy to Anvil:
|
Deploy to Anvil:
|
||||||
|
|
||||||
```sh
|
```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
|
For instructions on how to deploy to a testnet or mainnet, check out the
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Script } from "forge-std/Script.sol";
|
||||||
import { Foo } from "../src/Foo.sol";
|
import { Foo } from "../src/Foo.sol";
|
||||||
|
|
||||||
/// @dev See the Solidity Scripting tutorial: https://book.getfoundry.sh/tutorials/solidity-scripting
|
/// @dev See the Solidity Scripting tutorial: https://book.getfoundry.sh/tutorials/solidity-scripting
|
||||||
contract FooScript is Script {
|
contract DeployFoo is Script {
|
||||||
Foo internal foo;
|
Foo internal foo;
|
||||||
|
|
||||||
function run() public {
|
function run() public {
|
Loading…
Reference in New Issue