Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tss): heartbeat should not affect multisig signing #1299

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

fish-sammy
Copy link
Contributor

@fish-sammy fish-sammy commented Feb 8, 2022

Description

Todos

  • Unit tests
  • Manual tests
  • Documentation
  • Connect epics/issues
  • Tag type of change
  • Upgrade handler

Steps to Test

Expected Behaviour

Other Notes

@fish-sammy fish-sammy added the enhancement New feature or request label Feb 8, 2022
@fish-sammy fish-sammy force-pushed the feat/heartbeat-should-not-affect-multisig-sign branch from bb5892b to 6b0aca5 Compare February 8, 2022 17:13
Comment on lines +164 to +172
func (v ValidatorIllegibility) FilterIllegibilityForTssSigning() ValidatorIllegibility {
mask := None

for _, illegibility := range GetValidatorIllegibilities() {
mask |= illegibility
}

return v & mask
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we just return v here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's more of a sanity thing, just to make sure v doesn't have any bit set to 1 beyond the defined range.

Copy link
Contributor

@jcs47 jcs47 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fish-sammy fish-sammy merged commit b1c6830 into main Feb 10, 2022
@fish-sammy fish-sammy deleted the feat/heartbeat-should-not-affect-multisig-sign branch February 10, 2022 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants