Refund messages confirmation tx (#1904)

* Refund messages confirmation tx

* Fixes
This commit is contained in:
Serban Iorga
2023-02-28 13:54:12 +02:00
committed by Bastian Köcher
parent f5fee288b9
commit ba155f990f
8 changed files with 409 additions and 212 deletions
+1 -2
View File
@@ -77,8 +77,7 @@ where
/// even honest relayers may lose their funds if there are multiple relays running and
/// submitting the same messages/confirmations.
fn validate(call: &T::RuntimeCall) -> TransactionValidity {
call.check_obsolete_receive_messages_proof()?;
call.check_obsolete_receive_messages_delivery_proof()
call.check_obsolete_call()
}
}