Skip to content

Commit 5ce2a9c

Browse files
committed
chore: update contracts for v1.1.1
1 parent d181a34 commit 5ce2a9c

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ optimizer = true
88
optimizer_runs = 100000
99
evm_version = "paris"
1010
show_progress = true
11-
fs_permissions = [{ access = "read", path = "./test/v1.0.1/evm.proof"}]
11+
fs_permissions = [{ access = "read", path = "./test/v1.1.1/evm.proof"}]
1212

1313
[profile.default.optimizer_details]
1414
constantOptimizer = false
File renamed without changes.

src/v1.0.1/OpenVmHalo2Verifier.sol renamed to src/v1.1.1/OpenVmHalo2Verifier.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ contract OpenVmHalo2Verifier is Halo2Verifier, IOpenVmHalo2Verifier {
2929
uint256 private constant FULL_PROOF_LENGTH = (12 + 2 + PUBLIC_VALUES_LENGTH + 43) * 32;
3030

3131
/// @dev The version of OpenVM that generated this verifier.
32-
string public constant OPENVM_VERSION = "1.0.1-rc.0";
32+
string public constant OPENVM_VERSION = "1.1.1";
3333

3434
/// @notice A wrapper that constructs the proof into the right format for
3535
/// use with the `snark-verifier` verification.

test/v1.0.1/OpenVmHalo2Verifer.t.sol renamed to test/v1.1.1/OpenVmHalo2Verifer.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity 0.8.19;
33

4-
import { OpenVmHalo2Verifier } from "../../src/v1.0.1/OpenVmHalo2Verifier.sol";
4+
import { OpenVmHalo2Verifier } from "../../src/v1.1.1/OpenVmHalo2Verifier.sol";
55
import { LibString } from "../helpers/LibString.sol";
66
import { Test, console2, safeconsole as console } from "forge-std/Test.sol";
77

@@ -26,7 +26,7 @@ contract OpenVmHalo2VerifierTest is Test {
2626
}
2727

2828
function test_ValidProofVerifies() public view {
29-
string memory evmProofJson = vm.readFile("test/v1.0.1/evm.proof");
29+
string memory evmProofJson = vm.readFile("test/v1.1.1/evm.proof");
3030
bytes32 _appExeCommit = vm.parseJsonBytes32(evmProofJson, ".app_exe_commit");
3131
bytes32 _appVmCommit = vm.parseJsonBytes32(evmProofJson, ".app_vm_commit");
3232
bytes memory _guestPvs = vm.parseJsonBytes(evmProofJson, ".user_public_values");
File renamed without changes.

0 commit comments

Comments
 (0)