Skip to content

Conversation

@moliholy
Copy link
Collaborator

@moliholy moliholy commented Aug 19, 2025

Closes #511

This PR allows to directly specify the network configuration file without the need of specifying the network keyword. Like this:

pop up ./my_network.toml

Couldn't add unit tests since it actually spins up the network and the process never finished. Happy to implement solutions for that with more feedback.

@AlexD10S AlexD10S self-requested a review August 28, 2025 08:11
Copy link
Collaborator

@AlexD10S AlexD10S left a comment

Choose a reason for hiding this comment

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

Nice and clean! No worries about the unit tests, in this specific case it’s complicated to have a unit test. We do have an integration test that runs pop up network ./network.toml, which we could adapt to run only pop up ./network.toml (https://github.com/r0gue-io/pop-cli/blob/main/crates/pop-cli/tests/chain.rs?utm_source=chatgpt.com#L155) But I don’t think it’s necessary for this PR.

As said in another PR the CI is currently failing on the unit tests job, but that’s unrelated to this PR. We’re already working on fixing the tests here: #582

@AlexD10S AlexD10S changed the title Allow to run a network by specifying its configuration feat: allow to run a network by specifying its configuration Sep 1, 2025
@AlexD10S AlexD10S merged commit 6c7b7c6 into r0gue-io:main Sep 1, 2025
28 of 33 checks passed
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.

refactor: pop up network.toml

2 participants