Skip to content

Commit

Permalink
Modified From<TransactionPreValidationError> for ExecutionError to pr…
Browse files Browse the repository at this point in the history
…operly display actual and expected nonce (dojoengine#1890)
  • Loading branch information
Eikix authored Apr 27, 2024
1 parent 6a3cbaa commit a16158e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/katana/executor/src/implementation/blockifier/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ impl From<TransactionPreValidationError> for ExecutionError {
incoming_tx_nonce,
..
} => Self::InvalidNonce {
actual: account_nonce.0.into(),
expected: incoming_tx_nonce.0.into(),
actual: incoming_tx_nonce.0.into(),
expected: account_nonce.0.into(),
},
TransactionPreValidationError::TransactionFeeError(e) => Self::from(e),
TransactionPreValidationError::StateError(e) => Self::from(e),
Expand Down

0 comments on commit a16158e

Please sign in to comment.