gear
gear copied to clipboard
Implement `SignedPayload` for unsigned extrisics sent from ocw
File Location(s)
No response
Proposal
Malicious validators can send huge amount of unsigned extrisics with the same arguments. In this case no useful work is done (since consequent calls to the transaction in the one block don't charge anything) however the runtime wastes resources.
In order to be able to punish bad validators we have to identify them. SignedPayload
is one of the solutions of the issue.
To slash validators in a canonical substrate-way we need to add the Staking pallet - #892 . This would allow us to use pallet_offences
in conjunction with pallet_staking
(like it is implemented in I'm Online
).
After #506