Skip to content

Commit

Permalink
Respect sim.loglevel option for op-geth nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsutton committed Mar 8, 2023
1 parent 0c4ec64 commit bd77720
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/op-geth/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -exu

# note: geth wants an integer log level (see L1 hive definition)
VERBOSITY=${HIVE_ETH1_LOGLEVEL:-3}
VERBOSITY=${HIVE_LOGLEVEL:-3}

GETH_DATA_DIR=/db
GETH_CHAINDATA_DIR="$GETH_DATA_DIR/geth/chaindata"
Expand Down
5 changes: 1 addition & 4 deletions optimism/devnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ func (d *Devnet) AddOpL2(opts ...hivesim.StartOption) {
d.T.Fatal("no op-l2 chain configuration found")
return
}
defaultSettings := hivesim.Params{
"HIVE_ETH1_LOGLEVEL": "3",
}
input := []hivesim.StartOption{defaultSettings}
var input []hivesim.StartOption

l2GenesisCfg, err := json.Marshal(d.L2Cfg)
if err != nil {
Expand Down

0 comments on commit bd77720

Please sign in to comment.