-
Notifications
You must be signed in to change notification settings - Fork 148
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
feat(TCK): Add AccountCreate method #2476
Conversation
Signed-off-by: ivaylogarnev-limechain <[email protected]>
…moved some functions outside Key method. Signed-off-by: ivaylogarnev-limechain <[email protected]>
…t interface Signed-off-by: ivaylogarnev-limechain <[email protected]>
Btw the DCO fails. I would recommend you to sign it now so you wouldn't have to do some git gymnastics to sign non-last commits. |
…ed account method Signed-off-by: ivaylogarnev-limechain <[email protected]>
d6cbbae
to
263ec3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2476 +/- ##
=======================================
Coverage 75.82% 75.82%
=======================================
Files 237 237
Lines 60072 60072
=======================================
Hits 45552 45552
Misses 14520 14520 ☔ View full report in Codecov by Sentry. |
btw I just noticed that one of the commits isn't signed. The DCO passes but when we merge to main there is going to be a problem. |
…processKeyRecursively method Signed-off-by: ivaylogarnev-limechain <[email protected]>
b7c3c9b
to
8c53c25
Compare
…stom enum, refactored getEvmAddressFromKey, getKeyFromString, handleEd25519andEcdsa methods and SDK setup Signed-off-by: ivaylogarnev-limechain <[email protected]>
8c53c25
to
8499ef6
Compare
Quality Gate failedFailed conditions |
* feat: Added TCK server json-rpc methods for account create transaction Signed-off-by: ivaylogarnev-limechain <[email protected]> * fix: Renamed some interfaces, refactored processKeyRecursively func, moved some functions outside Key method. Signed-off-by: ivaylogarnev-limechain <[email protected]> * fix: Splitted models folder into params/response and renamed the Input interface Signed-off-by: ivaylogarnev-limechain <[email protected]> * fix: Removed unnecessary async, introduced CustomError class, refacoted account method Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Removed logs, unnecessary error handling logic, refactored processKeyRecursively method Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Introduced asn1DecodedKey interface and JSONRPCErrorCode custom enum, refactored getEvmAddressFromKey, getKeyFromString, handleEd25519andEcdsa methods and SDK setup Signed-off-by: ivaylogarnev-limechain <[email protected]> --------- Signed-off-by: ivaylogarnev-limechain <[email protected]>
Description:
This PR implements the TCK JSON-RPC server using TypeScript. Developed and integrated the AccountCreate method, and successfully validated its functionality through comprehensive tests within the TCK project.
Related issue(s):
#2433
Checklist