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

fix: add missing events to x/profiles #759

Merged
merged 64 commits into from
Mar 2, 2022
Merged

Conversation

RiccardoM
Copy link
Contributor

Description

This PR adds missing events inside the x/profiles modukes

Closes: #721

Depends-On: #750


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)

RiccardoM and others added 30 commits January 14, 2022 10:29
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
…subspace-module-adr-impl

� Conflicts:
�	x/profiles/types/models_chain_links.pb.go
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
…relationships-module

� Conflicts:
�	app/app.go
�	app/desmos/cmd/chainlink/create_json_test.go
�	app/params/weights.go
�	client/docs/swagger-ui/swagger.yaml
�	proto/desmos/profiles/v1beta1/query_relationships.proto
�	proto/desmos/profiles/v2/models_relationships.proto
�	proto/desmos/profiles/v3/genesis.proto
�	proto/desmos/profiles/v3/msg_server.proto
�	proto/desmos/profiles/v3/msgs_dtag_requests.proto
�	proto/desmos/profiles/v3/msgs_profile.proto
�	proto/desmos/profiles/v3/msgs_relationships.proto
�	proto/desmos/profiles/v3/query.proto
�	proto/desmos/profiles/v3/query_relationships.proto
�	proto/desmos/relationships/v1/query.proto
�	proto/desmos/subspaces/v1/genesis.proto
�	proto/desmos/subspaces/v1/msgs.proto
�	proto/desmos/subspaces/v1/query.proto
�	x/profiles/client/cli/cli_test.go
�	x/profiles/keeper/genesis_test.go
�	x/profiles/keeper/grpc_query.go
�	x/profiles/keeper/grpc_query_test.go
�	x/profiles/keeper/invariants.go
�	x/profiles/keeper/invariants_test.go
�	x/profiles/keeper/keeper.go
�	x/profiles/keeper/migrations.go
�	x/profiles/keeper/msg_server_blocks.go
�	x/profiles/keeper/msg_server_relationships.go
�	x/profiles/keeper/msg_server_relationships_test.go
�	x/profiles/legacy/v2/models_relationships.pb.go
�	x/profiles/legacy/v3/store.go
�	x/profiles/module.go
�	x/profiles/simulation/decoder.go
�	x/profiles/simulation/decoder_test.go
�	x/profiles/simulation/genesis.go
�	x/profiles/simulation/operations.go
�	x/profiles/types/genesis.go
�	x/profiles/types/genesis.pb.go
�	x/profiles/types/genesis_test.go
�	x/profiles/types/keys.go
�	x/profiles/types/msg_server.pb.go
�	x/profiles/types/msgs_dtag_requests.pb.go
�	x/profiles/types/msgs_profile.pb.go
�	x/profiles/types/query.pb.go
�	x/profiles/types/query.pb.gw.go
�	x/relationships/client/cli/tx.go
�	x/relationships/keeper/blocks.go
�	x/relationships/keeper/blocks_test.go
�	x/relationships/keeper/msg_server_test.go
�	x/relationships/keeper/relationships.go
�	x/relationships/simulation/operations_relationships.go
�	x/relationships/types/models.go
�	x/relationships/types/msg_server.pb.go
�	x/relationships/types/msgs.go
�	x/relationships/types/query.pb.go
�	x/subspaces/client/cli/cli_test.go
�	x/subspaces/client/cli/query.go
�	x/subspaces/client/cli/tx.go
�	x/subspaces/handler.go
�	x/subspaces/keeper/alias_functions.go
�	x/subspaces/keeper/genesis.go
�	x/subspaces/keeper/genesis_test.go
�	x/subspaces/keeper/groups.go
�	x/subspaces/keeper/groups_test.go
�	x/subspaces/keeper/grpc_query.go
�	x/subspaces/keeper/grpc_query_test.go
�	x/subspaces/keeper/invariants.go
�	x/subspaces/keeper/invariants_test.go
�	x/subspaces/keeper/keeper.go
�	x/subspaces/keeper/msg_server.go
�	x/subspaces/keeper/msg_server_test.go
�	x/subspaces/keeper/permissions.go
�	x/subspaces/keeper/permissions_test.go
�	x/subspaces/keeper/subspaces.go
�	x/subspaces/keeper/subspaces_test.go
�	x/subspaces/simulation/decoder.go
�	x/subspaces/simulation/decoder_test.go
�	x/subspaces/simulation/genesis.go
�	x/subspaces/simulation/operations.go
�	x/subspaces/simulation/operations_groups.go
�	x/subspaces/simulation/operations_permissions.go
�	x/subspaces/simulation/operations_subspaces.go
�	x/subspaces/simulation/utils.go
�	x/subspaces/types/codec.go
�	x/subspaces/types/events.go
�	x/subspaces/types/genesis.go
�	x/subspaces/types/genesis.pb.go
�	x/subspaces/types/genesis_test.go
�	x/subspaces/types/keys.go
�	x/subspaces/types/msgs.go
�	x/subspaces/types/msgs.pb.go
�	x/subspaces/types/msgs_test.go
�	x/subspaces/types/permissions.go
�	x/subspaces/types/query.go
�	x/subspaces/types/query.pb.go
�	x/subspaces/types/query.pb.gw.go

Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
…into riccardo/relationships-module

