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

Fix/staking stake #476

Merged
merged 12 commits into from
Jan 23, 2023

Conversation

jameshowlett977
Copy link
Contributor

Copy link
Contributor

@tjcloa tjcloa left a comment

Choose a reason for hiding this comment

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

pls see inline comments
also as a general suggestion
in all tests added, pls consider fuzzy testing approach - validating staking with all possible combinations of msg.sender, stakeFor and delegatee - equal/not equal and zero address combinations (except for ad-hoc tests validating specific values like only stakeFor equals to zero etc.)

tests/staking/StakingTest.js Show resolved Hide resolved
tests/staking/StakingTest.js Outdated Show resolved Hide resolved
tests/staking/StakingTest.js Show resolved Hide resolved
tests/staking/StakingTest.js Show resolved Hide resolved
tests/staking/StakingTest.js Show resolved Hide resolved
tests/staking/StakingTest.js Show resolved Hide resolved
tests/staking/StakingTest.js Outdated Show resolved Hide resolved
tests/staking/StakingTest.js Show resolved Hide resolved
tests/staking/StakingTest.js Show resolved Hide resolved
@jameshowlett977
Copy link
Contributor Author

I marked all the tests I'm going to fix.
Thank you a lot for finding misleading texts :-)

@jameshowlett977 jameshowlett977 merged commit 6c5446f into refactoring/staking-contract-eip170 Jan 23, 2023
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