Skip to content

Commit

Permalink
refactor(script): add logging for LilNounsVault proxy address
Browse files Browse the repository at this point in the history
Log the proxy address after deployment for better traceability.
  • Loading branch information
nekofar committed Aug 12, 2024
1 parent 82b32df commit e6abe6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion script/LilNounsVault.s.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.26;

import { Script } from "forge-std/Script.sol";
import { Script, console } from "forge-std/Script.sol";
import { LilNounsVault } from "../src/LilNounsVault.sol";
import { Upgrades } from "@openzeppelin/foundry-upgrades/Upgrades.sol";

Expand All @@ -20,5 +20,8 @@ contract LilNounsVaultScript is Script {

// Stop the broadcast, ending the transaction
vm.stopBroadcast();

// Log the proxy address for reference
console.log("LilNounsVault Proxy deployed at:", proxy);
}
}

0 comments on commit e6abe6d

Please sign in to comment.