Skip to content
Commit e9d1d484 authored by Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky Committed by Serban Iorga
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 0dfdaa25
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