Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Feb 26, 2023
1 parent 6f0286f commit 1ed0031
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/packages/contracts/contracts/BeefyClient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ contract BeefyClient is Ownable {
}

currentValidatorSet = nextValidatorSet;
// todo: workaround and need to check if a bug in substrate
// Workaround for change in https://github.com/paritytech/polkadot/pull/6577
// and discussions here in https://github.com/paritytech/substrate/issues/11797
nextValidatorSet.id = leaf.nextAuthoritySetID + 1;
nextValidatorSet.length = leaf.nextAuthoritySetLen;
nextValidatorSet.root = leaf.nextAuthoritySetRoot;
Expand Down

0 comments on commit 1ed0031

Please sign in to comment.