Skip to content

Commit

Permalink
Merge PR cosmos#757: readme: how to use specific version of ibctest
Browse files Browse the repository at this point in the history
* how to use specific version of ibctest

* complete sentences
  • Loading branch information
boojamya authored May 27, 2022
1 parent d0cf6d6 commit 9d46c85
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions ibctest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,32 @@ will continue to run only the faster unit tests.

## Developer notes

If you are developing a new relayer test for `ibc-test-framework`, you may want to run:
### New Test

If you are developing a new relayer test for `ibctest`, you may want to run:

```
go mod edit -replace=github.com/strangelove-ventures/ibc-test-framework=../../../strangelove-ventures/ibc-test-framework
go mod edit -replace=github.com/strangelove-ventures/ibctest=../../../strangelove-ventures/ibctest
```

from this directory.
Be sure to drop the replace, with:

```
go mod edit -dropreplace=github.com/strangelove-ventures/ibc-test-framework
go mod edit -dropreplace=github.com/strangelove-ventures/ibctest
```

before you commit.


### Specify ibctest Version

If you would like to point to a specific version of `ibctest`, you can do so using a commit hash.

From the relayer/ibctest directory, run:

```
go get github.com/strangelove-ventures/ibctest@<COMMIT_HASH_HERE>
```

Your go.mod file should update respectively.

0 comments on commit 9d46c85

Please sign in to comment.