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

Split profiles keeper #440

Merged
merged 5 commits into from
May 26, 2021
Merged

Split profiles keeper #440

merged 5 commits into from
May 26, 2021

Conversation

leobragaz
Copy link
Contributor

Description

This PR split the x/profiles keeper in multiple files handles different kind of operations to improve maintainability.
Closes #430 .

Checklist

  • Targeted PR against correct branch.
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote unit tests.
  • Wrote integration tests (simulation & CLI).
  • Updated the documentation.
  • Added an entry to the CHANGELOG.md file.
  • Re-reviewed Files changed in the Github PR explorer.

@leobragaz leobragaz self-assigned this May 25, 2021
@codecov
Copy link

codecov bot commented May 25, 2021

Codecov Report

Merging #440 (6678b4e) into master (bd11700) will not change coverage.
The diff coverage is 90.07%.

❗ Current head 6678b4e differs from pull request most recent head 9f37ce9. Consider uploading reports for the commit 9f37ce9 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master     #440   +/-   ##
=======================================
  Coverage   72.13%   72.13%           
=======================================
  Files          67       73    +6     
  Lines        3456     3456           
=======================================
  Hits         2493     2493           
  Misses        864      864           
  Partials       99       99           
Impacted Files Coverage Δ
x/profiles/keeper/keeper.go 93.93% <ø> (-2.56%) ⬇️
x/profiles/keeper/msgs_server.go 80.00% <ø> (-3.58%) ⬇️
x/profiles/keeper/msg_server_dtag_transfers.go 77.98% <77.98%> (ø)
x/profiles/keeper/keeper_dtag_transfers.go 94.59% <94.59%> (ø)
x/profiles/keeper/keeper_blocks.go 100.00% <100.00%> (ø)
x/profiles/keeper/keeper_relationships.go 100.00% <100.00%> (ø)
x/profiles/keeper/msg_server_blocks.go 100.00% <100.00%> (ø)
x/profiles/keeper/msg_server_relationships.go 100.00% <100.00%> (ø)
... and 4 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 bd11700...9f37ce9. Read the comment docs.

@leobragaz leobragaz requested a review from RiccardoM May 26, 2021 07:22
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.

Can you also split simulation operations please?

CHANGELOG.md Outdated
@@ -6,6 +6,7 @@
- Standardized `PostID` naming convetions ([#419](https://github.com/desmos-labs/desmos/issues/419))
- Renamed all events `Attribute` into `AttributeKey` ([#423](https://github.com/desmos-labs/desmos/issues/423))
- Updated Cosmos to `v0.42.5` ([#433](https://github.com/desmos-labs/desmos/issues/433))
- Split the `Profiles` `keeper`, `msg_server` in multiple files according to their purpose ([#430](https://github.com/desmos-labs/desmos/issues/430))
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 think we should include code-cleanliness related changes inside the CHANGELOG

@leobragaz
Copy link
Contributor Author

Can you also split simulation operations please?

@RiccardoM It was already splitted

@leobragaz leobragaz requested a review from RiccardoM May 26, 2021 09:35
@RiccardoM RiccardoM merged commit ba96d47 into master May 26, 2021
@RiccardoM RiccardoM deleted the leonardo/split-profiles-keeper branch May 26, 2021 09:44
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.

Split x/profiles keeper into multiple files
2 participants