Skip to content

Sequencer reports the wrong action as having failed #1465

@SuperFluffy

Description

@SuperFluffy

Sequencer reports that a bridge lock action failed even though it was checking a bridge unlock action.

The error message should be fixed. To not let this happen in the future: 1. Can the boiler plate also be replaced by a macro? And 2: can we make use of astria_core::Protobuf::full_name() to print the name of the failed action?

Action::BridgeLock(act) => act
.check_stateless()
.await
.context("stateless check failed for BridgeLockAction")?,
Action::BridgeUnlock(act) => act
.check_stateless()
.await
.context("stateless check failed for BridgeLockAction")?,

┆Issue Number: ENG-800

Metadata

Metadata

Assignees

Labels

sequencerpertaining to the astria-sequencer crate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions