Upgrade to tm version 23.0. (#1927)
* Start upgrade. Currently go test ./... hangs. * (squash this) Fix staking tests * wip * note what changes need to be made to make this work on tm v0.23.0 * Fix addr -> pubkey map * cleanup code * Fix slashing test failures except for begin blocker * fix all slashing tests * fix lcd tests * Address PR comments * add link to changelog. * (wip) start making addrToPubkey map persisted. Since amino can't handle maps, we have to change from what this commit is doing. * Use the correct method of storing a map * (squash this) address PR comments * Did you run 'make'? * remove gaiadebug binary
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"net/http"
|
||||
"regexp"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client/tx"
|
||||
|
||||
@@ -564,7 +565,7 @@ func TestUnrevoke(t *testing.T) {
|
||||
signingInfo := getSigningInfo(t, port, pkString)
|
||||
tests.WaitForHeight(4, port)
|
||||
require.Equal(t, true, signingInfo.IndexOffset > 0)
|
||||
require.Equal(t, int64(0), signingInfo.JailedUntil)
|
||||
require.Equal(t, time.Unix(0, 0).UTC(), signingInfo.JailedUntil)
|
||||
require.Equal(t, true, signingInfo.SignedBlocksCounter > 0)
|
||||
}
|
||||
|
||||
|
||||
@@ -223,7 +223,7 @@ func startTM(
|
||||
proxy.NewLocalClientCreator(app),
|
||||
genDocProvider,
|
||||
dbProvider,
|
||||
nm.DefaultMetricsProvider,
|
||||
nm.DefaultMetricsProvider(tmcfg.Instrumentation),
|
||||
logger.With("module", "node"),
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
+1
-1
@@ -44,5 +44,5 @@ func SignTxRequstHandler(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
w.Write(sig.Bytes())
|
||||
w.Write(sig)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user