From dcdf249a3a9bd4a6b0e8005c7e7c6be6a26543bd Mon Sep 17 00:00:00 2001 From: Anshal Shukla <53994948+anshalshukla@users.noreply.github.com> Date: Tue, 12 Sep 2023 10:34:38 +0530 Subject: [PATCH] staking: update log level (#1041) * staking: update log level * update tendermint version * update go versino --- go.mod | 2 +- go.sum | 4 ++-- staking/querier.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index d82585184..294e62c90 100644 --- a/go.mod +++ b/go.mod @@ -142,7 +142,7 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) -replace github.com/tendermint/tendermint => github.com/maticnetwork/tendermint v0.26.0-dev0.0.20230719144702-2a4b4a5a8b55 +replace github.com/tendermint/tendermint => github.com/maticnetwork/tendermint v0.26.0-dev0.0.20230831062110-a7e9709ba003 replace github.com/cosmos/cosmos-sdk => github.com/maticnetwork/cosmos-sdk v0.37.5-0.20230724090011-a85aaf468bfd diff --git a/go.sum b/go.sum index 61222879d..b6be02a9f 100644 --- a/go.sum +++ b/go.sum @@ -618,8 +618,8 @@ github.com/maticnetwork/polyproto v0.0.2/go.mod h1:e1mU2EXSwEpn5jM7GfNwu3AupsV6W github.com/maticnetwork/polyproto v0.0.3-0.20221219122123-40d0e1244129/go.mod h1:e1mU2EXSwEpn5jM7GfNwu3AupsV6WAGoPFFfswXOF0o= github.com/maticnetwork/polyproto v0.0.3-0.20230216113155-340ea926ca53 h1:PjYV+lghs106JKkrYgOnrsfDLoTc11BxZd4rUa4Rus4= github.com/maticnetwork/polyproto v0.0.3-0.20230216113155-340ea926ca53/go.mod h1:e1mU2EXSwEpn5jM7GfNwu3AupsV6WAGoPFFfswXOF0o= -github.com/maticnetwork/tendermint v0.26.0-dev0.0.20230719144702-2a4b4a5a8b55 h1:PWvC08DUojoHcWVigUpri3sTDqAvoAmzFCU821+iEyw= -github.com/maticnetwork/tendermint v0.26.0-dev0.0.20230719144702-2a4b4a5a8b55/go.mod h1:90S74348uYSGfWwNIgvzQiRRakSH/c7VVt1TR5mzIuY= +github.com/maticnetwork/tendermint v0.26.0-dev0.0.20230831062110-a7e9709ba003 h1:Qeu/eGcoZEu5mCY9m7aKADjKj4U9a5W15Qw/tVI8Q14= +github.com/maticnetwork/tendermint v0.26.0-dev0.0.20230831062110-a7e9709ba003/go.mod h1:90S74348uYSGfWwNIgvzQiRRakSH/c7VVt1TR5mzIuY= github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= diff --git a/staking/querier.go b/staking/querier.go index 02ef0d1a6..2c442e298 100644 --- a/staking/querier.go +++ b/staking/querier.go @@ -222,7 +222,7 @@ func handleQueryStakingSequence(ctx sdk.Context, req abci.RequestQuery, keeper K // check if incoming tx already exists if !keeper.HasStakingSequence(ctx, sequence.String()) { - keeper.Logger(ctx).Error("No staking sequence exist: %s %s", params.TxHash, params.LogIndex) + keeper.Logger(ctx).Warn("No staking sequence exist: %s %s", params.TxHash, params.LogIndex) return nil, nil }