polymerdao / monomer

Apache License 2.0
18 stars 10 forks source link

Convert monomer header parent hash in ToComet #198

Closed natebeauregard closed 6 days ago

natebeauregard commented 1 week ago

Background

Currently, the monomer parent hash is not converted whenever converting a monomer header to a comet header. This is important to convert as well since we want it visible in the emitted comet block events.

Changes

Convert the monomer parent hash as well when converting to a CometBFT header.