Skip to content

feat(iota): add default envs to new client.yaml #7950

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 16 commits into from
Jul 28, 2025

Conversation

Alex6323
Copy link
Contributor

@Alex6323 Alex6323 commented Jul 23, 2025

Description of change

Includes default envs { localnet, devnet, testnet, mainnet } in a newly created client.yaml config file to improve UX.

Links to any relevant issues

Fixes #7818

How the change has been tested

  • Basic tests (linting, compilation, formatting, unit/integration tests)
  • Patch-specific tests (correctness, functionality coverage)
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

Additionally verified the changes with the following commands:

cargo run --package iota --bin iota client new-env --alias my-network --rpc https://api.devnet.iota.cafe --graphql https://graphql.devnet.iota.cafe
RUST_LOG=warn cargo run --package iota --bin iota client --yes new-env --alias testnet --rpc https://api.devnet.iota.cafe --graphql https://graphql.devnet.iota.cafe
cargo run --package iota --bin iota client envs

Release Notes

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI: add default network environments { mainnet, testnet, devnet, localnet } to client.yaml
  • Rust SDK:
  • REST API:

@Alex6323 Alex6323 requested a review from a team as a code owner July 23, 2025 09:52
@iota-ci iota-ci added dev-tools Issues related to the Developer Tools Team sc-platform Issues related to the Smart Contract Platform group. labels Jul 23, 2025
Copy link

vercel bot commented Jul 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wallet-dashboard 🛑 Canceled (Inspect) Jul 25, 2025 11:45am
5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
apps-backend ⬜️ Ignored (Inspect) Visit Preview Jul 25, 2025 11:45am
apps-ui-kit ⬜️ Ignored (Inspect) Visit Preview Jul 25, 2025 11:45am
iota-evm-bridge ⬜️ Ignored (Inspect) Visit Preview Jul 25, 2025 11:45am
iota-multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jul 25, 2025 11:45am
rebased-explorer ⬜️ Ignored (Inspect) Visit Preview Jul 25, 2025 11:45am

Copy link
Member

@Thoralf-M Thoralf-M left a comment

Choose a reason for hiding this comment

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

Please also update the release notes

@alexsporn alexsporn merged commit dd15b23 into develop Jul 28, 2025
38 checks passed
@alexsporn alexsporn deleted the dev-tools/prepopulate-client-config branch July 28, 2025 07:10
Thoralf-M added a commit that referenced this pull request Jul 28, 2025
# Description of change

It got removed and then still used, because #7950 was not up to date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-tools Issues related to the Developer Tools Team sc-platform Issues related to the Smart Contract Platform group.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI: populate client.yaml automatically with devnet testnet and mainnet envs
5 participants