-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Enable Running Validator As Process & Container #1437
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1437 +/- ##
==========================================
- Coverage 82.45% 82.15% -0.30%
==========================================
Files 103 104 +1
Lines 21069 21132 +63
==========================================
- Hits 17373 17362 -11
- Misses 3696 3770 +74
Continue to review full report at Codecov.
|
..Default::default() | ||
}; | ||
#[allow(unused)] | ||
let guard = telemetry_subscribers::init(config); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can just do let _guard =
instead of #[allow(unused)]
This looks perfect for what we need right now! Thanks! |
Allows one to start a validator with a genesis config.
This allows running validators in containers as long as we provide:
sui_programmability
dir for genesis objectsWe simply need to provide these with the docker file.
Note:
Example below:
With the following config file:
genesis.json
Sample
Dockerfile
Thanks @mystenmark for initial dockerfile