Commit 12261091 authored by Maurelian's avatar Maurelian

op-upgrade: Rename variable to more descriptive proxyAddresses

parent 5488650d
...@@ -229,7 +229,7 @@ func entrypoint(ctx *cli.Context) error { ...@@ -229,7 +229,7 @@ func entrypoint(ctx *cli.Context) error {
return fmt.Errorf("no implementations for chain ID %d", l2ChainID) return fmt.Errorf("no implementations for chain ID %d", l2ChainID)
} }
addresses, ok := superchain.Addresses[l2ChainID.Uint64()] proxyAddresses, ok := superchain.Addresses[l2ChainID.Uint64()]
if !ok { if !ok {
return fmt.Errorf("no proxy addresses for chain ID %d", l2ChainID) return fmt.Errorf("no proxy addresses for chain ID %d", l2ChainID)
} }
...@@ -253,7 +253,7 @@ func entrypoint(ctx *cli.Context) error { ...@@ -253,7 +253,7 @@ func entrypoint(ctx *cli.Context) error {
} }
// Build the batch // Build the batch
if err := upgrades.L1(&batch, list, *addresses, config, chainConfig, clients.L1Client); err != nil { if err := upgrades.L1(&batch, list, *proxyAddresses, config, chainConfig, clients.L1Client); err != nil {
return fmt.Errorf("cannot build L1 upgrade batch: %w", err) return fmt.Errorf("cannot build L1 upgrade batch: %w", err)
} }
......
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