gravity-bridge icon indicating copy to clipboard operation
gravity-bridge copied to clipboard

MsgSubmitBadSignatureEvidence no signer

Open albertchon opened this issue 3 years ago • 1 comments

Surfaced by @xlab in our fork.

The msg for submitting bad signature evidence doesn't require any signature for itself. That means the chain can be spammed by myriads of transactions with this msg, and no gas fee will be applied

https://github.com/cosmos/gravity-bridge/blob/3c4c5d1dbe2e653615ab67040c0c9823b53f5caf/module/x/gravity/types/msgs.go#L671

albertchon avatar Jun 19 '21 21:06 albertchon

Worth mentioning: the only msg from Cosmos SDK that follows this pattern is MsgCreateDog.

xlab avatar Jun 20 '21 11:06 xlab