Commit 601af96c authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

op-deployer: Bring back error checking in getStandardSuperchainRoles (#13129)

parent c8f4b3a0
...@@ -173,8 +173,14 @@ func getStandardSuperchainRoles(l1ChainId uint64) (*SuperchainRoles, error) { ...@@ -173,8 +173,14 @@ func getStandardSuperchainRoles(l1ChainId uint64) (*SuperchainRoles, error) {
return nil, fmt.Errorf("error getting superchain config: %w", err) return nil, fmt.Errorf("error getting superchain config: %w", err)
} }
proxyAdminOwner, _ := standard.L1ProxyAdminOwner(l1ChainId) proxyAdminOwner, err := standard.L1ProxyAdminOwner(l1ChainId)
guardian, _ := standard.GuardianAddressFor(l1ChainId) if err != nil {
return nil, fmt.Errorf("error getting L1ProxyAdminOwner: %w", err)
}
guardian, err := standard.GuardianAddressFor(l1ChainId)
if err != nil {
return nil, fmt.Errorf("error getting guardian address: %w", err)
}
superchainRoles := &SuperchainRoles{ superchainRoles := &SuperchainRoles{
ProxyAdminOwner: proxyAdminOwner, ProxyAdminOwner: proxyAdminOwner,
......
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