chainlink-cosmos
chainlink-cosmos copied to clipboard
Improve the Signature Scheme
Current Impl: We are storing the signatures as a byte array into the feedData struct
Improvement Proposal:
The signatures will be provided as a byte array, which will include the r,s,v components of the oracle signautres of the report. These will need to be decoded to reveal the public keys (signer) of the signed data. The public keys will need to then be cross-referenced and found to be equal to the public key on file for each data provider in the dp list for the feed.
- If the PK of each signature corresponds to an entry in the data provider list of the specified feed, then the signature will be deemed to be valid.
- if not, the feed data should be rejected and should not be submitted as a transaction to the chain