This documents includes a set of things to bear-in-mind/double-check when rebasing from filecoin-project/lotus.
These changes need to be done manually, and not performing them may lead to bugs hard to track.
chain/consensus/genesis/is a copy of the packagechain/gen/genesisslightly modified and use to generate the genesis files of subnets in-the-fly while avoiding dependency cycles. If rebasing any change affectschain/gen/genesisit needs to be appropriately propagated tochain/consensus/genesis/.chain/consensus/common/executor.goimplements the message execution logic for all Eudico consensus algorithms except for filecoin consensus which is implemented inchain/consensus/common/filcns_executor.go. Changes in lotus overchain/consensus/compute_state.goneed to be propagated also to the aforementioned packages.chain/common/cns_validationincludes all common consensus validation rules for all consensus algorithms. Any new rule or change introduced to consensus validation rules inchain/consensus/filcns/filecoin.goneed to be propagated to the aforementioned file.