AbstractSDK / cw-orchestrator

All-in-one Rust-based CosmWasm testing, scripting, and deployment tool.
https://orchestrator.abstract.money
GNU General Public License v3.0
76 stars 18 forks source link

Network configs #451

Closed Buckram123 closed 1 month ago

Buckram123 commented 1 month ago

New feature network configs. It allows to customize chains passed inside Daemon Builder using a json file or generate new network configs. To use this feature you will need a file networks.json located at ~/.cw-orchestrator/networks.json. Format follows same structure as ChainInfoOwned. You can take template from networks.json.example

Code examples:

Checklist

cloudflare-pages[bot] commented 1 month ago

Deploying cw-orchestrator with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9545c75
Status:⚡️  Build in progress...

View logs

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 7.94702% with 139 lines in your changes missing coverage. Please review.

Project coverage is 54.5%. Comparing base (20f6c2d) to head (760eea7).

Additional details and impacted files | [Files](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/451?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK) | Coverage Δ | | |---|---|---| | [packages/interchain/starship/src/client/faucet.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/451?src=pr&el=tree&filepath=packages%2Finterchain%2Fstarship%2Fsrc%2Fclient%2Ffaucet.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-cGFja2FnZXMvaW50ZXJjaGFpbi9zdGFyc2hpcC9zcmMvY2xpZW50L2ZhdWNldC5ycw==) | `0.0% <0.0%> (ø)` | | | [cw-orch-daemon/src/builder.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/451?src=pr&el=tree&filepath=cw-orch-daemon%2Fsrc%2Fbuilder.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y3ctb3JjaC1kYWVtb24vc3JjL2J1aWxkZXIucnM=) | `76.9% <77.7%> (-1.1%)` | :arrow_down: | | [cw-orch-daemon/src/senders/cosmos.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/451?src=pr&el=tree&filepath=cw-orch-daemon%2Fsrc%2Fsenders%2Fcosmos.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y3ctb3JjaC1kYWVtb24vc3JjL3NlbmRlcnMvY29zbW9zLnJz) | `61.7% <0.0%> (-0.4%)` | :arrow_down: | | [cw-orch-daemon/src/network\_config.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/451?src=pr&el=tree&filepath=cw-orch-daemon%2Fsrc%2Fnetwork_config.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y3ctb3JjaC1kYWVtb24vc3JjL25ldHdvcmtfY29uZmlnLnJz) | `8.3% <8.3%> (ø)` | | | [...ackages/cw-orch-core/src/environment/chain\_info.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/451?src=pr&el=tree&filepath=packages%2Fcw-orch-core%2Fsrc%2Fenvironment%2Fchain_info.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-cGFja2FnZXMvY3ctb3JjaC1jb3JlL3NyYy9lbnZpcm9ubWVudC9jaGFpbl9pbmZvLnJz) | `16.9% <0.0%> (-39.0%)` | :arrow_down: |
CyberHoward commented 1 month ago

Does this change make any changes to how the builder is used?

How do I make use of this feature? (explain in PR description)