Skip to content

Commit 319c112

Browse files
committed
chore: address juli's comments
1 parent ef2b968 commit 319c112

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/build-and-test-rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
- name: Install risc0 toolchain
3535
run: |
3636
curl -L https://risczero.com/install | bash
37-
source /home/runner/.bashrc
38-
/home/runner/.risc0/bin/rzup install
37+
source ~/.bashrc
38+
~/.risc0/bin/rzup install
3939
4040
- name: Cache Rust dependencies
4141
uses: actions/cache@v3
@@ -99,8 +99,8 @@ jobs:
9999
- name: Install risc0 toolchain
100100
run: |
101101
curl -L https://risczero.com/install | bash
102-
source /home/runner/.bashrc
103-
/home/runner/.risc0/bin/rzup install
102+
source ~/.bashrc
103+
~/.risc0/bin/rzup install
104104
105105
- name: Cache Rust dependencies
106106
uses: actions/cache@v3

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ build_aligned_contracts:
713713

714714
show_aligned_error_codes:
715715
@echo "\nAlignedLayerServiceManager errors:"
716-
@cd contracts && forge inspect src/core/IAligedLayerServiceManager.sol:IAlignedLayerServiceManager errors
716+
@cd contracts && forge inspect src/core/IAlignedLayerServiceManager.sol:IAlignedLayerServiceManager errors
717717
@echo "\nBatcherPaymentService errors:"
718718
@cd contracts && forge inspect src/core/BatcherPaymentService.sol:BatcherPaymentService errors
719719

aggregation_mode/aggregation_programs/risc0/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn combine_hashes(hash_a: &[u8; 32], hash_b: &[u8; 32]) -> [u8; 32] {
1616
hash
1717
}
1818

19-
/// Computes the merkle root for the given proofs using the vk
19+
/// Computes the merkle root for the given proofs
2020
fn compute_merkle_root(proofs: &[Risc0ImageIdAndPubInputs]) -> [u8; 32] {
2121
let mut leaves: Vec<[u8; 32]> = proofs
2222
.chunks(2)

aggregation_mode/src/aggregators/risc0_aggregator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use sha3::{Digest, Keccak256};
55

66
use super::lib::{AggregatedProof, ProgramOutput, ProofAggregationError};
77

8+
/// Byte representation of the aggregator image_id, converted from `[u32; 8]` to `[u8; 32]`.
89
const RISC0_AGGREGATOR_PROGRAM_ID_BYTES: [u8; 32] = {
910
let mut res = [0u8; 32];
1011
let mut i = 0;

0 commit comments

Comments
 (0)