Skip to content

Commit

Permalink
fix(sequencer): Fix incorrect error message from BridgeUnlock actions (
Browse files Browse the repository at this point in the history
…#1505)

## Summary
The error message for stateless checks on `BridgeUnlock` actions
incorrectly states `BridgeLock` as the failing error.

## Changes
- change the error message that wraps the stateless check for
`BridgeUnlock` actions

## Related Issues
Link any issues that are related, prefer full github links.

closes #1465
  • Loading branch information
itamarreif committed Sep 17, 2024
1 parent 6b5dae9 commit 1be156e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/astria-sequencer/src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl ActionHandler for SignedTransaction {
Action::BridgeUnlock(act) => act
.check_stateless()
.await
.wrap_err("stateless check failed for BridgeLockAction")?,
.wrap_err("stateless check failed for BridgeUnlockAction")?,
Action::BridgeSudoChange(act) => act
.check_stateless()
.await
Expand Down

0 comments on commit 1be156e

Please sign in to comment.