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

feat(scripts): load chain env variables on demand #266

Closed
wants to merge 1 commit into from

Conversation

nseguias
Copy link
Contributor

@nseguias nseguias commented Feb 5, 2024

Description and Motivation

This PR enhances the dev experience by a lot, by loading the desired environmental variables into the terminal for an specific chain.

Then, a generic use of queries or transactions can be performed, making commands composable and also saving time.

The exported variables are:

CHAIN_ID, DENOM, BINARY, RPC and the TXFLAG for transactions.

Related Issues

Closes #241


Checklist:

  • I have read Migaloo's contribution guidelines.
  • My pull request has a sound title and description (not something vague like Update index.md)
  • All existing and new tests are passing.
  • I updated/added relevant documentation.
  • The code is formatted properly cargo fmt --all --.
  • Clippy doesn't report any issues cargo clippy -- -D warnings.
  • I have regenerated the schemas if needed cargo schema.

@kerber0x kerber0x closed this Feb 7, 2024
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.

Create a justfile to load whatever chain env variables we need on demand
2 participants