ci: upstream dep-assert and nomenclature from server/v2 (#19703)
This commit is contained in:
@@ -164,7 +164,7 @@ func newAnteHandler(txConfig client.TxConfig, in ModuleInputs) (sdk.AnteHandler,
|
||||
// NewBankKeeperCoinMetadataQueryFn creates a new Textual struct using the given
|
||||
// BankKeeper to retrieve coin metadata.
|
||||
//
|
||||
// This function should be used in the server (app.go) and is already injected thanks to app wiring for app_v2.
|
||||
// This function should be used in the server (app.go) and is already injected thanks to app wiring for app_di.
|
||||
func NewBankKeeperCoinMetadataQueryFn(bk BankKeeper) textual.CoinMetadataQueryFn {
|
||||
return func(ctx context.Context, denom string) (*bankv1beta1.Metadata, error) {
|
||||
res, err := bk.DenomMetadataV2(ctx, &bankv1beta1.QueryDenomMetadataRequest{Denom: denom})
|
||||
|
||||
Reference in New Issue
Block a user