gear icon indicating copy to clipboard operation
gear copied to clipboard

Implement `SignedPayload` for unsigned extrisics sent from ocw

Open gshep opened this issue 2 years ago • 0 comments

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

gshep avatar May 05 '22 07:05 gshep