feat(x/staking): implement RotateConsPubKey method (#18188)

This commit is contained in:
atheeshp
2023-11-15 06:59:50 +00:00
committed by GitHub
parent e269c6d5db
commit 0f8c6c2c12
15 changed files with 496 additions and 231 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func TestMultiIndex(t *testing.T) {
return value.City, nil
})
// we crete two reference keys for primary key 1 and 2 associated with "milan"
// we create two reference keys for primary key 1 and 2 associated with "milan"
require.NoError(t, mi.Reference(ctx, 1, company{City: "milan"}, func() (company, error) { return company{}, collections.ErrNotFound }))
require.NoError(t, mi.Reference(ctx, 2, company{City: "milan"}, func() (company, error) { return company{}, collections.ErrNotFound }))