-
Notifications
You must be signed in to change notification settings - Fork 4
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
[api] return evm address instead of oasis addr in RuntimeEvmBalance #492
Conversation
52f134a
to
70d3234
Compare
If we do that, it's a breaking change, which would need synchronized Nexus and Explorer releases to avoid breakage. I think adding Also, we have a switch on Explorer UI (well, at least for some parts) that supports choosing displaying Oasis and ETH addresses, according to the user's preferences. So having the Oasis address ready is definitely a plus. |
Thanks, I like this version much better! |
This will be used by oasisprotocol/explorer#762. |
845d216
to
595c70c
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.
Thank you for this patch, and all the others!
595c70c
to
57d2972
Compare
1ff636c
to
1c2e9a3
Compare
57d2972
to
9f43769
Compare
1c2e9a3
to
b661cdc
Compare
[api] add runtimeEvmBalance.token_contract_addr_eth instead of replacing nit
9f43769
to
f578b38
Compare
According to the openapi spec, the token_contract_address in
RuntimeEvmBalance
should be the EVM address and not the oasis address.Need to confirm with explorer team that the currently returned oasis address can be replaced by the evm address. If not, we can return both the oasis and evm addresses (though the oasis address can be derived from the eth address).