Skip to content
Unverified Commit 866e6300 authored by Maciej Baj's avatar Maciej Baj Committed by GitHub
Browse files

Optimize max messages at inbound lane (#418)



* Add tests for checking messages above max limit

Signed-off-by: default avatarMaciejBaj <[email protected]>

* Extend the relayers entry of inbound lane by additional msg nonce

Signed-off-by: default avatarMaciejBaj <[email protected]>

* Support additional message nonce from inbound relayers

Signed-off-by: default avatarMaciejBaj <[email protected]>

* Code format

Signed-off-by: default avatarMaciejBaj <[email protected]>

* Merge messages range for highest relayers

* Change unwrap() to ensure() while accessing relayers

* Edit rustdocs for relayers deque at inbound lane data

Co-authored-by: default avatarHernando Castano <[email protected]>

* Declare additional relayers A & B and use across tests consistently

Signed-off-by: default avatarMaciejBaj <[email protected]>

* Remove duplicates and improve naming for inbound lane tests

* Fix test checking max limit per inbound lane

* Correct relayers rewards loop after a proof is received

* Remove redundant check for messages ahead of received range

* Correct grammar at inbound lane tests rustdocs

Co-authored-by: default avatarHernando Castano <[email protected]>

* Improve code quality of relayers updates 💅



Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Test dispatches above max limit from same relayer

Co-authored-by: default avatarHernando Castano <[email protected]>
Co-authored-by: default avatarTomasz Drwięga <[email protected]>
parent 62225054
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment