Skip to content

Commit

Permalink
fix: typos (#690)
Browse files Browse the repository at this point in the history
* fix typo

* fix typos

* fix typo

* fix typo

* fix typo
  • Loading branch information
omahs authored and refcell committed Oct 18, 2024
1 parent 343b6b4 commit 46323e4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/client/src/l1/chain_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl<T: CommsClient + Sync + Send> ChainProvider for OracleL1ChainProvider<T> {
.map(|(_, rlp)| {
let envelope = ReceiptEnvelope::decode_2718(&mut rlp.as_ref())
.map_err(|e| anyhow!("Failed to decode ReceiptEnvelope RLP: {e}"))?;
Ok(envelope.as_receipt().expect("Infalliable").clone())
Ok(envelope.as_receipt().expect("Infallible").clone())
})
.collect::<Result<Vec<_>>>()?;

Expand Down
2 changes: 1 addition & 1 deletion bin/client/src/l2/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Contains the L2-specifc contstructs of the client program.
//! Contains the L2-specific constructs of the client program.
mod chain_provider;
pub use chain_provider::OracleL2ChainProvider;
2 changes: 1 addition & 1 deletion book/src/fpp-dev/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The `host` is responsible for:

Other programs (`clients`) may have different requirements for communication with the `host`, but the above is a common pattern for programs built on top of a FPVMs. In general:

1. The `client` program is a state machine that is responsible for bootstrapping itself from the inputs, executing the progam logic, and verifying the outcome.
1. The `client` program is a state machine that is responsible for bootstrapping itself from the inputs, executing the program logic, and verifying the outcome.
1. The `host` is responsible for providing the `client` with data it wasn't bootstrapped with, and for executing the program itself.

{{#include ../links.md}}
4 changes: 2 additions & 2 deletions book/src/sdk/fpvm-backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ exposes a safe API:
```rs
use kona_common::{io, FileDescriptor};

// Print to `stdout`. Infalliable, will panic if dispatch fails.
// Print to `stdout`. Infallible, will panic if dispatch fails.
io::print("Hello, world!");

// Print to `stderr`. Infalliable, will panic if dispatch fails.
// Print to `stderr`. Infallible, will panic if dispatch fails.
io::print_err("Goodbye, world!");

// Read from or write to a specified file descriptor. Returns a result with the
Expand Down
2 changes: 1 addition & 1 deletion crates/mpt/src/test_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub(crate) async fn get_live_derivable_receipts_list(
let consensus_receipts = receipts
.into_iter()
.map(|r| {
let rpc_receipt = r.inner.as_receipt_with_bloom().expect("Infalliable");
let rpc_receipt = r.inner.as_receipt_with_bloom().expect("Infallible");
let consensus_receipt = ReceiptWithBloom::new(
Receipt {
status: rpc_receipt.receipt.status,
Expand Down

0 comments on commit 46323e4

Please sign in to comment.