-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Companion for substrate#11302 #5667
Conversation
|
@svyatonik I had to make some changes to some of the bridges tests. The behavior of |
| #[test] | ||
| fn same_result_when_justification_contains_duplicate_vote() { | ||
| let mut justification = make_default_justification(&test_header(1)); | ||
| let mut justification = make_justification_for_header(JustificationGeneratorParams { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default justification sets ancestors: 2 which means that e.g. the precommits finalize block #3 while the commit says that the target finalized block is #1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I'll fix it upstream! BTW - we'll probably removed bridges subtree from polkadot repo soon, so you won't need to fix our code anymore.
|
Waiting for commit status. |
* bridges: bump finality-grandpa version
* bridges: fix tests
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
paritytech/substrate#11302