Skip to content

Commit ea063c9

Browse files
committed
refactor DeployCheckBalance script to instantiate HelperConfig directly and remove unused CheckBalance variable
1 parent c732617 commit ea063c9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

script/DeployCheckBalance.s.sol

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import {HelperConfig} from "./HelperConfig.s.sol";
66
import {CheckBalance} from "../src/CheckBalance.sol";
77

88
contract DeployCheckBalance is Script {
9-
HelperConfig public helperConfig;
10-
CheckBalance public checkBalance;
11-
129
function run() public {
10+
HelperConfig helperConfig = new HelperConfig();
11+
CheckBalance checkBalance;
1312
(
1413
string memory chainBaseUrl,
1514
address tokenAddress,

0 commit comments

Comments
 (0)