pos-portal icon indicating copy to clipboard operation
pos-portal copied to clipboard

Add NewHeaderBlock event to MockCheckpointManager and ICheckpointManager

Open bogdan opened this issue 2 years ago • 0 comments

Some operations require us to track NewHeaderBlock event of RootChain contracts. That is possible to do. However, the functionality can not be verified in the test environment because MockCheckpointManger doesn't emit this event.

Please add this event to ICheckpointManager and emit it inside MockCheckpointManager#setCheckpoint to make it more consistent with RootChain contract.

bogdan avatar May 04 '22 07:05 bogdan