Skip to content

Commit

Permalink
staking: update log level (maticnetwork#1041)
Browse files Browse the repository at this point in the history
* staking: update log level

* update tendermint version

* update go versino
  • Loading branch information
anshalshukla authored Sep 12, 2023
1 parent 2da029a commit dcdf249
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion staking/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit dcdf249

Please sign in to comment.