Skip to content

Commit

Permalink
add comment for message_id in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Agusrodri committed Feb 12, 2025
1 parent 5acaa27 commit 6b8572b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions primitives/bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ impl<T: snowbridge_pallet_outbound_queue::Config> TicketInfo for Ticket<T> {
}
}

// Benchmarks check message_id so it must be deterministic.
#[cfg(feature = "runtime-benchmarks")]
impl<T: snowbridge_pallet_outbound_queue::Config> TicketInfo for Ticket<T> {
fn message_id(&self) -> H256 {
Expand Down

0 comments on commit 6b8572b

Please sign in to comment.