Commit c9fd6ec2 authored by Mark Tyneway's avatar Mark Tyneway

l2geth: parse fees config

Parse `ROLLUP_ENFORCE_FEES` when set to false
parent a2695a57
---
'@eth-optimism/l2geth': patch
---
Correctly parse fee enforcement via config to allow turning off L2 fees for development
......@@ -1127,7 +1127,7 @@ func setRollup(ctx *cli.Context, cfg *rollup.Config) {
cfg.Backend = backend
}
if ctx.GlobalIsSet(RollupEnforceFeesFlag.Name) {
cfg.EnforceFees = true
cfg.EnforceFees = ctx.GlobalBool(RollupEnforceFeesFlag.Name)
}
if ctx.GlobalIsSet(RollupFeeThresholdDownFlag.Name) {
val := ctx.GlobalFloat64(RollupFeeThresholdDownFlag.Name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment