Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #2351

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion vm/rust/src/juno_state_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down