Commit bddac539 authored by Will Cory's avatar Will Cory Committed by GitHub

Apply suggestions from code review

Co-authored-by: default avatarHamdi Allam <hamdi.allam97@gmail.com>
parent e8fc677e
...@@ -171,7 +171,6 @@ func LoadConfig(log log.Logger, path string) (Config, error) { ...@@ -171,7 +171,6 @@ func LoadConfig(log log.Logger, path string) (Config, error) {
log.Info("detected preset", "preset", conf.Chain.Preset, "name", preset.Name) log.Info("detected preset", "preset", conf.Chain.Preset, "name", preset.Name)
log.Info("setting L1 information from preset") log.Info("setting L1 information from preset")
conf.Chain = preset.ChainConfig conf.Chain = preset.ChainConfig
log.Info(conf.Chain.L1Contracts.AddressManager.String())
} }
// Setup L2Contracts from predeploys // Setup L2Contracts from predeploys
......
...@@ -34,9 +34,6 @@ func GetDevnetPreset() (*Preset, error) { ...@@ -34,9 +34,6 @@ func GetDevnetPreset() (*Preset, error) {
Name: "devnet", Name: "devnet",
ChainConfig: ChainConfig{ ChainConfig: ChainConfig{
Preset: DEVNET_L2_CHAIN_ID, Preset: DEVNET_L2_CHAIN_ID,
L1StartingHeight: 0,
L1BedrockStartingHeight: 0,
L2BedrockStartingHeight: 0,
L1Contracts: l1Contracts, L1Contracts: l1Contracts,
}, },
}, nil }, nil
......
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