Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
edobry committed Dec 9, 2024
1 parent 275a4ec commit f478121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validation/standard/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ func TestConfigInitialization(t *testing.T) {

t.Run(fmt.Sprintf("MultisigRoles[%s]", network), func(t *testing.T) {
roles := Config.MultisigRoles[network]

// Ensure network MultisigRoles are populated
require.NotNil(t, roles, "Config.MultisigRoles[%s] should not be nil", network)
if roles != nil {
require.NotZero(t, roles, "Config.MultisigRoles[%s] should not be zero value", network)

l1Roles := roles.KeyHandover.L1.Universal
require.NotNil(t, l1Roles, "Config.MultisigRoles[%s].KeyHandover.L1.Universal must be present", network)

if l1Roles != nil {
require.NotEmpty(t, l1Roles["ProxyAdmin"]["owner()"], "Config.MultisigRoles[%s].ProxyAdmin.\"owner()\" must be set", network)
}
Expand Down

0 comments on commit f478121

Please sign in to comment.