mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 11:41:04 +00:00
Use TypedLaneId instead of LaneId (#1738)
* TypedLaneId -> LaneId * fix benchmarks compilation
This commit is contained in:
committed by
Bastian Köcher
parent
41daa32acb
commit
03425b33ae
@@ -892,7 +892,7 @@ mod tests {
|
||||
OutboundLaneData::default()
|
||||
}
|
||||
|
||||
const TEST_LANE_ID: &LaneId = b"test";
|
||||
const TEST_LANE_ID: &LaneId = &LaneId(*b"test");
|
||||
const MAXIMAL_PENDING_MESSAGES_AT_TEST_LANE: MessageNonce = 32;
|
||||
|
||||
fn regular_outbound_message_payload() -> source::FromThisChainMessagePayload {
|
||||
@@ -904,7 +904,7 @@ mod tests {
|
||||
assert_eq!(
|
||||
source::FromThisChainMessageVerifier::<OnThisChainBridge>::verify_message(
|
||||
&ThisChainOrigin(Ok(frame_system::RawOrigin::Root)),
|
||||
b"dsbl",
|
||||
&LaneId(*b"dsbl"),
|
||||
&test_lane_outbound_data(),
|
||||
®ular_outbound_message_payload(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user