Closed KonradStaniec closed 4 months ago
Currently op_return data for checkpoints is parsed here: https://github.com/babylonchain/babylon/blob/dev/x/btccheckpoint/types/btcutils.go#L207
This function should clearly document that it works only for standard OP_RETRUN transactions, and return error in non standard transactions.
Standard op_return transactions:
Currently op_return data for checkpoints is parsed here: https://github.com/babylonchain/babylon/blob/dev/x/btccheckpoint/types/btcutils.go#L207
This function should clearly document that it works only for standard OP_RETRUN transactions, and return error in non standard transactions.
Standard op_return transactions: