Skip to content

feat(api): add ConsensusServiceAPI trait and refactor types#7

Merged
seemenkina merged 1 commit intomainfrom
feat/service_api
Feb 9, 2026
Merged

feat(api): add ConsensusServiceAPI trait and refactor types#7
seemenkina merged 1 commit intomainfrom
feat/service_api

Conversation

@seemenkina
Copy link
Collaborator

  • Add ConsensusServiceAPI trait defining the public contract
  • Add get_proposal and get_proposal_payload methods
  • Refactor Proposal payload from String to Vec
  • Add get_proposal_config method to ConsensusService
  • Enhance ConsensusConfig with new builder methods
  • Add PartialEq/Eq to ConsensusEvent for testability
  • Add timestamp to consensus events

- Add ConsensusServiceAPI trait defining the public contract
- Add get_proposal and get_proposal_payload methods
- Refactor Proposal payload from String to Vec<u8>
- Add get_proposal_config method to ConsensusService
- Enhance ConsensusConfig with new builder methods
- Add PartialEq/Eq to ConsensusEvent for testability
- Add timestamp to consensus events
@seemenkina seemenkina merged commit 59bd5f6 into main Feb 9, 2026
3 checks passed
@seemenkina seemenkina deleted the feat/service_api branch February 9, 2026 09:53
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.

1 participant