� Conflicts:
�	x/subspaces/simulation/genesis.go
Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
@github-actions github-actions bot added kind/build Related to the build of the project kind/ci Improve the CI/CD x/CLI x/profiles Module that allows to create and manage decentralized social profiles x/subspaces Issue on the x/subspaces module labels Feb 28, 2022
@codecov
Copy link

codecov bot commented Feb 28, 2022

Codecov Report

Merging #759 (41a193f) into master (8998def) will increase coverage by 0.10%.
The diff coverage is 89.13%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #759      +/-   ##
==========================================
+ Coverage   81.22%   81.32%   +0.10%     
==========================================
  Files          77       77              
  Lines        6195     6239      +44     
==========================================
+ Hits         5032     5074      +42     
- Misses        932      934       +2     
  Partials      231      231              
Impacted Files Coverage Δ
x/profiles/keeper/msg_server_app_link.go 0.00% <0.00%> (ø)
x/profiles/keeper/msg_server_chain_link.go 100.00% <100.00%> (ø)
x/profiles/keeper/msg_server_dtag_transfers.go 76.19% <100.00%> (+4.76%) ⬆️
x/profiles/keeper/msgs_server_profile.go 82.85% <100.00%> (+4.28%) ⬆️

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 8998def...41a193f. Read the comment docs.

Signed-off-by: Riccardo Montagnin <[email protected]>
Signed-off-by: Riccardo Montagnin <[email protected]>
…fix-profiles-events

� Conflicts:
�	.github/workflows/sims.yml
�	app/sim_test.go
�	x/profiles/types/events.go
@github-actions github-actions bot removed x/CLI x/subspaces Issue on the x/subspaces module kind/build Related to the build of the project kind/ci Improve the CI/CD labels Mar 1, 2022
@@ -229,6 +231,7 @@ func TestAppImportExport(t *testing.T) {

{app.keys[subspacestypes.StoreKey], newApp.keys[subspacestypes.StoreKey], [][]byte{}},
{app.keys[profilestypes.StoreKey], newApp.keys[profilestypes.StoreKey], [][]byte{}},
{app.keys[relationshipstypes.StoreKey], newApp.keys[relationshipstypes.StoreKey], [][]byte{}},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is to fix @bragaz comment on the relationships PR which I didn't address due to the automerge

@RiccardoM RiccardoM added the automerge Automatically merge PR once all prerequisites pass label Mar 1, 2022
@RiccardoM RiccardoM mentioned this pull request Mar 1, 2022
19 tasks
@mergify mergify bot merged commit ce83cc5 into master Mar 2, 2022
@mergify mergify bot deleted the riccardo/fix-profiles-events branch March 2, 2022 05:43
mergify bot pushed a commit that referenced this pull request Mar 3, 2022
## Description
This PR improves the gRPC queries for the x/profiles module by moving some parameters from the URL to the query

Closes: #757 

Depends-On: #759

---

### 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](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
- [ ] 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)
- [ ] included the necessary unit and integration [tests](https://github.com/desmos-labs/desmos/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] 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](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
automerge Automatically merge PR once all prerequisites pass 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.

Missing events profiles module
3 participants