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

[Admin api] Add a new endpoint to create and start the devnet with a custom config same as node.properties #110

Open
satran004 opened this issue Mar 5, 2025 · 0 comments
Assignees

Comments

@satran004
Copy link
Member

In Yaci Store e2e tests, we need to start the DevKit with different configurations. Currently, we update the node.properties file and restart the DevKit node. However, this is a manual process.

We currently have the reset admin endpoint, which helps reset the node with the same configuration. This is useful in the test code, where we reset the network before running the tests.

But, we could add another endpoint that starts the node with a new configuration. The configuration data could be sent as part of the POST payload to the API. This would be useful in the yaci-store project to test the code against various node configurations specified in the node.properties file without requiring a yaci-cli restart or manual changes.

@satran004 satran004 self-assigned this Mar 5, 2025
satran004 added a commit that referenced this issue Mar 5, 2025
satran004 added a commit that referenced this issue Mar 6, 2025
#111)

* feat: #110 New admin endpoint to create and start node with updated genesis config

* fix: #109 fixed starttime format which causes issue with pycardano (%Y-%m-%dT%H:%M:%SZ)
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

No branches or pull requests

1 participant