-
Notifications
You must be signed in to change notification settings - Fork 40
[KIP-113] An interface compatible with CandidateList #151
Conversation
Co-authored-by: Lewis <[email protected]>
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.
This change removes BLS pubkey registration functions. How will you define those functions?
@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 |
@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. |
Make the interface compatible with CandidateList.
This facilitates migration from SimpleBLSRegistry to CandidateList, as the consensus logic of Klaytn nodes need not change.