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

Update e2e go.mod #2022

Merged
merged 4 commits into from
Aug 22, 2022
Merged

Update e2e go.mod #2022

merged 4 commits into from
Aug 22, 2022

Conversation

liangping
Copy link
Contributor

Fix: compiling error.
replace IBC module to the local, which is convenient for development

Description

closes: #XXXX


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 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.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

Fix: compiling error.
replace IBC module to the local, which is convenient for development
e2e/go.mod Outdated
replace (
github.com/ChainSafe/go-schnorrkel => github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d
github.com/ChainSafe/go-schnorrkel/1 => github.com/ChainSafe/go-schnorrkel v1.0.0
github.com/cosmos/ibc-go/v5 => ../
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a bit hesitant to pin this.

Currently, ibctest is pinned to v5, if we update to v6, the tests will fail due to a duplicate message registration with multiple ibc-go imports.

We're explicitly keeping it separate right now, but I think having this as a commented line at the bottom of the file would be very useful for development, i.e.

// uncomment to use the local version of ibc-go
// replace github.com/cosmos/ibc-go/v5 => ../`

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, Yeah, it's better.

add comment for local version
@chatton
Copy link
Contributor

chatton commented Aug 17, 2022

Hi @liangping, it looks like you'll need to run go mod tidy also.

@liangping
Copy link
Contributor Author

I did.

@liangping
Copy link
Contributor Author

Let me add it to the comment

@colin-axner colin-axner changed the title Update go.mod Update e2e go.mod Aug 22, 2022
Copy link
Contributor

@chatton chatton left a comment

Choose a reason for hiding this comment

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

LGTM thanks @liangping

@mergify mergify bot merged commit 7ecd35c into cosmos:main Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants