node
node copied to clipboard
Move CCTX/inbound/outbound validation check at the processing level instead of the voting level.
Describe the Issue
We have inbound/outbound validation check in the voting messages. Failure on these check prevent the voting to be completed which might end in blocked inbound and stuck funds.
The check for voting should be minimal, the validation logic should be moved at the processing level. If a cctx is invalid because of some data, the cctx is reverted or aborted.