mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
Reject delivery transactions with at least one obsolete message (#2021)
* reject delivery transactions with at least one obsolete message * clippy * allow empty delivery transactions with rewards confirmations BUT only when there's no room left in the unrewarded relayers vector * clippy * allow empty delivery transactions if no message slots in unrewarded relayers vector
This commit is contained in:
committed by
Bastian Köcher
parent
3b968a2aba
commit
ceea1a10f7
@@ -514,6 +514,10 @@ pub mod pallet {
|
||||
lane_id,
|
||||
);
|
||||
|
||||
// TODO: https://github.com/paritytech/parity-bridges-common/issues/2020
|
||||
// we need to refund unused weight (because the inbound lane state may contain
|
||||
// already confirmed messages and already rewarded relayer entries)
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user