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

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

Merged
merged 7 commits into from
Sep 23, 2022

Conversation

pratikspatil024
Copy link
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
scripts/getconfig.sh Outdated Show resolved Hide resolved
scripts/getconfig.sh Outdated Show resolved Hide resolved
scripts/getconfig.sh Outdated Show resolved Hide resolved
scripts/getconfig.go Outdated Show resolved Hide resolved
Copy link
Contributor

@cffls cffls left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

internal/cli/server/flags.go Outdated Show resolved Hide resolved
@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>
cffls pushed a commit to cffls/bor that referenced this pull request Sep 29, 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
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