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

Wire up simapp to use mock v2 modules #7401

Merged

Conversation

chatton
Copy link
Contributor

@chatton chatton commented Oct 7, 2024

Description

Review after #7398

This PR wires up 2 mock applications in the simapp.

closes: #7374


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against the correct branch (see CONTRIBUTING.md).
  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/).
  • Added relevant godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

Comment on lines 28 to 32
func NewIBCModule() IBCModule {
return IBCModule{
IBCApp: &IBCApp{},
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

modified signature here to not include the IBCApp as an argument, think it's cleaner this way and don't think it would ever be required to pass a custom IBCApp at module creation time.

"github.com/cosmos/ibc-go/v9/modules/core/exported"
)

// Keeper defines the IBC connection keeper
type Keeper struct {
Router *types.Router
Router *types.Router
RouterV2 *api.Router
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not sure where this should actually go, we can figure this out later unless someone has a strong opinion about putting it somewhere now!

Copy link

sonarcloud bot commented Oct 7, 2024

@chatton chatton merged commit 6a19337 into feat/ibc-eureka Oct 8, 2024
65 checks passed
@chatton chatton deleted the cian/issue#7374-wire-up-simapp-to-use-mock-v2-modules branch October 8, 2024 08:23
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.

3 participants