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

refactor: split IConsensus interface into two #341

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

guidanoli
Copy link
Collaborator

@guidanoli guidanoli commented Jan 24, 2025

  • Create IClaimSubmitter interface
  • Move definitions from IConsensus to IClaimSubmitter, leaving just the isOutputsMerkleRootValid function (former wasClaimAccepted)
  • Make IConsensus inherit from ERC-165 interface
  • Make consensus contracts implement ERC-165 (supporting IClaimSubmitter, IAuthority, and IQuorum, where applicable)
  • Adjust nomenclature to make it explicit that the claim is the outputs Merkle root

@guidanoli guidanoli force-pushed the feature/iconsensus-erc165 branch from c2e6d9c to 4de91d6 Compare January 28, 2025 14:20
@guidanoli guidanoli marked this pull request as ready for review January 28, 2025 14:27
@guidanoli guidanoli merged commit 505cadd into main Jan 30, 2025
3 checks passed
@guidanoli guidanoli deleted the feature/iconsensus-erc165 branch January 30, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants