Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

GheisMohammadi
Copy link
Collaborator

This PR adds a new Makefile command, debug-multi-bls-with-terminal, to improve the debugging process for running a localnet with external validators and multiple BLS keys. Unlike the existing debug-multi-bls command, which runs the localnet in the background and requires manual process management to view logs or handle errors, the new command uses screen to run the localnet in the foreground, allowing developers to easily attach to the session (screen -r localnet) and view live logs. All logs are stored in ./tmp_log/localnet_terminal.log for convenient access. Additionally, the localnet automatically shuts down when the terminal or screen session is closed, streamlining cleanup and making it easier to debug issues without manual intervention.

@GheisMohammadi GheisMohammadi self-assigned this Dec 19, 2024
Copy link
Collaborator

@mur-me mur-me left a comment

Choose a reason for hiding this comment

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

Nice, it should work with log aggregator as well

@sophoah sophoah merged commit b17d14c into dev Dec 20, 2024
4 checks passed
@sophoah sophoah deleted the feature/debug_multi_bls_terminal branch December 20, 2024 08:44
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.

3 participants