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

TCK: Refactor - code duplication, helper functions #277

Merged
merged 7 commits into from
Nov 14, 2024

Conversation

ivaylogarnev-limechain
Copy link
Contributor

Description:
This PR refactors the code to reduce duplication and improve maintainability. It introduces several helper functions to streamline logic and enhance readability. Additionally, some constants were added to make the code more organized and easier to manage. These changes aim to improve both the clarity and scalability of the code.

Related issue(s):
#260

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

…ome repeatable params in constant, refactored based on those changes for accountService tests

Signed-off-by: ivaylogarnev-limechain <[email protected]>
…fyTokenKey and moved custom fee logic to the helpers too

Signed-off-by: ivaylogarnev-limechain <[email protected]>
Copy link
Contributor

@rwalworth rwalworth left a comment

Choose a reason for hiding this comment

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

LGTM, as long as JS sdk tests still pass this should be good to merge!

@rwalworth rwalworth merged commit 5e64df0 into main Nov 14, 2024
2 checks passed
@rwalworth rwalworth deleted the 00260-tck-investigate-use-of-helper-functions branch November 14, 2024 21:36
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.

2 participants