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

test: add some tally tests #3

Merged
merged 1 commit into from
Sep 11, 2024
Merged

test: add some tally tests #3

merged 1 commit into from
Sep 11, 2024

Conversation

tbruyelle
Copy link
Collaborator

@tbruyelle tbruyelle commented Aug 29, 2024

Cherry pick of cosmos/cosmos-sdk#17142 with some updates that improves the mocking of the staking module.
Mocking this module is deceptively complex, due to the shares system. I would better have integration tests for testing the tally, like cosmos-sdk/tests/integration/gov, but unfortunately these are difficult to migrate out of the cosmos-sdk (if not impossible).

@tbruyelle tbruyelle marked this pull request as ready for review August 30, 2024 13:22
@tbruyelle tbruyelle merged commit cf0b5c7 into main Sep 11, 2024
14 checks passed
@tbruyelle tbruyelle deleted the tbruyelle/test/tally branch September 11, 2024 10:18
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.

3 participants