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

chore: re-implement hex utils using etherjs library #1576

Merged
merged 2 commits into from
Dec 23, 2024
Merged

Conversation

ericleponner
Copy link
Collaborator

Description:

Changes below re-implement byteToHex() and hexToByte() routines using etherjs library.
They also remove unused AccountParser.aliasByteString().

Checklist

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

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 74.02% 24789 / 33487
🔵 Statements 74.02% 24789 / 33487
🔵 Functions 57.74% 947 / 1640
🔵 Branches 83.08% 4510 / 5428
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/utils/B64Utils.ts 62% 93.1% 77.77% 62% 64, 70-71, 73-79, 81-94, 96, 98-110
src/utils/parser/AccountLocParser.ts 86.84% 94.44% 83.33% 86.84% 72-73, 75-89, 95-96, 201
Generated in workflow #1536

Copy link
Collaborator

@svienot svienot left a comment

Choose a reason for hiding this comment

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

Looks good.

@ericleponner ericleponner merged commit 8e477da into main Dec 23, 2024
8 of 9 checks passed
@ericleponner ericleponner deleted the byteToHex branch December 23, 2024 17:52
@swirlds-automation
Copy link
Contributor

🎉 This PR is included in version 24.12.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants