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

chore: refactoring proposals agent to increase testability #851

Merged
merged 5 commits into from
Sep 3, 2024

Conversation

NikolaMilosa
Copy link
Contributor

This PR migrates ProposalAgent to be a trait to support easier mocking. The real solution would be to migrate ProposalAgent functionality into GovernanceCanisterWrapper because it includes only calls for that canister. But to not polute this PR with extra code this was done as a step in between.

@NikolaMilosa NikolaMilosa requested a review from a team as a code owner September 2, 2024 21:47
@NikolaMilosa NikolaMilosa merged commit e3b94ef into main Sep 3, 2024
4 checks passed
@NikolaMilosa NikolaMilosa deleted the nm-refactoring-proposals-agent branch September 3, 2024 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.

2 participants