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

feat: Add GetNewAddress gRPC API #1193

Merged

Conversation

ambersun1234
Copy link
Contributor

Description

This PR Add GetNewAddress API endpoint

@ambersun1234 ambersun1234 changed the title feature: Add GetNewAddress gRPC API feat: Add GetNewAddress gRPC API Apr 3, 2024
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Merging #1193 (115aa71) into main (998a1ca) will decrease coverage by 0.02%.
The diff coverage is 68.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1193      +/-   ##
==========================================
- Coverage   81.44%   81.42%   -0.02%     
==========================================
  Files         179      179              
  Lines        9500     9531      +31     
==========================================
+ Hits         7737     7761      +24     
- Misses       1381     1384       +3     
- Partials      382      386       +4     

@ambersun1234 ambersun1234 force-pushed the feature/add-get-new-address-api branch from fa8d4ab to 4c9a9e2 Compare April 3, 2024 18:12

// Enum for the address type.
enum AddressType {
ADDRESS_TYPE_ADDRESS_TYPE_TREASURY = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it can be ADDRESS_TYPE_TREASURY or even TREASURY. Same for other values

// Response message containing the new address.
message GetNewAddressResponse {
string wallet_name = 1;
AddressInfo address_info = 2;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please comment these lines.
They will be included in the automatically generated documents.

@ambersun1234 ambersun1234 force-pushed the feature/add-get-new-address-api branch from 4c9a9e2 to 115aa71 Compare April 4, 2024 13:56
@ambersun1234 ambersun1234 merged commit a860105 into pactus-project:main Apr 4, 2024
11 of 12 checks passed
@ambersun1234 ambersun1234 deleted the feature/add-get-new-address-api branch April 4, 2024 14:18
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