mergify[bot]
e0c6199aae
abci: change client to use multi-reader mutexes (backport #6306 ) ( #6873 )
3 years ago
mergify[bot]
0c05841902
internal/consensus: update error log ( #6863 ) ( #6867 )
Issues reported in Osmosis, where the message is extremely long. Also, there is absolutely no reason to log the message IMO. If we must, we can make the message log DEBUG.
(cherry picked from commit 58a6cfff9a
)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
3 years ago
mergify[bot]
4023580a25
e2e: cleanup node start function ( #6842 ) ( #6848 )
I realized after my last commit that my change made a following line of code a bit redundant.
(alternatively my last change was redunadnt to the existing code.)
I took this oppertunity to make some minor cleanups and logging changes to the node changes which I hope will make tests a bit more clear.
(cherry picked from commit a374f74f7c
)
Co-authored-by: Sam Kleinman <garen@tychoish.com>
3 years ago
mergify[bot]
2db1e422d8
e2e: avoid starting nodes from the future ( #6835 ) ( #6838 )
(cherry picked from commit a4cc8317da
)
Co-authored-by: Sam Kleinman <garen@tychoish.com>
3 years ago
William Banfield
093961ae2d
test: install abci-cli when running make tests_integrations ( #6834 )
3 years ago
Tess Rinearson
d030cddca0
version: bump for 0.34.12 ( #6832 )
3 years ago
Tess Rinearson
3dff227c5b
changelog: prepare for v0.34.12 ( #6831 )
3 years ago
Tess Rinearson
e290bd624f
changelog_pending: add missing entry ( #6830 )
3 years ago
mergify[bot]
0366c2b688
rpc: log update (backport #6825 ) ( #6826 )
3 years ago
mergify[bot]
6fde228e9d
state/privval: vote timestamp fix (backport #6748 ) ( #6783 )
3 years ago
mergify[bot]
b69ac23fd2
light: add case to catch cancelled contexts within the detector (backport #6701 ) ( #6720 )
3 years ago
mergify[bot]
da9eefd111
rpc: add chunked rpc interface (backport #6445 ) ( #6717 )
* rpc: add chunked rpc interface (#6445 )
(cherry picked from commit d9134063e7
)
# Conflicts:
# light/proxy/routes.go
# node/node.go
# rpc/core/net.go
# rpc/core/routes.go
* fix conflicts
Co-authored-by: Sam Kleinman <garen@tychoish.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
3 years ago
Callum Waters
2c2f511f24
light: correctly handle contexts (backport -> v0.34.x) ( #6685 )
3 years ago
Callum Waters
8b84c7c168
e2e: disable app tests for light client ( #6672 )
3 years ago
mergify[bot]
0712063ec8
config: add example on external_address (backport #6621 ) ( #6624 )
3 years ago
Callum Waters
c2908ef785
release: prepare changelog for v0.34.11 ( #6597 )
3 years ago
Callum Waters
d515bbcf1d
statesync: increase chunk priority and robustness ( #6582 )
3 years ago
mergify[bot]
be8c9833ca
state sync: tune request timeout and chunkers (backport #6566 ) ( #6581 )
* state sync: tune request timeout and chunkers (#6566 )
(cherry picked from commit 7d961b55b2
)
# Conflicts:
# CHANGELOG_PENDING.md
# config/config.go
# internal/statesync/reactor.go
# internal/statesync/reactor_test.go
# node/node.go
# statesync/syncer.go
* fix build
* fix config
* fix config
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
3 years ago
mergify[bot]
358b1f23c0
p2p/conn: check for channel id overflow before processing receive msg (backport #6522 ) ( #6528 )
* p2p/conn: check for channel id overflow before processing receive msg (#6522 )
Per tendermint spec, each Channel has a globally unique byte id, which
is mapped to uint8 in Go. However, the proto PacketMsg.ChannelID field
is declared as int32, and when receive the packet, we cast it to a byte
without checking for possible overflow. That leads to a malform packet
with invalid channel id is sent successfully.
To fix it, we just add a check for possible overflow, and return invalid
channel id error.
Fixed #6521
(cherry picked from commit 1f46a4c90e
)
3 years ago
Marko
c376b44f1c
Backport: #6494 ( #6506 )
* version: revert version through ldflag only (#6494 )
Add version back to versions, but allow it to be overridden via a ldflag.
Reason:
Many users are not setting the ldflag causing issues with tooling that relies on it (cosmjs)
closes #6488
cc @webmaster128
* revert variable rename
* Update CHANGELOG_PENDING.md
4 years ago
Callum Waters
8dd8a4e8ea
libs/os: avoid CopyFile truncating destination before checking if regular file (backport: #6428 ) ( #6436 )
4 years ago
mergify[bot]
353e3a3243
evidence: fix bug with hashes (backport #6375 ) ( #6381 )
4 years ago
Tess Rinearson
a9b4fac610
.github: make core team codeowners ( #6384 )
4 years ago
mergify[bot]
1614e12035
statesync: improve e2e test outcomes (backport #6378 ) ( #6380 )
(cherry picked from commit d36a5905a6
)
Co-authored-by: Sam Kleinman <garen@tychoish.com>
4 years ago
Tess Rinearson
68eceda0b5
changelog: update for 0.34.10 ( #6357 )
4 years ago
Callum Waters
b878326396
e2e: relax timeouts ( #6356 )
* remove duplicate light error
* quieten handling of txs that already exist in the mempool
* notch back e2e timeouts
4 years ago
mergify[bot]
693e11c6c6
e2e: tx load to use broadcast sync instead of commit (backport #6347 ) ( #6352 )
4 years ago
mergify[bot]
6cc3e23a95
light: handle too high errors correctly (backport #6346 ) ( #6351 )
4 years ago
Callum Waters
a9ac63510d
p2p: fix using custom channels ( #6339 )
4 years ago
mergify[bot]
bd968aba1f
build(deps): Bump google.golang.org/grpc from 1.36.1 to 1.37.0 (bp #6330 ) ( #6335 )
4 years ago
Tess Rinearson
e54fdb6204
changelog: prepare changelog for 0.34.9 release ( #6333 )
4 years ago
Callum Waters
7869f5ec1d
light/evidence: handle FLA backport ( #6331 )
4 years ago
mergify[bot]
af35ca9cf4
state: fix block event indexing reserved key check ( #6314 ) ( #6315 )
4 years ago
Gustavo Chaín
c9966cd6be
p2p: Fix "Unknown Channel" bug on CustomReactors ( #6297 )
4 years ago
mergify[bot]
6c0c27320c
change index block log to info ( #6290 ) ( #6294 )
## Description
Change log from error to info for indexing blocks
(cherry picked from commit 32ee737d42
)
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
b7a4d5e7ba
fix: jsonrpc url parsing and dial function ( #6264 ) ( #6288 )
This PR fixes how the jsonrpc parses the URL, and how the dial function connects to the RPC.
Closes: https://github.com/tendermint/tendermint/issues/6260
(cherry picked from commit 9ecfcc93a6
)
Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>
4 years ago
mergify[bot]
0682337de2
logging: shorten precommit log message ( #6270 ) ( #6274 )
This is an attempt to clean up the logging message as requested in #6269 .
(cherry picked from commit 3f9066b290
)
Co-authored-by: Sam Kleinman <garen@tychoish.com>
4 years ago
mergify[bot]
b00cac9368
rpc: index block events to support block event queries (bp #6226 ) ( #6261 )
4 years ago
mergify[bot]
b2f01448be
e2e: integrate light clients (bp #6196 )
integrate light clients (#6196 )
fix e2e app test (#6223 )
fix light client generator (#6236 )
4 years ago
mergify[bot]
4e25703d58
rpc/jsonrpc/server: return an error in WriteRPCResponseHTTP(Error) (bp #6204 ) ( #6230 )
* rpc/jsonrpc/server: return an error in WriteRPCResponseHTTP(Error) (#6204 )
instead of panicking
Closes #5529
(cherry picked from commit 00b9524168
)
# Conflicts:
# CHANGELOG_PENDING.md
# rpc/jsonrpc/server/http_json_handler.go
# rpc/jsonrpc/server/http_server.go
# rpc/jsonrpc/server/http_server_test.go
# rpc/jsonrpc/server/http_uri_handler.go
* resolve conflicts
* fix linting
* fix conflict
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
4 years ago
mergify[bot]
d004a584f8
use error.Is to check for nondeterminstic vote error type ( #6237 ) ( #6239 )
(cherry picked from commit bf8cce83db
)
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
4 years ago
mergify[bot]
11523b1302
note: add nondeterministic note to events ( #6220 ) ( #6225 )
## Description
Since events are not hashed into the header they can be non deterministic. Changing an event is not consensus breaking. Will update docs in the spec
(cherry picked from commit 884d4d5252
)
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
8bb85856d0
e2e: add benchmarking functionality (bp #6210 ) ( #6216 )
4 years ago
mergify[bot]
b9cdd0e28e
indexer: remove info log ( #6194 )
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
1b5697a41d
mempool/rpc: log grooming (bp #6201 ) ( #6203 )
4 years ago
mergify[bot]
a047a4a70f
logs: cleanup ( #6198 )
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
52b1d90f56
rpc/jsonrpc: Unmarshal RPCRequest correctly (bp #6191 ) ( #6193 )
* rpc/jsonrpc: Unmarshal RPCRequest correctly (#6191 )
i.e. without double pointer. With double pointer, it was possible to
submit `null` value, which will crash the server.
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x189ddc0]
goroutine 1 [running]:
github.com/tendermint/tendermint/rpc/jsonrpc/types.(*RPCRequest).UnmarshalJSON(0xc0000147e0, 0xc00029f201, 0x4, 0x1ff, 0x883baa0, 0xc0000147e0)
/Users/anton/go/src/github.com/tendermint/tendermint/rpc/jsonrpc/types/types.go:70 +0x100
encoding/json.(*decodeState).literalStore(0xc000216bb0, 0xc00029f201, 0x4, 0x1ff, 0x1998800, 0xc0000147e0, 0x199, 0xc000231700, 0x10e0a5e, 0x197)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:860 +0x30ce
encoding/json.(*decodeState).value(0xc000216bb0, 0x1998800, 0xc0000147e0, 0x199, 0x1998800, 0xc0000147e0)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:384 +0x40c
encoding/json.(*decodeState).array(0xc000216bb0, 0x18df040, 0xc0001be540, 0x16, 0xc000216bd8, 0x10e405b)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:558 +0x365
encoding/json.(*decodeState).value(0xc000216bb0, 0x18df040, 0xc0001be540, 0x16, 0x16, 0x6e)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:360 +0x22f
encoding/json.(*decodeState).unmarshal(0xc000216bb0, 0x18df040, 0xc0001be540, 0xc000216bd8, 0x0)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:180 +0x2c9
encoding/json.Unmarshal(0xc00029f200, 0x6, 0x200, 0x18df040, 0xc0001be540, 0x0, 0x0)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:107 +0x15d
```
(cherry picked from commit fe4e97afe0
)
# Conflicts:
# CHANGELOG_PENDING.md
* fix conflict
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
4 years ago
mergify[bot]
28bebe3ddb
docs/tutorials: fix sample code #6186
Co-authored-by: winor <12413150+winor30@users.noreply.github.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
4 years ago
Tess Rinearson
dea73e08b3
changelog: update for 0.34.8 ( #6181 )
4 years ago
mergify[bot]
28ce355656
libs/log: [JSON format] include timestamp (bp #6174 ) ( #6179 )
Closes #6146
4 years ago