Skip to content

Commit

Permalink
Merge pull request #612 from hyperweb-io/anmol/exposer-eth-specific
Browse files Browse the repository at this point in the history
feature: add config and use protos for definations
  • Loading branch information
Anmol1696 authored Feb 5, 2025
2 parents 0ab1049 + c2e3a14 commit 544757d
Show file tree
Hide file tree
Showing 20 changed files with 1,391 additions and 2,408 deletions.
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

0 comments on commit 544757d

Please sign in to comment.