Skip to content

Commit 0124f78

Browse files
authored
feat: v1.3 release (#14)
* feat: v1.3 release * chore: update workflow
1 parent 12d88f4 commit 0124f78

File tree

8 files changed

+2309
-5
lines changed

8 files changed

+2309
-5
lines changed

.github/workflows/consistency.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Run openvm setup
5555
run: |
5656
cd openvm/crates
57-
cargo run --bin cargo-openvm openvm setup
57+
cargo run --bin cargo-openvm openvm setup --evm
5858
5959
- name: Install Foundry
6060
uses: foundry-rs/foundry-toolchain@v1
@@ -66,4 +66,4 @@ jobs:
6666
- name: Compare compiled bytecode in repo to verifier.bytecode.json
6767
run: |
6868
forge build --force
69-
diff <(jq -r '.bytecode.object | ltrimstr("0x")' out/OpenVmHalo2Verifier.sol/OpenVmHalo2Verifier.json) <(jq -r '.bytecode | ltrimstr("0x")' ~/.openvm/halo2/src/${TRUNC_VERSION}/verifier.bytecode.json)
69+
diff <(jq -r '.bytecode.object | ltrimstr("0x")' out/${TRUNC_VERSION}/OpenVmHalo2Verifier.sol/OpenVmHalo2Verifier.json) <(jq -r '.bytecode | ltrimstr("0x")' ~/.openvm/halo2/src/${TRUNC_VERSION}/verifier.bytecode.json)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ forge install openvm-org/openvm-solidity-sdk
1717
If you are using a deployed instance of the verifier contract, then you can import the interfaces in your contract directly.
1818

1919
```solidity
20-
import { IOpenVmHalo2Verifier } from "openvm-solidity-sdk/v1.2/interfaces/IOpenVmHalo2Verifier.sol";
20+
import { IOpenVmHalo2Verifier } from "openvm-solidity-sdk/v1.3/interfaces/IOpenVmHalo2Verifier.sol";
2121
2222
contract MyContract {
2323
function myFunction() public view {
@@ -34,7 +34,7 @@ contract MyContract {
3434
If you want to deploy your own instance of the verifier contract, you can use `forge create`:
3535

3636
```bash
37-
forge create src/v1.2/OpenVmHalo2Verifier.sol:OpenVmHalo2Verifier --rpc-url $RPC --private-key $PRIVATE_KEY --broadcast
37+
forge create src/v1.3/OpenVmHalo2Verifier.sol:OpenVmHalo2Verifier --rpc-url $RPC --private-key $PRIVATE_KEY --broadcast
3838
```
3939

4040
If you want to import the verifier contract into your own repository for testing purposes, note that it is locked to Solidity version `0.8.19`. If your project uses a different version, the import may not compile. As a workaround, you can compile the contract separately and use `vm.etch()` to inject the raw bytecode into your tests.

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.2/evm.proof"}]
11+
fs_permissions = [{ access = "read", path = "./test/v1.2/evm.proof"}, { access = "read", path = "./test/v1.3/evm.proof"}]
1212

1313
[profile.default.optimizer_details]
1414
constantOptimizer = false

0 commit comments

Comments
 (0)