b-harvest / Canto

GNU Lesser General Public License v3.0
3 stars 4 forks source link

refactor: `CustomGetSigners` for `MsgSwapOrder` #62

Closed poorphd closed 3 months ago

poorphd commented 4 months ago

Description

Cosmos SDK v0.50 this method has been dropped and replaced with the declarative cosmos.msg.v1.signer protobuf tag. For MsgSwapOrder, which does not have a cosmos.msg.v1.signer to resolve the signer, custom GetSigners function is defined.

Closes: https://github.com/code-423n4/2024-05-canto-findings/issues/27


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.

I have...

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.

I have...