From 00805e564755f696c4696c6abe656cf68678fc83 Mon Sep 17 00:00:00 2001 From: rene <41963722+renaynay@users.noreply.github.com> Date: Fri, 22 Jul 2022 17:42:45 +0200 Subject: [PATCH] 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. --- x/bank/types/keys.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x/bank/types/keys.go b/x/bank/types/keys.go index 4c95fe87cf..7fd89ac2b4 100644 --- a/x/bank/types/keys.go +++ b/x/bank/types/keys.go @@ -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