Browse Source

rpc: log update (backport #6825) (#6826)

pull/6830/head
mergify[bot] 3 years ago
committed by GitHub
parent
commit
0366c2b688
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      CHANGELOG_PENDING.md
  2. +2
    -1
      rpc/core/abci.go

+ 2
- 1
CHANGELOG_PENDING.md View File

@ -25,8 +25,9 @@ Friendly reminder, we have a [bug bounty program](https://hackerone.com/tendermi
### IMPROVEMENTS
- [rpc] \#6825 Remove egregious INFO log from `ABCI#Query` RPC. (@alexanderbez)
### BUG FIXES
- [light] [\#6685](https://github.com/tendermint/tendermint/pull/6685) fix bug
with incorrectly handling contexts that would occasionally freeze state sync. (@cmwaters)

+ 2
- 1
rpc/core/abci.go View File

@ -26,7 +26,7 @@ func ABCIQuery(
if err != nil {
return nil, err
}
env.Logger.Info("ABCIQuery", "path", path, "data", data, "result", resQuery)
return &ctypes.ResultABCIQuery{Response: *resQuery}, nil
}
@ -37,5 +37,6 @@ func ABCIInfo(ctx *rpctypes.Context) (*ctypes.ResultABCIInfo, error) {
if err != nil {
return nil, err
}
return &ctypes.ResultABCIInfo{Response: *resInfo}, nil
}

Loading…
Cancel
Save