Fix handling of justifications (#2086)
* util: fork-tree: check predicate first while traversing tree * core: sync: keep track of justifications sent to the import queue * core: grandpa: verify authority set changes dependencies * core: fork-tree: add more tests * core: grandpa: extend enacts_standard_change tests
Showing
- substrate/core/consensus/common/src/import_queue.rs 4 additions, 3 deletionssubstrate/core/consensus/common/src/import_queue.rs
- substrate/core/finality-grandpa/src/authorities.rs 46 additions, 9 deletionssubstrate/core/finality-grandpa/src/authorities.rs
- substrate/core/finality-grandpa/src/import.rs 35 additions, 23 deletionssubstrate/core/finality-grandpa/src/import.rs
- substrate/core/network/src/sync.rs 20 additions, 1 deletionsubstrate/core/network/src/sync.rs
- substrate/core/util/fork-tree/src/lib.rs 100 additions, 14 deletionssubstrate/core/util/fork-tree/src/lib.rs
Please register or sign in to comment