From d82df1f0341065fc3deeef2c5ac0cc995ed34630 Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Mon, 16 May 2022 07:57:27 +0200 Subject: [PATCH] Enable wasm mint bindings (#1445) Closes / Related to: #1029 ## What is the purpose of the change Re-instate the CoswmWasm message handlers for Mint and FullDenom. Related to https://github.com/confio/osmosis-bindings/pull/25 on the Rust side. ## Brief change log - Uncomment the Mint-related code. - Implemented `Mint` using `TokenFactory`. - Implemented `FullDenom` in terms of `TokenFactory`. ## Testing and Verifying Uncommented and adapted already existing tests. ## Documentation and Release Note - Does this pull request introduce a new feature or user-facing behavior changes? (yes. For the CosmWasm side) - Is a relevant changelog entry added to the `Unreleased` section in `CHANGELOG.md`? (will do) - How is the feature or change documented? (not documented) --- keeper/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keeper/keeper.go b/keeper/keeper.go index d8a3a41db9..7b6d97ffc4 100644 --- a/keeper/keeper.go +++ b/keeper/keeper.go @@ -79,7 +79,7 @@ func (k Keeper) GetCreatorPrefixStore(ctx sdk.Context, creator string) sdk.KVSto return prefix.NewStore(store, types.GetCreatorPrefix(creator)) } -// GetCreatorPrefixStore returns the substore that contains a list of creators +// GetCreatorsPrefixStore returns the substore that contains a list of creators func (k Keeper) GetCreatorsPrefixStore(ctx sdk.Context) sdk.KVStore { store := ctx.KVStore(k.storeKey) return prefix.NewStore(store, types.GetCreatorsPrefix())