diff --git a/db/db.go b/db/db.go index 6475dc5e19..44724f1081 100644 --- a/db/db.go +++ b/db/db.go @@ -108,7 +108,7 @@ func discardTxnOnPanic(txn Transaction) { p := recover() if p != nil { if err := txn.Discard(); err != nil { - fmt.Fprintf(os.Stderr, "failed discarding panicing txn err: %s", err) + fmt.Fprintf(os.Stderr, "failed discarding panicking txn err: %s", err) } panic(p) } diff --git a/vm/rust/src/juno_state_reader.rs b/vm/rust/src/juno_state_reader.rs index ee4ad9734d..a86dd29007 100644 --- a/vm/rust/src/juno_state_reader.rs +++ b/vm/rust/src/juno_state_reader.rs @@ -139,7 +139,7 @@ impl StateReader for JunoStateReader { // About the changes in the second attempt at making class cache behave as expected; // // The initial assumption here was that `self.height` uniquely identifies and strictly orders the underlying state - // instances. The first assumption doesn't necessarily hold, because we can pass different state instaces with the + // instances. The first assumption doesn't necessarily hold, because we can pass different state instances with the // same height. This most commonly happens with call/estimate/simulate and trace flows. Trace flow calls the VM // for block number N with the state at the beginning of the block, while call/estimate/simulate flows call the VM // with the same block number but with the state at the end of that block. That is why, we cannot use classes from cache