From 0d41026a0a8aa0ca40b93d5d57e343cdef5f2830 Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Mon, 13 Aug 2018 15:12:03 -0700 Subject: [PATCH 1/2] Rename transient store key to be a unique key. This caused an error with non-determinism between nodes with same gaiad version and genesis. --- PENDING.md | 3 ++- cmd/gaia/app/app.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PENDING.md b/PENDING.md index cba76aae6..eb40f8b7b 100644 --- a/PENDING.md +++ b/PENDING.md @@ -7,7 +7,8 @@ BREAKING CHANGES * Gaia CLI (`gaiacli`) * Gaia - + * Make the transient store key use a distinct store key. + * SDK * Tendermint diff --git a/cmd/gaia/app/app.go b/cmd/gaia/app/app.go index 9b318c8b1..a96efa6b1 100644 --- a/cmd/gaia/app/app.go +++ b/cmd/gaia/app/app.go @@ -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 From 165fdf4a07f60cf6f31b1f973c48f13fd1412a7f Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Mon, 13 Aug 2018 18:26:16 -0700 Subject: [PATCH 2/2] (squash this) Add PR ref in changelog --- PENDING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PENDING.md b/PENDING.md index eb40f8b7b..9f0b86a99 100644 --- a/PENDING.md +++ b/PENDING.md @@ -7,7 +7,7 @@ BREAKING CHANGES * Gaia CLI (`gaiacli`) * Gaia - * Make the transient store key use a distinct store key. + * Make the transient store key use a distinct store key. [#2013](https://github.com/cosmos/cosmos-sdk/pull/2013) * SDK