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

Add support for hex address in chain link #685

Closed
dadamu opened this issue Dec 6, 2021 · 3 comments · Fixed by #688
Closed

Add support for hex address in chain link #685

dadamu opened this issue Dec 6, 2021 · 3 comments · Fixed by #688
Labels
kind/new-feature Propose the addition of a new feature that does not yet exist x/profiles Module that allows to create and manage decentralized social profiles

Comments

@dadamu
Copy link
Contributor

dadamu commented Dec 6, 2021

Feature description

Currently, Desmos doesn't support linking the hex address to the profile. Therefore, the user can't connect their address of Etheruem or other chains, which apply hex address, to the profile.
We should provide the possibility to create the chain link with a hex address.

Implementation proposal

Implement the Hex address structure for AddressData interface.

@dadamu dadamu added kind/new-feature Propose the addition of a new feature that does not yet exist x/profiles Module that allows to create and manage decentralized social profiles labels Dec 6, 2021
@leobragaz
Copy link
Contributor

I agree with this. We should extend the support to ETH as well. Maybe this is worth for an ADR? @RiccardoM

@RiccardoM
Copy link
Contributor

Agree this is something we should be supporting

I agree with this. We should extend the support to ETH as well. Maybe this is worth for an ADR? @RiccardoM

No ADR is required for such a small change. We can just implement it.

@dadamu
Copy link
Contributor Author

dadamu commented Dec 7, 2021

I will work on it soon. 👍

@mergify mergify bot closed this as completed in #688 Dec 20, 2021
mergify bot pushed a commit that referenced this issue Dec 20, 2021
## Description

Closes: #685 

This PR is the implementation of #685. It extends the support to the hex address like ETH.

Note: Rename PR to add support for eth address since eth address is generated in the other way.



---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/desmos-labs/desmos/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://docs.cosmos.network/v0.44/building-modules/intro.html)
- [x] included the necessary unit and integration [tests](https://github.com/desmos-labs/desmos/blob/master/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/new-feature Propose the addition of a new feature that does not yet exist x/profiles Module that allows to create and manage decentralized social profiles
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@RiccardoM @dadamu @leobragaz and others