-
Notifications
You must be signed in to change notification settings - Fork 37
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
Bindings for getting EVM address by Sei address and vice versa #75
Conversation
deps: Deps<SeiQueryWrapper>, | ||
evm_address: String, | ||
) -> StdResult<SeiAddressResponse> { | ||
let querier = SeiQuerier::new(&deps.querier); |
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.
is there a way to validate the evm_address
similar to how we validate the sei_address
above?
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.
also should this be moved into the package itself as opposed to being in the tester contract?
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.
Discussed offline. TL;DR The library that I have tried ethaddr
had to be rolledback due to unstable keccak dep. We may move validations down to lib itself in subsequent PRs (and add them all over to keep the code consistent)
Changes
Adding bindings for getting EVM address by Sei address and vice versa.
Building on top of sei-protocol/sei-chain#1466
Testing