Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Move config parsing to use context #1

Closed
wants to merge 3 commits into from
Closed

Conversation

jackzampolin
Copy link
Member

This PR will move the config parsing to stuffing the chains into the context.Context where they will be consumed in the cli functions

Copy link
Contributor

@joeabbey joeabbey left a comment

Choose a reason for hiding this comment

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

LGTM

upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
)

var ModuleBasics = []module.AppModuleBasic{
Copy link
Contributor

Choose a reason for hiding this comment

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

is this for encodings or decoding txs?

Copy link
Member Author

Choose a reason for hiding this comment

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

Both

Debug: debug,
Timeout: "20s",
OutputFormat: "json",
BroadcastMode: "block",
Copy link
Contributor

Choose a reason for hiding this comment

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

should avoid using block, this was meant for testing that ended up bleeding into prod.

Copy link
Member Author

Choose a reason for hiding this comment

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

oh interesting

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess I should add a mempool query that sees if we have a TX in the mempool before trying to submit another one

@jackzampolin
Copy link
Member Author

closing this in favor of other work. Come back to this once cobra merges spf13/cobra#1551

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants