Skip to content

Commit da43fa3

Browse files
feat: update airbender deps to 0.2.0 (#55)
## What ❔ * update airbender deps from 0.1.0 to 0.2.0 ## Why ❔ * this uses new version of the circuits (that are faster). --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent eab1b1f commit da43fa3

File tree

9 files changed

+12
-8
lines changed

9 files changed

+12
-8
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ keywords = ["blockchain", "zksync", "zk", "risc-v"]
5858
categories = ["cryptography"]
5959

6060
[workspace.dependencies]
61-
risc_v_simulator = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.1.0"}
62-
blake2s_u32 = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.1.0"}
63-
prover_examples = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.1.0"}
64-
trace_and_split = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.1.0"}
65-
execution_utils = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.1.0"}
61+
risc_v_simulator = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.2.0"}
62+
blake2s_u32 = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.2.0"}
63+
prover_examples = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.2.0"}
64+
trace_and_split = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.2.0"}
65+
execution_utils = { git = "https://github.com/matter-labs/zksync-airbender", tag = "0.2.0"}
6666

6767
# [profile.dev]
6868
# opt-level = 0

circuit_test_program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ keywords = ["blockchain", "zksync", "zk", "risc-v"]
1010
categories = ["cryptography"]
1111

1212
[dependencies]
13-
riscv_common = {git = "https://github.com/matter-labs/zksync-airbender", tag = "0.1.0" }
13+
riscv_common = {git = "https://github.com/matter-labs/zksync-airbender", tag = "0.2.0" }
1414
crypto = { path = "../crypto", features = ["proving"]}
1515

1616
# [patch."https://github.com/matter-labs/zksync-airbender"]

crypto/src/blake2s/test_program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ keywords = ["blockchain", "zksync", "zk", "risc-v"]
1010
categories = ["cryptography"]
1111

1212
[dependencies]
13-
riscv_common = {git = "https://github.com/matter-labs/zksync-airbender", tag = "0.1.0"}
13+
riscv_common = {git = "https://github.com/matter-labs/zksync-airbender", tag = "0.2.0"}
1414
crypto = { path = "../../../", features = ["blake2s_tests"]}
1515

1616
[workspace]
-19.8 KB
Binary file not shown.
-20.3 KB
Binary file not shown.

crypto/src/blake2s/test_program/src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ unsafe extern "C" fn start_rust() -> ! {
99
main()
1010
}
1111

12+
core::arch::global_asm!(include_str!(
13+
"../../../../../zksync_os/src/asm/asm_reduced.S"
14+
));
15+
1216
unsafe fn workload() -> ! {
1317
crypto::init_lib();
1418

zksync_os/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ riscv = "0.11"
1717
heapless = { version = "*", default-features = false }
1818
proof_running_system = { path = "../proof_running_system", default-features = false}
1919
crypto = { path = "../crypto", optional = true }
20-
riscv_common = {git = "https://github.com/matter-labs/zksync-airbender.git", tag = "0.1.0", features = ["custom_panic", "custom_allocator"]}
20+
riscv_common = {git = "https://github.com/matter-labs/zksync-airbender.git", tag = "0.2.0", features = ["custom_panic", "custom_allocator"]}
2121
#riscv_common = {path = "../../zksync-airbender/riscv_common" , features = ["custom_panic", "custom_allocator"]}
2222

2323
[profile.dev]

zksync_os/app.bin

0 Bytes
Binary file not shown.
-7.57 KB
Binary file not shown.

0 commit comments

Comments
 (0)