Closed ian0371 closed 9 months ago
@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.