Skip to content

Commit

Permalink
remove threshold flag, add correct file path (#8)
Browse files Browse the repository at this point in the history
* remove threshold flag, add correct file path

* make sure docker-demo builds

* change to warn
  • Loading branch information
y0sher authored Sep 11, 2023
1 parent 0e15ffa commit 195b39d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ docker-build:

docker-demo:
@echo "Running docker compose demo"
docker-compose up
docker-compose up --build
2 changes: 1 addition & 1 deletion cli/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var StartDKGServer = &cobra.Command{
viper.AddConfigPath("./config")
err := viper.ReadInConfig()
if err != nil {
logger.Fatal("fatal error config file")
logger.Warn("couldn't find config file, its ok if you using, cli params")
}
privKeyPath := viper.GetString("privKey")
if privKeyPath == "" {
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@ services:
"--operatorIDs", "1,2,3,4",
"--operatorsInfoPath", "./data/docker_operators.json",
"--depositResultsPath", "./data/deposit.json",
"--ssvPayloadResultsPath", "./data/deposit.json",
"--ssvPayloadResultsPath", "./data/payload.json",
"--owner", "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494",
"--nonce", "1",
"--threshold", "3",
"--withdrawAddress", "0100000000000000000000001d2f14d2dffee594b4093d42e4bc1b0ea55e8aa7",
]
volumes:
Expand Down

0 comments on commit 195b39d

Please sign in to comment.