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

dep: Change the tendermint import #90

Closed
ValarDragon opened this issue Jul 24, 2018 · 3 comments
Closed

dep: Change the tendermint import #90

ValarDragon opened this issue Jul 24, 2018 · 3 comments

Comments

@ValarDragon
Copy link
Contributor

Currently we're using an old tendermint version, and we use an equal sign. Because of this, we have to use an override for tendermint in the sdk's gopkg.toml. This makes it hard to import the sdk, and use any type from tendermint. This is because overrides do not apply transitively with dep. Only overrides in the top directory you're calling dep ensure from get applied. Therefore in your downstream application you have to add an override import yourself, which is confusing,

We should change the tendermint import to be ^v0.22.0, or ^v0.22.4. (In the SDK its just getting replaced with v0.22.4 anyway) This would alleviate issues in the future as well.

@liamsi
Copy link
Contributor

liamsi commented Jul 25, 2018

I think, I agree with @silasdavis here: We should duplicate the few methods we use from tendermint instead of updating the dependency. See also: #46 (comment)
also related (the whole repo might end up in the SDK):
tendermint/tendermint#1912 (comment)

@ValarDragon
Copy link
Contributor Author

ValarDragon commented Jul 25, 2018

That sounds more optimal to me. However, I'm not sure what the ETA on that is. The fix I'm proposing is a very quick fix, which we can due in lieu of that change taking awhile.

ValarDragon added a commit that referenced this issue Jul 25, 2018
This is done to remove the need for an override constraint for tendermint
in the sdk.

Closes #90
ValarDragon added a commit that referenced this issue Jul 25, 2018
This is done to remove the need for an override constraint for tendermint
in the sdk.

Closes #90
liamsi pushed a commit that referenced this issue Jul 26, 2018
This is done to remove the need for an override constraint for tendermint
in the sdk.

Closes #90
@liamsi
Copy link
Contributor

liamsi commented Jul 30, 2018

resolved by #91

@liamsi liamsi closed this as completed Jul 30, 2018
ridenaio pushed a commit to idena-network/iavl that referenced this issue Jul 1, 2019
This is done to remove the need for an override constraint for tendermint
in the sdk.

Closes cosmos#90
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

No branches or pull requests

2 participants