fix(x/gov): set default constitution in gov migration (backport #17953) (#17983)

Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
This commit is contained in:
mergify[bot]
2023-10-06 08:34:40 +00:00
committed by GitHub
co-authored by Julien Robert marbar3778
parent 53d228f4eb
commit a05fc0d1d6
5 changed files with 33 additions and 7 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func (i Item[V]) Set(ctx context.Context, value V) error {
}
// Has reports whether the item exists in the store or not.
// Returns an error in case
// Returns an error in case encoding fails.
func (i Item[V]) Has(ctx context.Context) (bool, error) {
return (Map[noKey, V])(i).Has(ctx, noKey{})
}