This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Commit 5c91941 1 parent a1d25f3 commit 5c91941 Copy full SHA for 5c91941
File tree 5 files changed +8
-6
lines changed
rialto-parachain/runtime/src
5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ impl messages::BridgedChainWithMessages for Rialto {
236
236
}
237
237
}
238
238
239
- impl TargetHeaderChain < ToRialtoMessagePayload , bp_rialto :: AccountId > for Rialto {
239
+ impl TargetHeaderChain < ToRialtoMessagePayload , bp_millau :: AccountId > for Rialto {
240
240
type Error = & ' static str ;
241
241
// The proof is:
242
242
// - hash of the header this proof has been created with;
Original file line number Diff line number Diff line change @@ -229,9 +229,7 @@ impl messages::BridgedChainWithMessages for RialtoParachain {
229
229
}
230
230
}
231
231
232
- impl TargetHeaderChain < ToRialtoParachainMessagePayload , bp_rialto_parachain:: AccountId >
233
- for RialtoParachain
234
- {
232
+ impl TargetHeaderChain < ToRialtoParachainMessagePayload , bp_millau:: AccountId > for RialtoParachain {
235
233
type Error = & ' static str ;
236
234
// The proof is:
237
235
// - hash of the header this proof has been created with;
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ impl messages::BridgedChainWithMessages for Millau {
243
243
}
244
244
}
245
245
246
- impl TargetHeaderChain < ToMillauMessagePayload , bp_millau :: AccountId > for Millau {
246
+ impl TargetHeaderChain < ToMillauMessagePayload , bp_rialto_parachain :: AccountId > for Millau {
247
247
type Error = & ' static str ;
248
248
// The proof is:
249
249
// - hash of the header this proof has been created with;
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ impl messages::BridgedChainWithMessages for Millau {
233
233
}
234
234
}
235
235
236
- impl TargetHeaderChain < ToMillauMessagePayload , bp_millau :: AccountId > for Millau {
236
+ impl TargetHeaderChain < ToMillauMessagePayload , bp_rialto :: AccountId > for Millau {
237
237
type Error = & ' static str ;
238
238
// The proof is:
239
239
// - hash of the header this proof has been created with;
Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ pub struct RelayerRewards<Balance> {
61
61
/// All implementations of this trait should only work with finalized data that
62
62
/// can't change. Wrong implementation may lead to invalid lane states (i.e. lane
63
63
/// that's stuck) and/or processing messages without paying fees.
64
+ ///
65
+ /// The `Payload` type here means the payload of the message that is sent from the
66
+ /// source chain to the target chain. The `AccountId` type here means the account
67
+ /// type used by the source chain.
64
68
pub trait TargetHeaderChain < Payload , AccountId > {
65
69
/// Error type.
66
70
type Error : Debug + Into < & ' static str > ;
You can’t perform that action at this time.
0 commit comments