palomachain / paloma

The fast blockchain messenger protocol
Apache License 2.0
290 stars 135 forks source link

fix: message attestation with wrong sign data #1223

Closed maharifu closed 4 months ago

maharifu commented 4 months ago

Related Github tickets

Background

UpdateValset and SubmitLogicCall messages would fail to attest if:

To fix it, we iterate through the message SignData and remove the last signature until we get a match, or there are no more signatures.

Testing completed

Breaking changes