Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
dharjeezy committed Jan 26, 2023
commit c4b0bc7c13e8cce84e1109fed7fedf1b8bb61bdd
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub struct BeefyJustifsRequestHandler<B, Client> {
pub(crate) justif_protocol_name: ProtocolName,
pub(crate) client: Arc<Client>,
pub(crate) _block: PhantomData<B>,
metrics: Option<Metrics>,
pub(crate) metrics: Option<Metrics>,
}

impl<B, Client> BeefyJustifsRequestHandler<B, Client>
Expand Down
2 changes: 2 additions & 0 deletions client/beefy/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ impl BeefyTestNet {
justif_protocol_name,
client,
_block: PhantomData,
metrics: None,
};
*net.peers[i].data.beefy_justif_req_handler.lock() = Some(justif_handler);
}
Expand Down Expand Up @@ -201,6 +202,7 @@ impl TestNetFactory for BeefyTestNet {
inner,
client.as_backend(),
Arc::new(two_validators::TestApi {}),
None,
);
let peer_data = PeerData {
beefy_rpc_links: Mutex::new(Some(rpc_links)),
Expand Down