8000 refactor: update Stargate version to v0.40.0 by lumtis · Pull Request #622 · ignite/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: update Stargate version to v0.40.0 #622

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

Merged
merged 14 commits into from
Jan 11, 2021

Conversation

lumtis
Copy link
Contributor
@lumtis lumtis commented Jan 8, 2021

edit:

We have decided to directly migrate to v0.40 in this PR.

--

Remove the RegisterTxService since the necessary since the necessary PR has been merged.

This is necessary for #615 to not depend on a fixed home directory.

@lumtis lumtis requested review from fadeev and ilgooz as code owners January 8, 2021 13:10
Copy link
Member
@ilgooz ilgooz left a comment

Choose a reason for hiding this comment

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

@ltacker do we need to update our SDK version for Stargate after this change? I'm not sure that the version we use contains changes from cosmos/cosmos-sdk#7840.

@lumtis lumtis marked this pull request as draft January 8, 2021 13:23
@lumtis lumtis changed the title fix: remove RegisterTxService workaround refactor: update Stargate version to v0.40.0-rc7 Jan 8, 2021
@ilgooz ilgooz self-assigned this Jan 11, 2021
@ilgooz ilgooz changed the title refactor: update Stargate version to v0.40.0-rc7 refactor: update Stargate version to v0.40.0 Jan 11, 2021
@ilgooz
Copy link
Member
ilgooz commented Jan 11, 2021

@fadeev @ltacker this PR is ready to be reviewed/merged except that Relayer is not yet working.

At Relayer's side, a new version that upgrades to v0.40.0 has just been pushed. But it seems that, it is not stable atm. Relayer's rly keys restore command seems like has a bug which makes it produce an incorrect account address from the mnemonic needs to be restored.

@ilgooz ilgooz marked this pull request as ready for review January 11, 2021 13:43
fadeev
fadeev previously approved these changes Jan 11, 2021
Copy link
Contributor
@fadeev fadeev left a comment

Choose a reason for hiding this comment

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

Very nice! serve works on both RC and release. gaia serves and launches out of the box. We can add relayer support in a minor release once it's working fine.

The only cosmetic change I would make is:

Cosmos SDK Stargate v0.40.0 (or above)

And:

Cosmos SDK Stargate v0.40.0 (pre-release)

@ilgooz
Copy link
Member
ilgooz commented Jan 11, 2021

Seems like coin-type set away from 188 to 118 in a recent change to the Relayer.

This is now fixed by 65e9efa in Starport's side by overwriting the default to 118 with --coin-type flag.

@ilgooz
Copy link
Member
ilgooz commented Jan 11, 2021

I guess Relayer isn't completely migrated to v0.40.0 yet, I can see some failing checks here. Let's wait for a while for it to get fixed.

Would you guys like to merge this PR anyway and correct the Relayer's version once it is ready?

// WithSecondaryCLI provides the secondary CLI name for the blockchain.
// this is useful for Launchpad applications since it has two different binaries but
// not needed by Stargate applications.
func WithSecondaryCLI(cliCmd string) Option {
Copy link
Contributor Author
@lumtis lumtis Jan 11, 2021

Choose a reason for hiding this comment

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

I prefer to keep an explicit name that we are using Launchpad personally. Not very relevant though

Copy link
Member

Choose a reason for hiding this comment

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

Let me address this in another PR. 👍

@fadeev fadeev self-requested a review January 11, 2021 16:22
@ilgooz ilgooz merged commit db5e1bb into develop Jan 11, 2021
@ilgooz ilgooz deleted the fix/remove-RegisterTxService-workaround branch January 11, 2021 16:25
faddat added a commit that referenced this pull request Jan 11, 2021
… sos-lite

* 'develop' of https://github.com/tendermint/starport:
  refactor: update Stargate version to v0.40.0 (#622)
  refactor(services/chain): refactor initialization with New() (#621)
faddat added a commit that referenced this pull request Jan 13, 2021
… rollback-and-merge

* 'develop' of https://github.com/tendermint/starport:
  chore: change Gitpod prompt workdir (#636)
  refactor: standardize --home option usage (#615)
  refactor: update Stargate version to v0.40.0 (#622)
  refactor(services/chain): refactor initialization with New() (#621)
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
* Remove workaround

* Update cosmos version

* Update templates

* migrate to SDK version of v0.40.0

* migrate x/client

* fix integration test

* update relayer to 1daec66

* support both v0.40.0 and v0.40.0-rc-X versions of Stargate

* linter

* template: fix client cmd tx

* fix relayer

* docs

* docs

Co-authored-by: İlker Göktuğ ÖZTÜRK <ilkergoktugozturk@gmail.com>
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
0