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: ADR-013: Per-chain default external address #887

Merged
merged 79 commits into from
Jul 19, 2022

Conversation

dadamu
Copy link
Contributor

@dadamu dadamu commented Jun 1, 2022

Description

This PR is the implementation of chain default external address described inside #868 .

Closes: #853


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...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • 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 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)

@github-actions github-actions bot added the x/profiles Module that allows to create and manage decentralized social profiles label Jun 1, 2022
@github-actions github-actions bot added the x/CLI label Jun 2, 2022
@codecov
Copy link

codecov bot commented Jun 7, 2022

Codecov Report

Merging #887 (fcf3e4a) into master (d1e650e) will increase coverage by 0.03%.
The diff coverage is 82.31%.

❗ Current head fcf3e4a differs from pull request most recent head 2328cbc. Consider uploading reports for the commit 2328cbc to get more accurate results

@@            Coverage Diff             @@
##           master     #887      +/-   ##
==========================================
+ Coverage   80.51%   80.54%   +0.03%     
==========================================
  Files         172      172              
  Lines       14818    15095     +277     
==========================================
+ Hits        11930    12158     +228     
- Misses       2380     2415      +35     
- Partials      508      522      +14     
Impacted Files Coverage Δ
x/profiles/ibc_module.go 0.00% <0.00%> (ø)
x/profiles/keeper/msg_server_app_link.go 0.00% <ø> (ø)
x/profiles/keeper/msg_server_dtag_transfers.go 77.27% <ø> (ø)
x/profiles/keeper/msgs_server_profile.go 83.33% <ø> (ø)
x/profiles/legacy/v6/store.go 63.10% <40.00%> (-3.94%) ⬇️
x/profiles/client/cli/cli_chain_links.go 78.37% <75.00%> (-1.26%) ⬇️
x/profiles/keeper/grpc_query.go 79.51% <77.77%> (-0.27%) ⬇️
x/profiles/keeper/keeper_chain_links.go 85.14% <86.66%> (+0.66%) ⬆️
x/profiles/keeper/alias_functions.go 89.32% <87.09%> (-0.48%) ⬇️
x/profiles/keeper/genesis.go 82.60% <100.00%> (+1.65%) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1e650e...2328cbc. Read the comment docs.

@RiccardoM RiccardoM changed the title feat: ADR 013 Per-chain default external address feat: ADR-013: Per-chain default external address Jun 8, 2022
@dadamu dadamu requested review from RiccardoM and leobragaz July 18, 2022 11:15
x/profiles/keeper/keeper_chain_links_test.go Outdated Show resolved Hide resolved
x/profiles/keeper/keeper_chain_links_test.go Outdated Show resolved Hide resolved
x/profiles/keeper/keeper_chain_links_test.go Outdated Show resolved Hide resolved
x/profiles/keeper/keeper_chain_links_test.go Outdated Show resolved Hide resolved
x/profiles/keeper/keeper_chain_links_test.go Outdated Show resolved Hide resolved
x/profiles/keeper/keeper_chain_links_test.go Outdated Show resolved Hide resolved
x/profiles/spec/07-client.md Outdated Show resolved Hide resolved
x/profiles/spec/07-client.md Outdated Show resolved Hide resolved
x/profiles/spec/07-client.md Outdated Show resolved Hide resolved
x/profiles/spec/03-state.md Outdated Show resolved Hide resolved
x/profiles/spec/02-concepts.md Outdated Show resolved Hide resolved
dadamu and others added 11 commits July 19, 2022 14:24
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Co-authored-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
@dadamu dadamu requested a review from RiccardoM July 19, 2022 06:26
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Copy link
Contributor

@RiccardoM RiccardoM left a comment

Choose a reason for hiding this comment

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

LGTM, great job!

@RiccardoM RiccardoM added the automerge Automatically merge PR once all prerequisites pass label Jul 19, 2022
}
}
```

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you also add the REST endpoint inside the REST section?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added

@dadamu dadamu requested a review from leobragaz July 19, 2022 07:54
Copy link
Contributor

@leobragaz leobragaz left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@mergify mergify bot merged commit e4cfd65 into master Jul 19, 2022
@mergify mergify bot deleted the paul/adr-013-chain-default-address branch July 19, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PR once all prerequisites pass kind/adr An issue or PR relating to an architectural decision record x/CLI x/profiles Module that allows to create and manage decentralized social profiles
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Per-chain default address
3 participants