Unverified Commit 0022b5ab authored by Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky Committed by GitHub
Browse files

Slash relayers for invalid transactions (#2025)



* slash relayer balance for invalid transactions

* require some gap before unstake is possible

* more clippy

* log priority boost

* add issue ref to TODO

* fix typo

* is_message_delivery_call -> is_receive_messages_proof_call

* moved is_receive_messages_proof_call above

* only slash relayers for priority transactions

* Update primitives/relayers/src/registration.rs

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* Update primitives/relayers/src/registration.rs

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* Update bin/runtime-common/src/refund_relayer_extension.rs

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* Update bin/runtime-common/src/refund_relayer_extension.rs

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* Update bin/runtime-common/src/refund_relayer_extension.rs

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* Update modules/relayers/src/lib.rs

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* Update primitives/relayers/src/registration.rs

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* benificiary -> beneficiary

---------

Co-authored-by: default avatarAdrian Catangiu <[email protected]>
parent 19810400
Pipeline #264647 passed with stage
in 5 minutes and 19 seconds
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