Skip to content

Commit 8b04930

Browse files
authored
Freeze rust version (#272)
1 parent b9d2703 commit 8b04930

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ jobs:
8888
uses: actions-rs/toolchain@v1
8989
with:
9090
profile: minimal
91-
toolchain: stable
91+
# TODO: Update to stable once wasmer supports it
92+
toolchain: 1.82.0
9293
override: true
9394
- uses: Swatinem/rust-cache@v2
9495
- name: Install Dependencies

.github/workflows/nightly-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ jobs:
9494
uses: actions-rs/toolchain@v1
9595
with:
9696
profile: minimal
97-
toolchain: stable
97+
# TODO: Update to stable once wasmer supports it
98+
toolchain: 1.82.0
9899
override: true
99100
- uses: Swatinem/rust-cache@v2
100101
- name: Install dependencies

rln/src/ffi.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ impl ProcessArg for *mut RLN {
157157
}
158158
}
159159

160-
/// Buffer struct is taken from
161-
/// <https://github.com/celo-org/celo-threshold-bls-rs/blob/master/crates/threshold-bls-ffi/src/ffi.rs>
162-
///
163-
/// Also heavily inspired by <https://github.com/kilic/rln/blob/master/src/ffi.rs>
160+
///// Buffer struct is taken from
161+
///// <https://github.com/celo-org/celo-threshold-bls-rs/blob/master/crates/threshold-bls-ffi/src/ffi.rs>
162+
/////
163+
///// Also heavily inspired by <https://github.com/kilic/rln/blob/master/src/ffi.rs>
164164

165165
#[repr(C)]
166166
#[derive(Clone, Debug, PartialEq)]

utils/src/merkle_tree/full_merkle_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::{
88
};
99

1010
////////////////////////////////////////////////////////////
11-
/// Full Merkle Tree Implementation
11+
///// Full Merkle Tree Implementation
1212
////////////////////////////////////////////////////////////
1313

1414
/// Merkle tree with all leaf and intermediate hashes stored

utils/src/merkle_tree/optimal_merkle_tree.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::str::FromStr;
66
use std::{cmp::max, fmt::Debug};
77

88
////////////////////////////////////////////////////////////
9-
/// Optimal Merkle Tree Implementation
9+
///// Optimal Merkle Tree Implementation
1010
////////////////////////////////////////////////////////////
1111

1212
/// The Merkle tree structure
@@ -55,7 +55,9 @@ impl FromStr for OptimalMerkleConfig {
5555
}
5656
}
5757

58-
/// Implementations
58+
////////////////////////////////////////////////////////////
59+
///// Implementations
60+
////////////////////////////////////////////////////////////
5961

6062
impl<H: Hasher> ZerokitMerkleTree for OptimalMerkleTree<H>
6163
where

0 commit comments

Comments
 (0)