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

refactor(app.go): remove capability module #914

Merged
merged 6 commits into from
Aug 9, 2023

Conversation

lumtis
Copy link
Member

@lumtis lumtis commented Aug 7, 2023

Description

Remove capability module since not used.
Didn't identify other unused module. params should be removed too but it should be part of a bigger refactoring since modules must manage their own store for their params

Closes: #726

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.

  • Tested CCTX in localnet
  • Tested in development environment
  • Go unit tests
  • Go integration tests
  • Tested via GitHub Actions

Checklist:

  • I have added unit tests that prove my fix feature works

@lumtis lumtis self-assigned this Aug 7, 2023
@lumtis lumtis marked this pull request as ready for review August 7, 2023 11:59
@fadeev
Copy link
Member

fadeev commented Aug 7, 2023

We can also probably remove this note:

node/app/app.go

Line 520 in 387a701

// NOTE: Capability module must occur first so that it can initialize any capabilities

And remove it from the genesis:

"capability": {
"index": "1",
"owners": []
},

"capability": {
"index": "1",
"owners": []
},

@lumtis
Copy link
Member Author

lumtis commented Aug 7, 2023

We can also probably remove this note:

Can be useful if we add back the module, WDYT?

@brewmaster012
Copy link
Collaborator

brewmaster012 commented Aug 8, 2023 via email

@lumtis lumtis merged commit d549393 into develop Aug 9, 2023
13 checks passed
@lumtis lumtis deleted the refactor/remove-unused-modules branch August 9, 2023 05:49
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.

Remove unused Cosmos SDK modules
4 participants