chore: gofumpt (#11839)
* fumpt using main not master... * be more descriptive * fumpt * fix nits Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
bc2d553f77
commit
55054282d2
@@ -197,7 +197,6 @@ func (k Keeper) GetOwners(ctx sdk.Context, index uint64) (types.CapabilityOwners
|
||||
// and sets the fwd and reverse keys for each owner in the memstore.
|
||||
// It is used during initialization from genesis.
|
||||
func (k Keeper) InitializeCapability(ctx sdk.Context, index uint64, owners types.CapabilityOwners) {
|
||||
|
||||
memStore := ctx.KVStore(k.memKey)
|
||||
|
||||
cap := types.NewCapability(index)
|
||||
@@ -215,7 +214,6 @@ func (k Keeper) InitializeCapability(ctx sdk.Context, index uint64, owners types
|
||||
// Set the mapping from index from index to in-memory capability in the go map
|
||||
k.capMap[index] = cap
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// NewCapability attempts to create a new capability with a given name. If the
|
||||
|
||||
@@ -40,7 +40,6 @@ func TestValidateGenesis(t *testing.T) {
|
||||
}
|
||||
|
||||
genState.Owners = append(genState.Owners, genOwner)
|
||||
|
||||
},
|
||||
expPass: false,
|
||||
},
|
||||
@@ -55,7 +54,6 @@ func TestValidateGenesis(t *testing.T) {
|
||||
}
|
||||
|
||||
genState.Owners = append(genState.Owners, genOwner)
|
||||
|
||||
},
|
||||
expPass: false,
|
||||
},
|
||||
@@ -69,7 +67,6 @@ func TestValidateGenesis(t *testing.T) {
|
||||
}
|
||||
|
||||
genState.Owners = append(genState.Owners, genOwner)
|
||||
|
||||
},
|
||||
expPass: false,
|
||||
},
|
||||
@@ -83,7 +80,6 @@ func TestValidateGenesis(t *testing.T) {
|
||||
}
|
||||
|
||||
genState.Owners = append(genState.Owners, genOwner)
|
||||
|
||||
},
|
||||
expPass: false,
|
||||
},
|
||||
@@ -97,7 +93,6 @@ func TestValidateGenesis(t *testing.T) {
|
||||
}
|
||||
|
||||
genState.Owners = append(genState.Owners, genOwner)
|
||||
|
||||
},
|
||||
expPass: false,
|
||||
},
|
||||
@@ -111,7 +106,6 @@ func TestValidateGenesis(t *testing.T) {
|
||||
}
|
||||
|
||||
genState.Owners = append(genState.Owners, genOwner)
|
||||
|
||||
},
|
||||
expPass: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user