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

e2e-tests reward points #504

Conversation

fixxxedpoint
Copy link
Contributor

Changes:

  • e2e-tests test routine for validating reward points on per session basis
  • disable node e2e-test for reward points: it attempts to temporarily disable and the re-enable a node and checks if reward points are calculated correctly

Copy link
Member

@pmikolajczyk41 pmikolajczyk41 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally great work, kudos! I left some minor comments/requests

btw, after my recent adventures with substrate, I would use word disable with respect and care; thus I strongly encourage you to rename all disable_xxx / enable_xxx methods/tests to something else: your scenario is about invalid key, it doesn't have anything in common with canonical disabling

aleph-client/src/session.rs Outdated Show resolved Hide resolved
aleph-client/src/session.rs Outdated Show resolved Hide resolved
aleph-client/src/staking.rs Outdated Show resolved Hide resolved
aleph-client/src/staking.rs Outdated Show resolved Hide resolved
aleph-client/src/staking.rs Outdated Show resolved Hide resolved
e2e-tests/src/test/rewards.rs Outdated Show resolved Hide resolved
e2e-tests/src/test/rewards.rs Outdated Show resolved Hide resolved
e2e-tests/src/test/rewards.rs Outdated Show resolved Hide resolved
e2e-tests/src/test/rewards.rs Outdated Show resolved Hide resolved
e2e-tests/src/test/rewards.rs Outdated Show resolved Hide resolved
Copy link
Member

@pmikolajczyk41 pmikolajczyk41 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one thing left (related to module organization in e2e-tests); please fix that and I think it will be ready to go

@fixxxedpoint
Copy link
Contributor Author

one thing left (related to module organization in e2e-tests); please fix that and I think it will be ready to go

Refactored.

@fixxxedpoint fixxxedpoint force-pushed the A0-987-e2e-points-rewards-block-counts-PR branch 2 times, most recently from 14b5542 to 461c40e Compare July 1, 2022 14:05
@fixxxedpoint fixxxedpoint merged commit 6616ddf into Cardinal-Cryptography:main Jul 1, 2022
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.

4 participants