8000 feat(pkg/chaincmd/runner): support YAML encoded CLI response by ilgooz · Pull Request #1468 · ignite/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(pkg/chaincmd/runner): support YAML encoded CLI response #1468

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 6 commits into from
Aug 17, 2021

Conversation

ilgooz
Copy link
Member
@ilgooz ilgooz commented Aug 16, 2021

No description provided.

@ilgooz ilgooz marked this pull request as draft August 16, 2021 15:29
@ilgooz ilgooz marked this pull request as ready for review August 16, 2021 15:46
}

type buffer struct {
*bytes.Buffer
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
*bytes.Buffer
b *bytes.Buffer

A good suggestion from the Uber code style

Copy link
Member Author
@ilgooz ilgooz Aug 17, 2021

Choose a reason for hiding this comment

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

uber looks like very opinionated on this. although it does not apply to our case. they recommend avoiding it for public struct in our case, buffer is a private one.

@fadeev
Copy link
Contributor
fadeev commented Aug 17, 2021

The faucet seems to be working for me, but for some reason I'm seeing mnemonics 😬

~/planet % starport c serve -r
Cosmos SDK's version is: Stargate v0.40.0 (or later)

🔄 Resetting the app state...
🛠️  Building proto...
📦 Installing dependencies...
🛠️  Building the blockchain...
💿 Initializing the app...
🙂 Created account "alice" with address "cosmos1u6x6l44xmn77wf6975wm43uhznzacywmpfddum" with mnemonic: ""
🙂 Created account "bob" with address "cosmos18f5qwd52pvcz8sshut2uw5e0u9r3kv0ssrhzye" with mnemonic: ""
Genesis tr
8000
ansaction written to "/Users/fadeev/.planet/config/gentx/gentx-965793288167fc438624f811c10322aeb6305ba9.json"
🌍 Tendermint node: http://0.0.0.0:26657
🌍 Blockchain API: http://0.0.0.0:1317
🌍 Token faucet: http://0.0.0.0:4500

Works fine on develop.

@ilgooz
Copy link
Member Author
ilgooz commented Aug 17, 2021

@fadeev fixed by 63dc032.

@ilgooz ilgooz requested a review from Pantani August 17, 2021 08:19
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.

Great! Works for me! 🕺

Copy link
Contributor
@lumtis lumtis left a comment

Choose a reason for hiding this comment

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

utACK

@ilgooz ilgooz merged commit fef1676 into hotfix/0.17.2 Aug 17, 2021
@ilgooz ilgooz deleted the feat/support-yaml branch August 17, 2021 09:49
ilgooz added a commit that referenced this pull request Aug 17, 2021
* feat(templates/cmd): upgrade spm to add 'config' cmd (#1417)

* feat(templates/cmd): upgrade spm to add 'config' cmd

to appd.

* also make $HOME/config/client.toml configurable through 'init.client'
section of chain's Starport config.yml.

* default to test

* fix

* fix

* updated changelog

* fix config application order

* fix

Co-authored-by: Denis Fadeev <denis@fadeev.org>

* fix(services/chain): detecting keyring (#1449)

* fix(services/chain): detecting keyring

when client.toml > keyring-backend used.

* fix

* fix

* default to test kb

* fix

* fix(services/chain): default home dir for app (#1457)

* fix(services/chain): support 0.43.x based chains (#1455)

* Apply suggestions from code review

* Apply suggestions from code review

* feat(pkg/chaincmd/runner): support YAML encoded CLI response (#1468)

* feat(pkg/chaincmd/runner): support YAML encoded CLI response

* Apply suggestions from code review

* fix

* fix

* fix

* fix

Co-authored-by: Denis Fadeev <denis@fadeev.org>
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
* feat(templates/cmd): upgrade spm to add 'config' cmd (ignite#1417)

* feat(templates/cmd): upgrade spm to add 'config' cmd

to appd.

* also make $HOME/config/client.toml configurable through 'init.client'
section of chain's Starport config.yml.

* default to test

* fix

* fix

* updated changelog

* fix config application order

* fix

Co-authored-by: Denis Fadeev <denis@fadeev.org>

* fix(service
7A53
s/chain): detecting keyring (ignite#1449)

* fix(services/chain): detecting keyring

when client.toml > keyring-backend used.

* fix

* fix

* default to test kb

* fix

* fix(services/chain): default home dir for app (ignite#1457)

* fix(services/chain): support 0.43.x based chains (ignite#1455)

* Apply suggestions from code review

* Apply suggestions from code review

* feat(pkg/chaincmd/runner): support YAML encoded CLI response (ignite#1468)

* feat(pkg/chaincmd/runner): support YAML encoded CLI response

* Apply suggestions from code review

* fix

* fix

* fix

* fix

Co-authored-by: Denis Fadeev <denis@fadeev.org>
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.

4 participants
0