Skip to content

Commit

Permalink
fix: fix typos (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
vuittont60 authored Oct 19, 2023
1 parent 2c930b2 commit feb8a6c
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl<const B: bool, H: HistoryMode> PrecompilesProcessor for PrecompilesProcesso
) -> Option<(Vec<MemoryQuery>, Vec<MemoryQuery>, PrecompileCyclesWitness)> {
// In the next line we same `query.timestamp` as both
// an operation in the history of precompiles processor and
// the time when this operation occured.
// the time when this operation occurred.
// While slightly weird, it is done for consistency with other oracles
// where operations and timestamp have different types.
self.timestamp_history
Expand Down
2 changes: 1 addition & 1 deletion core/lib/multivm/src/versions/vm_1_3_2/tests/bootloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@
// };

// if test_info.should_rollback() {
// // Some error has occured, we should reject the transaction
// // Some error has occurred, we should reject the transaction
// vm.rollback_to_latest_snapshot();

// // vm_state_before_tx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl<const B: bool, H: HistoryMode> PrecompilesProcessor for PrecompilesProcesso
) -> Option<(Vec<MemoryQuery>, Vec<MemoryQuery>, PrecompileCyclesWitness)> {
// In the next line we same `query.timestamp` as both
// an operation in the history of precompiles processor and
// the time when this operation occured.
// the time when this operation occurred.
// While slightly weird, it is done for consistency with other oracles
// where operations and timestamp have different types.
self.timestamp_history
Expand Down
2 changes: 1 addition & 1 deletion core/lib/multivm/src/versions/vm_m5/oracles/precompile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl<const B: bool> PrecompilesProcessor for PrecompilesProcessorWithHistory<B>
) -> Option<(Vec<MemoryQuery>, Vec<MemoryQuery>, PrecompileCyclesWitness)> {
// In the next line we same `query.timestamp` as both
// an operation in the history of precompiles processor and
// the time when this operation occured.
// the time when this operation occurred.
// While slightly weird, it is done for consistency with other oracles
// where operations and timestamp have different types.
self.timestamp_history
Expand Down
2 changes: 1 addition & 1 deletion core/lib/multivm/src/versions/vm_m5/tests/bootloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@
// };

// if test_info.should_rollback() {
// // Some error has occured, we should reject the transaction
// // Some error has occurred, we should reject the transaction
// vm.rollback_to_latest_snapshot();

// // vm_state_before_tx.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/multivm/src/versions/vm_m6/oracles/precompile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl<const B: bool, H: HistoryMode> PrecompilesProcessor for PrecompilesProcesso
) -> Option<(Vec<MemoryQuery>, Vec<MemoryQuery>, PrecompileCyclesWitness)> {
// In the next line we same `query.timestamp` as both
// an operation in the history of precompiles processor and
// the time when this operation occured.
// the time when this operation occurred.
// While slightly weird, it is done for consistency with other oracles
// where operations and timestamp have different types.
self.timestamp_history
Expand Down
2 changes: 1 addition & 1 deletion core/lib/multivm/src/versions/vm_m6/tests/bootloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@
// };

// if test_info.should_rollback() {
// // Some error has occured, we should reject the transaction
// // Some error has occurred, we should reject the transaction
// vm.rollback_to_latest_snapshot();

// // vm_state_before_tx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl<const B: bool, H: HistoryMode> PrecompilesProcessor for PrecompilesProcesso
) -> Option<(Vec<MemoryQuery>, Vec<MemoryQuery>, PrecompileCyclesWitness)> {
// In the next line we same `query.timestamp` as both
// an operation in the history of precompiles processor and
// the time when this operation occured.
// the time when this operation occurred.
// While slightly weird, it is done for consistency with other oracles
// where operations and timestamp have different types.
self.timestamp_history
Expand Down
4 changes: 2 additions & 2 deletions docs/advanced/prover.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ it can be used as 'a' or 'b' in the Select gate example above).

### CSVarLengthEncodable

Implements CircuitVarLengthEncodable - which allows encoding the struct into a vector of varaibles (think about it as
Implements CircuitVarLengthEncodable - which allows encoding the struct into a vector of variables (think about it as
serializing to Bytes).

### Summary
Expand Down Expand Up @@ -401,7 +401,7 @@ And we'll run it over all the operands:

out_of_circuit_vm
.cycle(&mut tracer)
.expect("cycle should finish succesfully");
.expect("cycle should finish successfully");
}
```

Expand Down

0 comments on commit feb8a6c

Please sign in to comment.