Venus: Message pool re-org handler should restore messages at height of new chain

Created on 26 Sep 2019  路  1Comment  路  Source: filecoin-project/venus

Describe the bug:
On a new head we add messages into the message pool at the height they were mined at in the old chain. If the height of the newChain is greater than InboxMaxAgeTipsets when the message was added to the old chain, then the messages will be dropped immediately.

Expected behavior:
Messages should be restored to the pool at the height of the new chain, so that the relative heights of the old and new chain do not affect behaviour.

The outbox already behaves this way.

Reported by @travisperson

C-bug

Most helpful comment

@acruikshank or @ingar could you please look into this? Should be a quick fix.

>All comments

@acruikshank or @ingar could you please look into this? Should be a quick fix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phritz picture phritz  路  5Comments

phritz picture phritz  路  5Comments

travisperson picture travisperson  路  9Comments

steven004 picture steven004  路  6Comments

ZenGround0 picture ZenGround0  路  5Comments