Rename transient store key to be a unique key.

This caused an error with non-determinism between nodes with same
gaiad version and genesis.
This commit is contained in:
ValarDragon 2018-08-13 15:12:03 -07:00
parent 61b49d560f
commit 0d41026a0a
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.
* 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