Skip to content

Commit

Permalink
Enable wasm mint bindings (CosmWasm#1445)
Browse files Browse the repository at this point in the history
Closes / Related to: CosmWasm#1029

## What is the purpose of the change

Re-instate the CoswmWasm message handlers for Mint and FullDenom. Related to osmosis-labs/bindings#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)
  • Loading branch information
maurolacy authored May 16, 2022
1 parent 6c866c8 commit d82df1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit d82df1f

Please # to comment.