Skip to content

Commit

Permalink
Reduce the verbosity of eth2network
Browse files Browse the repository at this point in the history
  • Loading branch information
otherview committed Oct 12, 2023
1 parent 9d0b620 commit e897e27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration/eth2network/eth2_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ func (n *Impl) gethStartNode(executionPort, networkPort, httpPort, wsPort int, d
"--allow-insecure-unlock", // allows to use personal accounts over http/ws
"--nodiscover", // don't try and discover peers
"--ipcdisable", // avoid geth erroring bc the ipc path is too long
"--verbosity", "1",
}
fmt.Printf("gethStartNode: %s %s\n", n.gethBinaryPath, strings.Join(args, " "))
cmd := exec.Command(n.gethBinaryPath, args...) //nolint
Expand Down Expand Up @@ -438,7 +439,7 @@ func (n *Impl) prysmStartBeaconNode(gethAuthRPCPort, rpcPort, p2pPort int, nodeD
"--execution-endpoint", fmt.Sprintf("http://127.0.0.1:%d", gethAuthRPCPort),
"--jwt-secret", path.Join(nodeDataDir, "geth", "jwtsecret"),
"--contract-deployment-block", "0",
"--verbosity", "debug",
"--verbosity", "error",
}

fmt.Printf("prysmStartBeaconNode: %s %s\n", n.prysmBeaconBinaryPath, strings.Join(args, " "))
Expand All @@ -463,6 +464,7 @@ func (n *Impl) prysmStartValidator(beaconHTTPPort int, nodeDataDir string) (*exe
"--force-clear-db",
"--disable-account-metrics",
"--accept-terms-of-use",
"--verbosity", "error",
}

fmt.Printf("prysmStartValidator: %s %s\n", n.prysmValidatorBinaryPath, strings.Join(args, " "))
Expand Down
1 change: 1 addition & 0 deletions integration/obscuroscan/obscuroscan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func TestObscuroscan(t *testing.T) {
assert.NoError(t, err)
assert.NotEqual(t, configFetchObj.Item.SequencerID, gethcommon.Address{})

time.Sleep(5 * time.Minute)
// Gracefully shutdown
err = obsScanContainer.Stop()
assert.NoError(t, err)
Expand Down

0 comments on commit e897e27

Please sign in to comment.