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

[Tests] Property test: stake distribution is consistent #61

Merged
merged 2 commits into from
Sep 26, 2019
Merged

Conversation

dkijania
Copy link
Contributor

@dkijania dkijania commented Jul 17, 2019

Test for #14 ( when building the stake distribution we need to retrieve the total value)

Created property test for stake distribution:

  1. Arbitary distribution is divided into (utxo, delegation to single account, delegation to unique account. accounts without delegation , account with delegation to active stake pool, account with delegation to retired delegation)
  2. all this data is pushed into stake::get_distribution method and verify, that distribution divided into (unassigned, dangling, pools_total) is as expected

@dkijania dkijania merged commit 78fbf9a into master Sep 26, 2019
@dkijania dkijania deleted the stake_dist branch September 26, 2019 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant