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

feature: add config and use protos for definations #612

Merged
merged 6 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
with:
registry: ghcr.io
username: hyperweb-io
password: ${{ secrets.HYPERWEB_PAT }}
password: ${{ secrets.GH_HYPERWEB_PAT }}

- name: Build
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
with:
registry: ghcr.io
username: hyperweb-io
password: ${{ secrets.HYPERWEB_PAT }}
password: ${{ secrets.GH_HYPERWEB_PAT }}

- name: Build chains
if: github.event_name == 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/starship-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
with:
registry: ghcr.io
username: hyperweb-io
password: ${{ secrets.HYPERWEB_PAT }}
password: ${{ secrets.GH_HYPERWEB_PAT }}

- name: Determine tag
if: steps.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch'
Expand Down
4 changes: 4 additions & 0 deletions starship/exposer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ type Config struct {
NodeIDFile string `name:"node-id-file" json:"node_id_file" env:"NODE_ID_FILE" usage:"Path of node-id json file"`
// GenesisFile is full path to the genesis file
GenesisFile string `name:"genesis-file" json:"genesis_file" env:"GENESIS_FILE" usage:"Path of genesis file"`
// GenesisSSZ is full path to the genesis ssz file
GenesisSSZ string `name:"genesis-ssz" json:"genesis_ssz" env:"GENESIS_SSZ" usage:"Path of genesis ssz file"`
// ConfigFile is full path to the config file
ConfigFile string `name:"config-file" json:"config_file" env:"CONFIG_FILE" usage:"Path of config file"`
// MnemonicFile is full path to the keys file
MnemonicFile string `name:"mnemonic-file" json:"mnemonic_file" env:"MNEMONIC_FILE" usage:"Path of mnemonic file"`
// PrivValFile is full path of the node validator private key file
Expand Down
199 changes: 61 additions & 138 deletions starship/exposer/exposer/mnemonic.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading