feat(x/bank/types): Add ModuleQueryPath const to define the bank module's ABCI query path (#12699)

This PR adds a new const `ModuleQueryPath` to define the bank module's ABCI query path to make it clearer when using ABCI query.
This commit is contained in:
rene 2022-07-22 17:42:45 +02:00 committed by GitHub
parent eb9fbb7c8f
commit 00805e5647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,9 @@ const (
// QuerierRoute defines the module's query routing key
QuerierRoute = ModuleName
// ModuleQueryPath defines the ABCI query path of the module
ModuleQueryPath = "store/bank/key"
)
// KVStore keys