Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neysofu committed Jan 9, 2024
1 parent 5b000d8 commit 9f5c667
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 1 addition & 4 deletions full-node/sov-sequencer/tests/tx_status_subscription_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ async fn subscribe() {
client.send_transactions(txs, None).await.unwrap();

let tx_status = subscription.next().await.unwrap().unwrap();
assert!(matches!(
tx_status,
TxStatus::Submitted | TxStatus::Published { .. }
));
assert!(matches!(tx_status, TxStatus::Submitted));
let tx_status = subscription.next().await.unwrap().unwrap();
assert!(matches!(tx_status, TxStatus::Published { .. }));

Expand Down
5 changes: 2 additions & 3 deletions rollup-interface/src/node/services/da.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ pub trait DaService: Send + Sync + 'static {
>;

/// Type that allow to consume [`futures::Stream`] of BlockHeaders.
type HeaderStream: futures::Stream<
Item = Result<<Self::Spec as DaSpec>::BlockHeader, Self::Error>,
>;
type HeaderStream: futures::Stream<Item = Result<<Self::Spec as DaSpec>::BlockHeader, Self::Error>>
+ Send;

/// A transaction ID, used to identify the transaction in the DA layer.
type TransactionId: PartialEq + Eq + PartialOrd + Ord + core::hash::Hash;
Expand Down

0 comments on commit 9f5c667

Please sign in to comment.