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

Multichain Precision Adjustment Support #460

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

phoorichet
Copy link
Contributor

This PR adds decimals fields to address mapper and transfer gateway contract types.

@@ -40,6 +40,8 @@ message AddressMapperGetMappingRequest {
message AddressMapperGetMappingResponse {
Address from = 1; // Address that was provided in the request
Address to = 2;
uint32 from_decimals = 3;
uint32 to_decimals = 4;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand why these fields were added here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Planed to use it for command line. But I think can just remove it for now.

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.

None yet

2 participants