Refund extra proof bytes in message delivery transaction (#1864)

* refund extra proof bytes in message delivery transaction

* Update modules/messages/src/lib.rs

Co-authored-by: Adrian Catangiu <adrian@parity.io>

* more tests

---------

Co-authored-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
Svyatoslav Nikolsky
2023-02-15 17:47:38 +03:00
committed by Bastian Köcher
parent c9c6d566d0
commit 9e30130054
2 changed files with 151 additions and 5 deletions
@@ -117,6 +117,11 @@ impl<S: InboundLaneStorage> InboundLane<S> {
InboundLane { storage }
}
/// Returns storage reference.
pub fn storage(&self) -> &S {
&self.storage
}
/// Receive state of the corresponding outbound lane.
pub fn receive_state_update(
&mut self,