citizen: add deployment script
This commit is contained in:
parent
c100edd44c
commit
d6ef20dbaa
21
script/DeployVerifierTest.s.sol
Normal file
21
script/DeployVerifierTest.s.sol
Normal file
@ -0,0 +1,21 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
import "forge-std/Script.sol";
|
||||
import "../test/VerifierTest.sol";
|
||||
|
||||
/// @title Deploy VerifierTest
|
||||
/// @notice Deployment script for VerifierTest
|
||||
contract DeployVerifierTest is Script {
|
||||
function run() public {
|
||||
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
|
||||
vm.startBroadcast(deployerPrivateKey);
|
||||
|
||||
VerifierTest instance = new VerifierTest("Implement: Tests the interaction between the Ver");
|
||||
|
||||
vm.stopBroadcast();
|
||||
|
||||
// Log deployed address for verification
|
||||
console.log("VerifierTest deployed at:", address(instance));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user