Skip to content

Commit

Permalink
feat(x/bank/types): Add ModuleQueryPath const to define the bank mo…
Browse files Browse the repository at this point in the history
…dule'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.
  • Loading branch information
renaynay committed Jul 22, 2022
1 parent eb9fbb7 commit 00805e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/bank/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00805e5

Please sign in to comment.