Merge pull request #2013 from cosmos/dev/fix_non_determinism_storekey

Rename transient store key to be a unique key.
This commit is contained in:
Jack Zampolin 2018-08-13 19:08:59 -07:00 committed by GitHub
commit 1ae546610c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,8 @@ BREAKING CHANGES
* Gaia CLI (`gaiacli`)
* Gaia
* Make the transient store key use a distinct store key. [#2013](https://github.com/cosmos/cosmos-sdk/pull/2013)
* SDK
* Tendermint

View File

@ -78,7 +78,7 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, baseAppOptio
keyGov: sdk.NewKVStoreKey("gov"),
keyFeeCollection: sdk.NewKVStoreKey("fee"),
keyParams: sdk.NewKVStoreKey("params"),
tkeyParams: sdk.NewTransientStoreKey("params"),
tkeyParams: sdk.NewTransientStoreKey("transient_params"),
}
// define the accountMapper