Merge PR #3119: Move all store keys into constants

* Move all store keys into constants
* Fix lint issue
* Add Pending.md
* QuerierKey -> QuerierRoute
This commit is contained in:
Jack Zampolin
2018-12-19 20:58:30 +01:00
committed by Christopher Goes
parent 5241c3c7c1
commit 14ebc65daf
56 changed files with 305 additions and 232 deletions
+1 -3
View File
@@ -24,8 +24,6 @@ import (
"github.com/cosmos/cosmos-sdk/types"
)
const ctxAccStoreName = "acc"
var (
verifier tmlite.Verifier
)
@@ -76,7 +74,7 @@ func NewCLIContext() CLIContext {
Client: rpc,
Output: os.Stdout,
NodeURI: nodeURI,
AccountStore: ctxAccStoreName,
AccountStore: auth.StoreKey,
From: viper.GetString(client.FlagFrom),
Height: viper.GetInt64(client.FlagHeight),
TrustNode: viper.GetBool(client.FlagTrustNode),