Skip to content

Added script to generate config.toml fromstart.sh#518

Merged
pratikspatil024 merged 7 commits into
developfrom
get-config-script
Sep 23, 2022
Merged

Added script to generate config.toml fromstart.sh#518
pratikspatil024 merged 7 commits into
developfrom
get-config-script

Conversation

@pratikspatil024

Copy link
Copy Markdown
Member

This PR will help generate a config.toml file out from flags present in start.sh.

To run the script, execute the scripts/getConfig.sh file and follow the instructions printed on the terminal.

@pratikspatil024 pratikspatil024 force-pushed the get-config-script branch 6 times, most recently from 420673a to 2e3117f Compare September 21, 2022 07:42
@pratikspatil024 pratikspatil024 marked this pull request as ready for review September 21, 2022 11:08
Comment thread scripts/getconfig.sh Outdated
Comment thread scripts/getconfig.sh Outdated
Comment thread scripts/getconfig.sh Outdated
Comment thread scripts/getconfig.go Outdated

@cffls cffls left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thank you!

Comment thread internal/cli/server/flags.go Outdated
@pratikspatil024 pratikspatil024 merged commit 77db80c into develop Sep 23, 2022
pratikspatil024 added a commit that referenced this pull request Sep 27, 2022
* added go and bash script to get config out of start.sh and updated flagset.go

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated script

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated tests, and removed requiredblocks from json and hcl

* addressed comments
pratikspatil024 added a commit that referenced this pull request Sep 27, 2022
* added go and bash script to get config out of start.sh and updated flagset.go

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated script

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated tests, and removed requiredblocks from json and hcl

* addressed comments
pratikspatil024 added a commit that referenced this pull request Sep 29, 2022
* Added script to generate config.toml fromstart.sh (#518)

* added go and bash script to get config out of start.sh and updated flagset.go

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated script

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated tests, and removed requiredblocks from json and hcl

* addressed comments

* internal/cli/server: fix flag behaviour (#529)

* remove setting maxpeers to 0 for nodiscover flag

* set default prometheus and open-collector endpoint

* skip building grpc address from pprof address and port

* fix: linters

* fix and improve tests

* use loopback address for prometheus and open-collector endpoint

* add logs for prometheus and open-collector setup

* updated the script to handle prometheus-addr

* updated builder/files/config.toml

Co-authored-by: Pratik Patil <pratikspatil024@gmail.com>

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
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.

4 participants