Closed wuminzhe closed 4 years ago
recommended to use last confirm block:
const target = await shadow.getProposal([last_confirm_block], block);
The liner relayer which is deprecated needs the last_confirm_block
, the current relayer, we just relay.
You should make sure the mmr root include last confirmed's mmr hash.
And this's a bug of ethereum-relay which miss the first mmr's verification.
https://github.com/darwinia-network/darwinia-common/issues/252
You should make sure the mmr root include last confirmed's mmr hash. darwinia-network/darwinia-common#252
So the uncle 19 has to be deleted now? LOL
So the uncle 19 has to be deleted now? LOL
Yes, on proposal.
https://github.com/darwinia-network/darwinia.js/blob/e93b3dd0c44f0d3507234a995c7108432889cdaf/packages/dj/src/proposal.ts#L118
recommended to use last confirm block:
const target = await shadow.getProposal([last_confirm_block], block);