You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
astria_sequencer::App::execute_transaction_prepare_proposal [1] unwraps a Result. The expect message it provides does not give any indication why unwrapping at that point is acceptable. Tracing it through the stack the error that is being bubbled up comes from a call deep inside astria_sequencer::Mempool::builder_queue [2] and [3].
It is not clear why this expect here is acceptable or why it is an invariant of the system that the return value of of the method call is always Ok.
astria_sequencer::App::execute_transaction_prepare_proposal
[1] unwraps aResult
. Theexpect
message it provides does not give any indication why unwrapping at that point is acceptable. Tracing it through the stack the error that is being bubbled up comes from a call deep insideastria_sequencer::Mempool::builder_queue
[2] and [3].It is not clear why this
expect
here is acceptable or why it is an invariant of the system that the return value of of the method call is alwaysOk
.1:
astria/crates/astria-sequencer/src/app/mod.rs
Line 589 in ca72c64
2:
astria/crates/astria-sequencer/src/mempool/mod.rs
Line 298 in ca72c64
3:
astria/crates/astria-sequencer/src/mempool/transactions_container.rs
Line 773 in ca72c64
The code that introduced this was #1323.
┆Issue Number: ENG-960
The text was updated successfully, but these errors were encountered: