How to replace cosmossdk.io
packages
#20162
-
Hello, I have forked a specific version of In my project repo, I am using Lately, some modules in the upstream So far so good.
The question is: how can I obtain the same behaviour for the following packages?
I basically want to use Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In that case |
Beta Was this translation helpful? Give feedback.
-
Thanks @julienrbrt, I was struggling understanding the versions to be used with that |
Beta Was this translation helpful? Give feedback.
In that case
github.com/my-org/cosmos-sdk/x/tx
needs to be its own go module namedcosmossdk.io/x/tx
.You don't have to tag it, but then you can just replace it like
replace cosmossdk.io/x/tx => github.com/my-org/cosmos-sdk/x/tx
.Same goes for any other of our modules.