Skip to content

Commit

Permalink
feat(protocol): script of UpgradeRisc0Verifier (#17949)
Browse files Browse the repository at this point in the history
Co-authored-by: YoGhurt111 <[email protected]>
  • Loading branch information
YoGhurt111 and YoGhurt111 authored Aug 19, 2024
1 parent 7d0f37c commit fc12e04
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/protocol/script/upgrade/UpgradeRisc0Verifier.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import "forge-std/src/Script.sol";
import "forge-std/src/console2.sol";

import "./UpgradeScript.s.sol";
import { RiscZeroVerifier } from "../../contracts/verifiers/RiscZeroVerifier.sol";

contract UpgradeRisc0Verifier is UpgradeScript {
function run() external setUp {
upgrade("Risc0Verifier", address(new RiscZeroVerifier()));
}
}

0 comments on commit fc12e04

Please sign in to comment.