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(evmstaking/types): add test cases for params #103

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

zsystm
Copy link
Collaborator

@zsystm zsystm commented Sep 11, 2024

increased test coverage to 100%

changes

  • Updated the input types of validation functions to use concrete types instead of any, as there doesn’t appear to be a specific reason for using any. (Please let me know if there’s a reason for it)
  • Renamed the withdrawal test suite to avoid naming conflicts with the parameter test suite.

issue: #64

@zsystm zsystm marked this pull request as ready for review September 11, 2024 05:56
@zsystm zsystm self-assigned this Sep 12, 2024
Copy link
Contributor

@edisonz0718 edisonz0718 left a comment

Choose a reason for hiding this comment

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

lgtm

increased test coverage to 100%

changes
validate functions use concrete type instead of any. there is no reasoning for using any.

rename withdraw test suite to avoid name conflict with param test suite
@zsystm zsystm force-pushed the zsystm/test/evmstaking/types/params branch from c78f3e4 to 76b5112 Compare September 19, 2024 06:16
@zsystm zsystm merged commit eef53b0 into piplabs:main Sep 19, 2024
6 checks passed
@zsystm zsystm deleted the zsystm/test/evmstaking/types/params branch September 25, 2024 04:12
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