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

[KIP-113] An interface compatible with CandidateList #151

Merged
merged 2 commits into from
Dec 26, 2023
Merged

[KIP-113] An interface compatible with CandidateList #151

merged 2 commits into from
Dec 26, 2023

Conversation

ian0371
Copy link
Contributor

@ian0371 ian0371 commented Oct 11, 2023

Make the interface compatible with CandidateList.
This facilitates migration from SimpleBLSRegistry to CandidateList, as the consensus logic of Klaytn nodes need not change.

@ian0371 ian0371 marked this pull request as ready for review October 11, 2023 07:04
KIPs/kip-113.md Outdated Show resolved Hide resolved
Copy link
Member

@aidan-kwon aidan-kwon left a comment

Choose a reason for hiding this comment

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

This change removes BLS pubkey registration functions. How will you define those functions?

@ian0371
Copy link
Contributor Author

ian0371 commented Nov 2, 2023

@aidan-kwon Register function is only removed from the spec, because we cannot implement a function with the same prototype in CandidateList.

You can refer to the simple bls registry implementation here: https://github.com/klaytn/system-contracts/blob/main/contracts/consensus/SimpleBlsRegistry.sol#L61-L73

@blukat29
Copy link
Contributor

@kjhman21 @aidan-kwon This PR minizes the interface so that "KIP-113" can be implemented by the current SimpleBLSRegistry and upcoming CandidateList. Registration logic is up to the implementation and perhaps defined in future specs. PTAL.

@blukat29 blukat29 changed the title [KIP113] An interface compatible with CandidateList [KIP-113] An interface compatible with CandidateList Dec 22, 2023
@blukat29 blukat29 merged commit 02a83fc into main Dec 26, 2023
2 checks passed
@blukat29 blukat29 deleted the kip113 branch December 26, 2023 08:54
@github-actions github-actions bot locked and limited conversation to collaborators Dec 26, 2023
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.

5 participants