Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

fix: always generate even compressed public keys #7

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

atanmarko
Copy link
Member

@atanmarko atanmarko commented Mar 23, 2023

Description

Workaround for sequencer requirement that subnet id is last 32 of compressed even public key.

Fixes TP-514

Additions and Changes

Generate validator private key in the loop until public key gets even.

PR Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added or updated tests that comprehensively prove my change is effective or that my feature works

@atanmarko atanmarko requested a review from a team as a code owner March 23, 2023 12:45
@atanmarko atanmarko self-assigned this Mar 23, 2023
@atanmarko atanmarko requested review from Freyskeyd, JDawg287, sebastiendan and hadjiszs and removed request for a team March 23, 2023 12:45
Base automatically changed from feat/add_sequencer_grpc_client to develop March 23, 2023 13:18
@atanmarko atanmarko requested a review from a team as a code owner March 23, 2023 13:18
@atanmarko atanmarko force-pushed the feat/even-validator-public-keys branch from 2bcf512 to bcdca2c Compare March 23, 2023 13:19
@atanmarko atanmarko merged commit 393e8ce into develop Mar 23, 2023
@atanmarko atanmarko deleted the feat/even-validator-public-keys branch March 23, 2023 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants