From 33c9d44f109446027854687f9442595bfe0b0f77 Mon Sep 17 00:00:00 2001 From: lilyjjo Date: Mon, 30 Sep 2024 13:07:33 -0400 Subject: [PATCH] clippy final fix pls --- crates/astria-composer/src/executor/bundle_factory/mod.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/astria-composer/src/executor/bundle_factory/mod.rs b/crates/astria-composer/src/executor/bundle_factory/mod.rs index 46fe4e0e2..f4fb47eaa 100644 --- a/crates/astria-composer/src/executor/bundle_factory/mod.rs +++ b/crates/astria-composer/src/executor/bundle_factory/mod.rs @@ -89,7 +89,11 @@ impl SizedBundle { .chain_id(chain_id) .nonce(nonce) .try_build() - .unwrap() + .expect( + "method is expected to never panic because only `SequenceActions` are added to \ + the bundle, which should produce a valid variant of the `ActionGroup` type; this \ + is checked by `tests::transaction_construction_should_not_panic", + ) } /// Buffer `seq_action` into the bundle.