Skip to content

Commit 529b59e

Browse files
authored
Merge branch 'master' into roinput_serde
2 parents d52ff49 + 81acca3 commit 529b59e

File tree

13 files changed

+18
-14
lines changed

13 files changed

+18
-14
lines changed

.github/actions/toolchain-shared/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ runs:
2121
- shell: bash
2222
run: |
2323
# overwriting default rust-toolchain
24-
echo ${{ inputs.rust_toolchain_version }} > rust-toolchain
24+
cat > rust-toolchain.toml << EOF
25+
[toolchain]
26+
channel = "${{ inputs.rust_toolchain_version }}"
27+
EOF
2528
- uses: dtolnay/rust-toolchain@master
2629
id: toolchain
2730
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
133133
- name: Check that up-to-date specification is checked in
134134
run: |
135-
git diff --exit-code ":(exclude)rust-toolchain"
135+
git diff --exit-code ":(exclude)rust-toolchain.toml"
136136
137137
- name: Doc tests
138138
run: |

arrabbiata/src/interpreter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ pub fn run_ivc<E: InterpreterEnv>(env: &mut E, instr: Instruction) {
906906
} else {
907907
env.read_position(scalar_col)
908908
};
909-
// FIXME: we do add the blinder. We must substract it at the end.
909+
// FIXME: we do add the blinder. We must subtract it at the end.
910910
// Perform the following algorithm (double-and-add):
911911
// res = O <-- blinder
912912
// tmp = P
@@ -1206,7 +1206,7 @@ pub fn fetch_next_instruction(current_instruction: Instruction) -> Instruction {
12061206
Instruction::PoseidonFullRound(0)
12071207
}
12081208
Instruction::EllipticCurveScaling(i_comm, bit) => {
1209-
// TODO: we still need to substract (or not?) the blinder.
1209+
// TODO: we still need to subtract (or not?) the blinder.
12101210
// Maybe we can avoid this by aggregating them.
12111211
// TODO: we also need to aggregate the cross-terms.
12121212
// Therefore i_comm must also take into the account the number

arrabbiata/src/witness.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ where
698698
}
699699
// As it is the first iteration, we must use the point at infinity.
700700
// However, to avoid handling the case equal to zero, we will
701-
// use a blinder, that we will substract at the end.
701+
// use a blinder, that we will subtract at the end.
702702
// As we suppose the probability to get a folding combiner
703703
// equals to zero is negligible, we know we have a negligible
704704
// probability to request to compute `0 * P`.
@@ -724,7 +724,7 @@ where
724724
}
725725
// As it is the first iteration, we must use the point at infinity.
726726
// However, to avoid handling the case equal to zero, we will
727-
// use a blinder, that we will substract at the end.
727+
// use a blinder, that we will subtract at the end.
728728
// As we suppose the probability to get a folding combiner
729729
// equals to zero is negligible, we know we have a negligible
730730
// probability to request to compute `0 * P`.

folding/src/instance_witness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ impl<G: CommitmentCurve, W: Witness<G>> RelaxedWitness<G, W> {
374374
// Computing E1 + c^3 E2
375375
let mut res = Self::combine(a, b, challenge);
376376

377-
// Now substracting the cross terms
377+
// Now subtracting the cross terms
378378
let [e0, e1] = cross_terms;
379379

380380
for (res, (e0, e1)) in res

msm/src/serialization/interpreter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ pub fn deserialize_field_element<
218218
+ shl_88_var.clone() * shl_88_var.clone() * limb2_vars[0].clone()
219219
};
220220

221-
// Substracting 15 bits values
221+
// Subtracting 15 bits values
222222
let (constraint, _) = (0..=11).fold(
223223
(constraint, Env::constant(F::one())),
224224
|(acc, shl_var), i| {

o1vm/src/interpreters/mips/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ fn test_regression_selectors_for_instructions() {
339339
let mips_con_env = constraints::Env::<Fp>::default();
340340
let constraints = mips_con_env.get_selector_constraints();
341341
assert_eq!(
342-
// We substract 1 as we have one boolean check per sel
342+
// We subtract 1 as we have one boolean check per sel
343343
// and 1 constraint to check that one and only one
344344
// sel is activated
345345
constraints.len() - 1,

o1vm/src/interpreters/mips/witness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use std::{
3737
};
3838

3939
// TODO: do we want to be more restrictive and refer to the number of accesses
40-
// to the SAME register/memory addrss?
40+
// to the SAME register/memory address?
4141

4242
/// Maximum number of register accesses per instruction (based on demo)
4343
pub const MAX_NB_REG_ACC: u64 = 7;

o1vm/src/interpreters/riscv32im/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn test_regression_selectors_for_instructions() {
2020
let mips_con_env = constraints::Env::<Fp>::default();
2121
let constraints = mips_con_env.get_selector_constraints();
2222
assert_eq!(
23-
// We substract 1 as we have one boolean check per sel
23+
// We subtract 1 as we have one boolean check per sel
2424
// and 1 constraint to check that one and only one
2525
// sel is activated
2626
constraints.len() - 1,

o1vm/src/interpreters/riscv32im/witness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// TODO: do we want to be more restrictive and refer to the number of accesses
2-
// to the SAME register/memory addrss?
2+
// to the SAME register/memory address?
33
use super::{
44
column::Column,
55
interpreter::{

0 commit comments

Comments
 (0)