Repository navigation
build(deps): Bump bufbuild/buf-setup-action from 1.10.0 to 1.11.0 - #2
Merged
thanethomson merged 1 commit intoDec 22, 2022
Conversation
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.10.0 to 1.11.0. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](bufbuild/buf-setup-action@v1.10.0...v1.11.0) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
The following labels could not be found: |
thanethomson
approved these changes
Dec 22, 2022
dependabot
Bot
deleted the
dependabot/github_actions/main/bufbuild/buf-setup-action-1.11.0
branch
December 22, 2022 22:08
2 tasks done
hvanz
added a commit
that referenced
this pull request
Jun 17, 2024
mmsqe
pushed a commit
to mmsqe/cometbft
that referenced
this pull request
Nov 6, 2024
…cometbft#2) * proxy: Remove "unsynchronized" local client creator * proxy: Expand client creator interface Expand the `ClientCreator` interface to allow the caller to explicitly specify the "connection" whose client they are creating. This potentially gives greater control over the concurrency model employed in each type of connection. * abci/client: Clarify NewLocalClient description * proxy: Add connection-synchronized local client creator Analogous to the old "unsynchronized" local client creator. * abci/client: Add unsynchronized local client * proxy: Add consensus-synchronized local client creator * proxy: Fix mock configuration in test * Add changelog entries * Remove changelog entry - no longer necessary * proxy: Add unsynchronized local client creator * changelog: Add entry for unsync local client creator * Update 1141-abci-unsync-proxy.md --------- Signed-off-by: Thane Thomson <[email protected]> Co-authored-by: Thane Thomson <[email protected]> Co-authored-by: Adi Seredinschi <[email protected]>
melekes
added a commit
that referenced
this pull request
Jan 28, 2025
due to sec vuln Vulnerability #1: GO-2025-3420 Sensitive headers incorrectly sent after cross-domain redirect in net/http More info: https://pkg.go.dev/vuln/GO-2025-3420 Standard library Found in: net/[email protected] Fixed in: net/[email protected] Example traces found: Error: #1: rpc/jsonrpc/client/http_json_client.go:231:34: client.Client.Call calls http.Client.Do Error: #2: libs/cli/setup.go:89:26: cli.Executor.Execute calls cobra.Command.Execute, which eventually calls http.Client.Get Error: #3: cmd/cometbft/commands/debug/util.go:70:23: debug.dumpProfile calls http.Get Vulnerability #2: GO-2025-3373 Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509 More info: https://pkg.go.dev/vuln/GO-2025-3373 Standard library Found in: crypto/[email protected] Fixed in: crypto/[email protected] Example traces found: Error: #1: abci/tutorials/abci-v2-forum-app/model/db.go:143:20: model.DB.Close calls badger.DB.Close, which eventually calls x509.CertPool.AppendCertsFromPEM Error: #2: internal/autofile/group.go:468:30: autofile.GroupReader.Read calls bufio.Reader.Read, which eventually calls x509.Certificate.Verify Error: #3: rpc/jsonrpc/client/ws_client.go:290:29: client.WSClient.dial calls websocket.Dialer.Dial, which eventually calls x509.Certificate.VerifyHostname Error: #4: light/errors.go:483:84: light.errBadWitness.Error calls x509.HostnameError.Error Error: #5: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParseCertificate Error: #6: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParseECPrivateKey Error: #7: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParsePKCS1PrivateKey Error: #8: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParsePKCS8PrivateKey
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Jan 30, 2025
due to sec vuln Vulnerability #1: GO-2025-3420 Sensitive headers incorrectly sent after cross-domain redirect in net/http More info: https://pkg.go.dev/vuln/GO-2025-3420 Standard library Found in: net/[email protected] Fixed in: net/[email protected] Example traces found: Error: #1: rpc/jsonrpc/client/http_json_client.go:231:34: client.Client.Call calls http.Client.Do Error: #2: libs/cli/setup.go:89:26: cli.Executor.Execute calls cobra.Command.Execute, which eventually calls http.Client.Get Error: #3: cmd/cometbft/commands/debug/util.go:70:23: debug.dumpProfile calls http.Get Vulnerability #2: GO-2025-3373 Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509 More info: https://pkg.go.dev/vuln/GO-2025-3373 Standard library Found in: crypto/[email protected] Fixed in: crypto/[email protected] Example traces found: Error: #1: abci/tutorials/abci-v2-forum-app/model/db.go:143:20: model.DB.Close calls badger.DB.Close, which eventually calls x509.CertPool.AppendCertsFromPEM Error: #2: internal/autofile/group.go:468:30: autofile.GroupReader.Read calls bufio.Reader.Read, which eventually calls x509.Certificate.Verify Error: #3: rpc/jsonrpc/client/ws_client.go:290:29: client.WSClient.dial calls websocket.Dialer.Dial, which eventually calls x509.Certificate.VerifyHostname Error: #4: light/errors.go:483:84: light.errBadWitness.Error calls x509.HostnameError.Error Error: #5: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParseCertificate Error: #6: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParseECPrivateKey Error: #7: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParsePKCS1PrivateKey Error: #8: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParsePKCS8PrivateKey
mergify Bot
pushed a commit
that referenced
this pull request
Jan 30, 2025
due to sec vuln Vulnerability #1: GO-2025-3420 Sensitive headers incorrectly sent after cross-domain redirect in net/http More info: https://pkg.go.dev/vuln/GO-2025-3420 Standard library Found in: net/[email protected] Fixed in: net/[email protected] Example traces found: Error: #1: rpc/jsonrpc/client/http_json_client.go:231:34: client.Client.Call calls http.Client.Do Error: #2: libs/cli/setup.go:89:26: cli.Executor.Execute calls cobra.Command.Execute, which eventually calls http.Client.Get Error: #3: cmd/cometbft/commands/debug/util.go:70:23: debug.dumpProfile calls http.Get Vulnerability #2: GO-2025-3373 Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509 More info: https://pkg.go.dev/vuln/GO-2025-3373 Standard library Found in: crypto/[email protected] Fixed in: crypto/[email protected] Example traces found: Error: #1: abci/tutorials/abci-v2-forum-app/model/db.go:143:20: model.DB.Close calls badger.DB.Close, which eventually calls x509.CertPool.AppendCertsFromPEM Error: #2: internal/autofile/group.go:468:30: autofile.GroupReader.Read calls bufio.Reader.Read, which eventually calls x509.Certificate.Verify Error: #3: rpc/jsonrpc/client/ws_client.go:290:29: client.WSClient.dial calls websocket.Dialer.Dial, which eventually calls x509.Certificate.VerifyHostname Error: #4: light/errors.go:483:84: light.errBadWitness.Error calls x509.HostnameError.Error Error: #5: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParseCertificate Error: #6: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParseECPrivateKey Error: #7: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParsePKCS1PrivateKey Error: #8: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParsePKCS8PrivateKey (cherry picked from commit e4cbca8) # Conflicts: # .golangci.yml
mergify Bot
added a commit
that referenced
this pull request
Jan 30, 2025
due to sec vuln Vulnerability #1: GO-2025-3420 Sensitive headers incorrectly sent after cross-domain redirect in net/http More info: https://pkg.go.dev/vuln/GO-2025-3420 Standard library Found in: net/[email protected] Fixed in: net/[email protected] Example traces found: Error: #1: rpc/jsonrpc/client/http_json_client.go:231:34: client.Client.Call calls http.Client.Do Error: #2: libs/cli/setup.go:89:26: cli.Executor.Execute calls cobra.Command.Execute, which eventually calls http.Client.Get Error: #3: cmd/cometbft/commands/debug/util.go:70:23: debug.dumpProfile calls http.Get Vulnerability #2: GO-2025-3373 Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509 More info: https://pkg.go.dev/vuln/GO-2025-3373 Standard library Found in: crypto/[email protected] Fixed in: crypto/[email protected] Example traces found: Error: #1: abci/tutorials/abci-v2-forum-app/model/db.go:143:20: model.DB.Close calls badger.DB.Close, which eventually calls x509.CertPool.AppendCertsFromPEM Error: #2: internal/autofile/group.go:468:30: autofile.GroupReader.Read calls bufio.Reader.Read, which eventually calls x509.Certificate.Verify Error: #3: rpc/jsonrpc/client/ws_client.go:290:29: client.WSClient.dial calls websocket.Dialer.Dial, which eventually calls x509.Certificate.VerifyHostname Error: #4: light/errors.go:483:84: light.errBadWitness.Error calls x509.HostnameError.Error Error: #5: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParseCertificate Error: #6: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParseECPrivateKey Error: #7: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParsePKCS1PrivateKey Error: #8: rpc/jsonrpc/server/http_server.go:166:19: server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually calls x509.ParsePKCS8PrivateKey <hr>This is an automatic backport of pull request #4888 done by [Mergify](https://mergify.com). --------- Co-authored-by: Anton Kaliaev <[email protected]>
jmalicevic
referenced
this pull request
in informalsystems/cometbft
May 14, 2025
* Added votes to header + added secp256k1 + other changes * updated import * txHash fix+update canonical rep * removed sig size * docs: fix consensus spec formatting (cometbft#3804) * abci/server: recover from app panics in socket server (cometbft#3809) fixes cometbft#3800 * abci/client: fix DATA RACE in gRPC client (cometbft#3798) * Remove go func {}() closes #357 - Remove go func(){}() that caused race condiditon - To reproduce - add -race in make file to `install_abci` - Remove `CGO_ENABLED=0` & add -race to `install` Signed-off-by: Marko Baricevic <[email protected]> * remove -race * fix data race also, reorder callbacks similarly to socket client * docs: "Writing a built-in Tendermint Core application in Go" guide (cometbft#3608) * docs: go built-in guide * fix package imports, add badger db, simplify Query * newTendermint function * working example * finish the first guide * add one more note * add the second Golang guide - external ABCI app * fix typos * libs: Remove db from tendermint in favor of tendermint/tm-cmn (cometbft#3811) * Remove db from tendemrint in favor of tendermint/tm-cmn - remove db from `libs` - update dependancy, there have been no breaking changes in the updated deps - https://github.com/grpc/grpc-go/releases - https://github.com/golang/protobuf/releases Signed-off-by: Marko Baricevic <[email protected]> * changelog add * gofmt * more gofmt * docs: add A TOC to the Readme.md of ADR Section (#3820) * ADR TOC in readme.md * Added A TOC to the Readme.md of ADR Section - Added table of contents to the Readme of the architecture section. - Easier to traverse and when you know what is there. - If the Adr's become viewable online it would help guide the user Signed-off-by: Marko Baricevic <[email protected]> * add tm-cmn to subprojects * normalize word * rpc: make max_body_bytes and max_header_bytes configurable (cometbft#3818) * rpc: make max_body_bytes and max_header_bytes configurable * update changelog pending * p2p/conn: Add Bufferpool (cometbft#3664) * use byte buffer pool to decreass allocs * wrap to put buffer in defer * wapper defer * add dependency * remove Gopkg,* * add change log * rpc: /broadcast_evidence (cometbft#3481) * implement broadcast_duplicate_vote endpoint * fix test_cover * address comments * address comments * Update abci/example/kvstore/persistent_kvstore.go Co-Authored-By: mossid <[email protected]> * Update rpc/client/main_test.go Co-Authored-By: mossid <[email protected]> * address comments in progress * reformat the code * make linter happy * make tests pass * replace BroadcastDuplicateVote with BroadcastEvidence * fix test * fix endpoint name * improve doc * fix TestBroadcastEvidenceDuplicateVote * Update rpc/core/evidence.go Co-Authored-By: Thane Thomson <[email protected]> * add changelog entry * fix TestBroadcastEvidenceDuplicateVote * mempool: make max_msg_bytes configurable (cometbft#3826) * mempool: make max_msg_bytes configurable * apply suggestions from code review * update changelog pending * apply suggestions from code review again * rpc: return err if page is incorrect (less than 0 or greater than tot… (cometbft#3825) * rpc: return err if page is incorrect (less than 0 or greater than total pages) Fixes cometbft#3813 * fix rpc_test * blockchain: Reorg reactor (cometbft#3561) * go routines in blockchain reactor * Added reference to the go routine diagram * Initial commit * cleanup * Undo testing_logger change, committed by mistake * Fix the test loggers * pulled some fsm code into pool.go * added pool tests * changes to the design added block requests under peer moved the request trigger in the reactor poolRoutine, triggered now by a ticker in general moved everything required for making block requests smarter in the poolRoutine added a simple map of heights to keep track of what will need to be requested next added a few more tests * send errors to FSM in a different channel than blocks send errors (RemovePeer) from switch on a different channel than the one receiving blocks renamed channels added more pool tests * more pool tests * lint errors * more tests * more tests * switch fast sync to new implementation * fixed data race in tests * cleanup * finished fsm tests * address golangci comments :) * address golangci comments :) * Added timeout on next block needed to advance * updating docs and cleanup * fix issue in test from previous cleanup * cleanup * Added termination scenarios, tests and more cleanup * small fixes to adr, comments and cleanup * Fix bug in sendRequest() If we tried to send a request to a peer not present in the switch, a missing continue statement caused the request to be blackholed in a peer that was removed and never retried. While this bug was manifesting, the reactor kept asking for other blocks that would be stored and never consumed. Added the number of unconsumed blocks in the math for requesting blocks ahead of current processing height so eventually there will be no more blocks requested until the already received ones are consumed. * remove bpPeer's didTimeout field * Use distinct err codes for peer timeout and FSM timeouts * Don't allow peers to update with lower height * review comments from Ethan and Zarko * some cleanup, renaming, comments * Move block execution in separate goroutine * Remove pool's numPending * review comments * fix lint, remove old blockchain reactor and duplicates in fsm tests * small reorg around peer after review comments * add the reactor spec * verify block only once * review comments * change to int for max number of pending requests * cleanup and godoc * Add configuration flag fast sync version * golangci fixes * fix config template * move both reactor versions under blockchain * cleanup, golint, renaming stuff * updated documentation, fixed more golint warnings * integrate with behavior package * sync with master * gofmt * add changelog_pending entry * move to improvments * suggestion to changelog entry * Renamed wire.go to codec.go (cometbft#3827) * Renamed wire.go to codec.go - Wire was the previous name of amino - Codec describes the file better than `wire` & `amino` Signed-off-by: Marko Baricevic <[email protected]> * ide error * rename amino.go to codec.go * docs: add guides to docs (cometbft#3830) * add staticcheck linting (cometbft#3828) cleanup to add linter grpc change: https://godoc.org/google.golang.org/grpc#WithContextDialer https://godoc.org/google.golang.org/grpc#WithDialer grpc/grpc-go#2627 prometheous change: due to UninstrumentedHandler, being deprecated in the future empty branch = empty if or else statement didn't delete them entirely but commented couldn't find a reason to have them could not replicate the issue cometbft#3406 but if want to keep it commented then we should comment out the if statement as well * types: move MakeVote / MakeBlock functions (cometbft#3819) to the types package Paritally Fixes cometbft#3584 * p2p: Fix error logging for connection stop (cometbft#3824) * p2p: fix false-positive error logging when stopping connections This changeset fixes two types of false-positive errors occurring during connection shutdown. The first occurs when the process invokes FlushStop() or Stop() on a connection. While the previous behavior did properly wait for the sendRoutine to finish, it did not notify the recvRoutine that the connection was shutting down. This would cause the recvRouting to receive and error when reading and log this error. The changeset fixes this by notifying the recvRoutine that the connection is shutting down. The second occurs when the connection is terminated (gracefully) by the other side. The recvRoutine would get an EOF error during the read, log it, and stop the connection with an error. The changeset detects EOF and gracefully shuts down the connection. * bring back the comment about flushing * add changelog entry * listen for quitRecvRoutine too * we have to call stopForError Otherwise peer won't be removed from the peer set and maybe readded later. * p2p: Do not write 'Couldn't connect to any seeds' if there are no seeds (cometbft#3834) * Do not write 'Couldn't connect to any seeds' if there are no seeds * changelog * remove privValUpgrade * Fix typo in changelog * Update CHANGELOG_PENDING.md Co-Authored-By: Marko <[email protected]> I'm setting up all peers dynamically by calling dial_peers, so p2p.seeds in configs is empty, and I'm seeing error log a lot in logs. * docs: add a footer to guides (cometbft#3835) * docs: "Writing a Tendermint Core application in Kotlin (gRPC)" guide (cometbft#3838) * add abci grpc kotlin guide * Update docs/guides/kotlin.md Co-Authored-By: Anton Kaliaev <[email protected]> * Update docs/guides/kotlin.md Co-Authored-By: Anton Kaliaev <[email protected]> * Update docs/guides/kotlin.md Co-Authored-By: Anton Kaliaev <[email protected]> * Update kotlin.md * node: allow replacing existing p2p.Reactor(s) (cometbft#3846) * node: allow replacing existing p2p.Reactor(s) using [`CustomReactors` option](https://godoc.org/github.com/tendermint/tendermint/node#CustomReactors). Warning: beware of accidental name clashes. Here is the list of existing reactors: MEMPOOL, BLOCKCHAIN, CONSENSUS, EVIDENCE, PEX. * check the absence of "CUSTOM" prefix * merge 2 tests * add doc.go to node package * gocritic (1/2) (cometbft#3836) Add gocritic as a linter The linting is not complete, but should i complete in this PR or in a following. 23 files have been touched so it may be better to do in a following PR Commits: * Add gocritic to linting - Added gocritic to linting Signed-off-by: Marko Baricevic <[email protected]> * gocritic * pr comments * remove switch in cmdBatch * tm-cmn to tm-db (cometbft#3850) * tm-cmn to tm-db * go.mod changes * go.mod changes * more go.mod * fix tm-db * ci fix, pending change * version tmdb (cometbft#3854) * txindexer: Refactor Tx Search Aggregation (cometbft#3851) - Replace the previous intersect call, which was called at each query condition, with a map intersection. - Replace fmt.Sprintf with string() closes: cometbft#3076 Benchmarks ``` Old goos: darwin goarch: amd64 pkg: github.com/tendermint/tendermint/state/txindex/kv BenchmarkTxSearch-4 200 103641206 ns/op 7998416 B/op 71171 allocs/op PASS ok github.com/tendermint/tendermint/state/txindex/kv 26.019s New goos: darwin goarch: amd64 pkg: github.com/tendermint/tendermint/state/txindex/kv BenchmarkTxSearch-4 1000 38615024 ns/op 13515226 B/op 166460 allocs/op PASS ok github.com/tendermint/tendermint/state/txindex/kv 53.618s ``` ~62% performance improvement Commits: * Refactor tx search * Add pending changelog entry * Add tx search benchmarking * remove intermediate hashes list also reset timer in BenchmarkTxSearch and fix other benchmark * fix import * Add test cases * Fix searching * Replace fmt.Sprintf with string * Update state/txindex/kv/kv.go Co-Authored-By: Anton Kaliaev <[email protected]> * Rename params * Cleanup * Check error in benchmarks * release for v0.32.2 * Merge PR cometbft#3860: Update log v0.32.2 * changelog updates * pr comments * Fix for panic in signature verification if a peer sends a nil public key. * update version.go * Changelog update * Update CHANGELOG.md Co-Authored-By: Anton Kaliaev <[email protected]> * update changelog * p2p: only allow ed25519 pubkeys when connecting also, recover from any possible failures in acceptPeers Refs cometbft#4030 * update changelog and bump version to v0.32.6 * set the date to today * cs: panic only when WAL#WriteSync fails - modify WAL#Write and WAL#WriteSync to return an error * types: validate Part#Proof add ValidateBasic to crypto/merkle/SimpleProof * cs: limit max bit array size and block parts count * cs: test new limits * cs: only assert important stuff * update changelog and bump version to 0.32.7 * fixes after Ethan's review * align max wal msg and max consensus msg sizes * fix tests * fix test * use bor * add data in commit * remove votes from header * new: add proposal results in vote * fix: go mod * new: add sidechannel proto objects * new: add begin side blocker and deliver side tx * new: add side tx results in begin side block * add: add side tx results into request begin side-block * chg: add address in sig object * chg: add events in side block * chg: allow empty sig * chg: add flag to execute side-tx while not syncing * chg: remove data from vote * fix: use last byte on bigendian bytes * fix: call sidetx result for string method * feat: add rollback feature * Use bor version v0.2.16 * Change log level tag from a single character to a full word This will change logging format from: D[2016-05-02|11:06:44.322] to: DEBUG[2016-05-02|11:06:44.322] The purpose is to unify the logging with bor. * consensus,scripts,state,store,types: change PartSetHeader total to uint32 * libs/log: add warn log level (cometbft#27) * libs/log: add warn log level * mardizzone/POS-1609: dev: chg: bump btcd dep and solve related issues * mardizzone/POS-1609: dev: chg: solve vulnerabilities associated with some packages * mardizzone/POS-1609: dev: chg: update bor version and replace tm-db * mardizzone/POS-1609: dev: chg: bump go version * mardizzone/POS-1609: dev: chg: bump go version to latest patch * Changed the value of default maxNumInboundPeers and maxNumOutboundPeers * made Stopping peer for error log as debig (cometbft#30) * made dialing failed log as debug (cometbft#31) * Added log to print number of peers (cometbft#32) * added log to print number of peers * update * peppermint: changes to crypto * Modified NewFilePV to generate secp256k1 * (temporarily) allow both tendermint/P*KeySecp256k1 and comet/P*KeySecp256k1Uncompressed to ease migration * Forward-port disabled `MaxSignatureSize` checks (+ new ones needed) * cherry pick secp256k1 migration commits + go mod tidy * blocksync,consensus,crypto,libs,types: fix tests and more conflicts * consensus,libs,types: fix tests, vulns from govuln and some lint errors * ci: bump go version to 1.21.4 * Fixed `TestPubKeySecp256k1Address` * crypto: enforce curve group order checks in genPrivKey * abci,crypto: fix conflicts and tests * types: fix TestInvalidPrecommitExtensions * fix lint * Extend kvstore example add with with key types * Fix `TestReactorValidatorSetChanges` * Fix UTs in `execution_test.go` * Fix `TestEvidencePoolBasic` * Fix `TestVoteExtension` * test/e2e: use go 1.21.4 in docker * test/e2e: use secp256k1 as default key type in testnet setup * p2p/conn: use secp256k1 for p2p authentication * p2p/conn: allow both secp256k1 and ed25519 key types for authentication * all: address PR comments * types,blocksync: fix lint + tests + bump deps complained by govuln * crypto,state,test: resolve conflicts from v0.38.5 * abci: resolve conflicts from v0.38.5 * resolve go mod deps * Revert "Merge branch 'v0.38.5-upstream' into raneet10/peppermint-changes" This reverts commit 2706fc9, reversing changes made to e404e0f. * Revert "Revert "Merge branch 'v0.38.5-upstream' into raneet10/peppermint-changes"" This reverts commit fc56973. * all: fix issue from merge * docs: remove Warn log definition from ADR * state: remove outdated comments * types: increase MaxSignatureSize to 65 and unskip related tests * cmd: minor refactor Co-authored-by: Sergio Mena <[email protected]> * libs/protoio: minor refactor Co-authored-by: Sergio Mena <[email protected]> * libs/pubsub: minor refactor Co-authored-by: Sergio Mena <[email protected]> * state: minor refactor Co-authored-by: Sergio Mena <[email protected]> * state: minor restructure in test Co-authored-by: Sergio Mena <[email protected]> * types: fix TestMaxCommitBytes + lint * state,types: fix TestTxFilter and TestBlockMaxDataBytes * types: fix TestBlockMaxDataBytesNoEvidence * types: fix TestInvalidPrecommitExtensions * abci,types: address comments * crypto,proto: add secp256k1_uncompressed oneof in PublicKey proto message type * remove revive from .golangci.yml * remove replace of go-ethereum dep with bor and go mod tidy --------- Co-authored-by: vaibhavchellani <[email protected]> Co-authored-by: Alex Dupre <[email protected]> Co-authored-by: Roman Useinov <[email protected]> Co-authored-by: Marko <[email protected]> Co-authored-by: Anton Kaliaev <[email protected]> Co-authored-by: Jun Kimura <[email protected]> Co-authored-by: zjubfd <[email protected]> Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: folex <[email protected]> Co-authored-by: Ivan Kushmantsev <[email protected]> Co-authored-by: Alexander Bezobchuk <[email protected]> Co-authored-by: Ethan Buchman <[email protected]> Co-authored-by: Zaki Manian <[email protected]> Co-authored-by: Zaki Manian <[email protected]> Co-authored-by: Jaynti Kanani <[email protected]> Co-authored-by: Sai Kumar <[email protected]> Co-authored-by: Krishna Upadhyaya <[email protected]> Co-authored-by: Jerry <[email protected]> Co-authored-by: Anshal Shukla <[email protected]> Co-authored-by: marcello33 <[email protected]> Co-authored-by: Vaibhav Jindal <[email protected]> Co-authored-by: VaibhavJindal <[email protected]> Co-authored-by: Pratik Patil <[email protected]> Co-authored-by: Sergio Mena <[email protected]>
mmsqe
pushed a commit
to mmsqe/cometbft
that referenced
this pull request
Mar 19, 2026
…cometbft#2) * proxy: Remove "unsynchronized" local client creator * proxy: Expand client creator interface Expand the `ClientCreator` interface to allow the caller to explicitly specify the "connection" whose client they are creating. This potentially gives greater control over the concurrency model employed in each type of connection. * abci/client: Clarify NewLocalClient description * proxy: Add connection-synchronized local client creator Analogous to the old "unsynchronized" local client creator. * abci/client: Add unsynchronized local client * proxy: Add consensus-synchronized local client creator * proxy: Fix mock configuration in test * Add changelog entries * Remove changelog entry - no longer necessary * proxy: Add unsynchronized local client creator * changelog: Add entry for unsync local client creator * Update 1141-abci-unsync-proxy.md --------- Signed-off-by: Thane Thomson <[email protected]> Co-authored-by: Thane Thomson <[email protected]> Co-authored-by: Adi Seredinschi <[email protected]>
JayT106
added a commit
to JayT106/cometbft
that referenced
this pull request
May 27, 2026
* fix(blocksync): prevent maxPeerHeight poisoning (cometbft#5803) (cherry picked from commit a7e53f0) * chore(execution, state): height validation (cometbft#5804) Improves height validation in state and execution. --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 4c067e2) * fix(lp2p): reactor panic recovery (backport cometbft#5816) (cometbft#5817) Closes STACK-2679 --- #### PR checklist - [x] Tests written/updated - [x] Changelog entry added in `CHANGELOG.md` - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments <hr>This is an automatic backport of pull request cometbft#5816 done by [Mergify](https://mergify.com). Co-authored-by: Dmitry S <[email protected]> * build(deps): Bump github.com/Masterminds/semver/v3 from 3.4.0 to 3.5.0 (backport cometbft#5823) (cometbft#5824) Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.4.0 to 3.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Masterminds/semver/releases">github.com/Masterminds/semver/v3's releases</a>.</em></p> <blockquote> <h2>v3.5.0</h2> <h2>What's Changed</h2> <ul> <li>Adding more prerelease tests by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/273">Masterminds/semver#273</a></li> <li>Update constraint error messages by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/278">Masterminds/semver#278</a></li> <li>Fix edge cases by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/279">Masterminds/semver#279</a></li> <li>Adding some checks in by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/280">Masterminds/semver#280</a></li> <li>Updating deps by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/281">Masterminds/semver#281</a></li> <li>Bump github/codeql-action from 4.35.1 to 4.35.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/Masterminds/semver/pull/282">Masterminds/semver#282</a></li> <li>Bump actions/cache from 4.2.3 to 5.0.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/Masterminds/semver/pull/283">Masterminds/semver#283</a></li> <li>Bump golangci/golangci-lint-action from 7.0.1 to 9.2.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/Masterminds/semver/pull/284">Masterminds/semver#284</a></li> <li>Updating gitignore for devcontainers by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/286">Masterminds/semver#286</a></li> <li>Fixing some quality issues by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/287">Masterminds/semver#287</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] made their first contribution in <a href="https://redirect.github.com/Masterminds/semver/pull/282">Masterminds/semver#282</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Masterminds/semver/compare/v3.4.0...v3.5.0">https://github.com/Masterminds/semver/compare/v3.4.0...v3.5.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Masterminds/semver/blob/master/CHANGELOG.md">github.com/Masterminds/semver/v3's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Masterminds/semver/commit/8b89c86cb53c57cfd5d07c13de12bc4d78954e99"><code>8b89c86</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/287">#287</a> from mattfarina/fix-da-issues</li> <li><a href="https://github.com/Masterminds/semver/commit/29d51d0ea4bffe39173673685d0dd312447d74a7"><code>29d51d0</code></a> Fixing some quality issues</li> <li><a href="https://github.com/Masterminds/semver/commit/87f651dbe2f616342d6408b997ad7116ba72ddf3"><code>87f651d</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/286">#286</a> from mattfarina/update-devcontainer</li> <li><a href="https://github.com/Masterminds/semver/commit/158a6852a7e66d99594653227d3e8c3dc6d160ca"><code>158a685</code></a> Updating gitignore for devcontainers</li> <li><a href="https://github.com/Masterminds/semver/commit/7e83c080cfb4455752c654805b189274a10890ab"><code>7e83c08</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/284">#284</a> from Masterminds/dependabot/github_actions/golangci/g...</li> <li><a href="https://github.com/Masterminds/semver/commit/697e27f32e7419eb896e7d3ec680c65fc673166b"><code>697e27f</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/283">#283</a> from Masterminds/dependabot/github_actions/actions/ca...</li> <li><a href="https://github.com/Masterminds/semver/commit/1591f8e3806198f60fa4dcaf2751bfc805c7740d"><code>1591f8e</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/282">#282</a> from Masterminds/dependabot/github_actions/github/cod...</li> <li><a href="https://github.com/Masterminds/semver/commit/3f5ff1737a28437e536d3ec54e41919577748ae6"><code>3f5ff17</code></a> Bump golangci/golangci-lint-action from 7.0.1 to 9.2.0</li> <li><a href="https://github.com/Masterminds/semver/commit/04baa3376047b6d5e79ffcc60f69332dd3e26c85"><code>04baa33</code></a> Bump actions/cache from 4.2.3 to 5.0.5</li> <li><a href="https://github.com/Masterminds/semver/commit/45939fec77cd7d07d586b823284d11423028e9c2"><code>45939fe</code></a> Bump github/codeql-action from 4.35.1 to 4.35.2</li> <li>Additional commits viewable in <a href="https://github.com/Masterminds/semver/compare/v3.4.0...v3.5.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details><hr>This is an automatic backport of pull request cometbft#5823 done by [Mergify](https://mergify.com). Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): Bump github.com/Masterminds/semver/v3 from 3.4.0 to 3.5.0 (backport cometbft#5823) (cometbft#5824) Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.4.0 to 3.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Masterminds/semver/releases">github.com/Masterminds/semver/v3's releases</a>.</em></p> <blockquote> <h2>v3.5.0</h2> <h2>What's Changed</h2> <ul> <li>Adding more prerelease tests by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/273">Masterminds/semver#273</a></li> <li>Update constraint error messages by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/278">Masterminds/semver#278</a></li> <li>Fix edge cases by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/279">Masterminds/semver#279</a></li> <li>Adding some checks in by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/280">Masterminds/semver#280</a></li> <li>Updating deps by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/281">Masterminds/semver#281</a></li> <li>Bump github/codeql-action from 4.35.1 to 4.35.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/Masterminds/semver/pull/282">Masterminds/semver#282</a></li> <li>Bump actions/cache from 4.2.3 to 5.0.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/Masterminds/semver/pull/283">Masterminds/semver#283</a></li> <li>Bump golangci/golangci-lint-action from 7.0.1 to 9.2.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/Masterminds/semver/pull/284">Masterminds/semver#284</a></li> <li>Updating gitignore for devcontainers by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/286">Masterminds/semver#286</a></li> <li>Fixing some quality issues by <a href="https://github.com/mattfarina"><code>@mattfarina</code></a> in <a href="https://redirect.github.com/Masterminds/semver/pull/287">Masterminds/semver#287</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] made their first contribution in <a href="https://redirect.github.com/Masterminds/semver/pull/282">Masterminds/semver#282</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Masterminds/semver/compare/v3.4.0...v3.5.0">https://github.com/Masterminds/semver/compare/v3.4.0...v3.5.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Masterminds/semver/blob/master/CHANGELOG.md">github.com/Masterminds/semver/v3's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Masterminds/semver/commit/8b89c86cb53c57cfd5d07c13de12bc4d78954e99"><code>8b89c86</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/287">#287</a> from mattfarina/fix-da-issues</li> <li><a href="https://github.com/Masterminds/semver/commit/29d51d0ea4bffe39173673685d0dd312447d74a7"><code>29d51d0</code></a> Fixing some quality issues</li> <li><a href="https://github.com/Masterminds/semver/commit/87f651dbe2f616342d6408b997ad7116ba72ddf3"><code>87f651d</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/286">#286</a> from mattfarina/update-devcontainer</li> <li><a href="https://github.com/Masterminds/semver/commit/158a6852a7e66d99594653227d3e8c3dc6d160ca"><code>158a685</code></a> Updating gitignore for devcontainers</li> <li><a href="https://github.com/Masterminds/semver/commit/7e83c080cfb4455752c654805b189274a10890ab"><code>7e83c08</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/284">#284</a> from Masterminds/dependabot/github_actions/golangci/g...</li> <li><a href="https://github.com/Masterminds/semver/commit/697e27f32e7419eb896e7d3ec680c65fc673166b"><code>697e27f</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/283">#283</a> from Masterminds/dependabot/github_actions/actions/ca...</li> <li><a href="https://github.com/Masterminds/semver/commit/1591f8e3806198f60fa4dcaf2751bfc805c7740d"><code>1591f8e</code></a> Merge pull request <a href="https://redirect.github.com/Masterminds/semver/issues/282">#282</a> from Masterminds/dependabot/github_actions/github/cod...</li> <li><a href="https://github.com/Masterminds/semver/commit/3f5ff1737a28437e536d3ec54e41919577748ae6"><code>3f5ff17</code></a> Bump golangci/golangci-lint-action from 7.0.1 to 9.2.0</li> <li><a href="https://github.com/Masterminds/semver/commit/04baa3376047b6d5e79ffcc60f69332dd3e26c85"><code>04baa33</code></a> Bump actions/cache from 4.2.3 to 5.0.5</li> <li><a href="https://github.com/Masterminds/semver/commit/45939fec77cd7d07d586b823284d11423028e9c2"><code>45939fe</code></a> Bump github/codeql-action from 4.35.1 to 4.35.2</li> <li>Additional commits viewable in <a href="https://github.com/Masterminds/semver/compare/v3.4.0...v3.5.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details><hr>This is an automatic backport of pull request cometbft#5823 done by [Mergify](https://mergify.com). Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(light): stop witness comparison after divergence checks (backport cometbft#5820) (cometbft#5825) Return immediately when a witness reports conflicting headers or proposer-priority divergence so the detector cannot treat a mismatch as a valid match. Add a detector test that keeps header hashes equal while diverging proposer priorities to verify ErrProposerPrioritiesDiverge is returned. --- #### PR checklist - [x] Tests written/updated - [x] Changelog entry added in `CHANGELOG.md` - [x] Updated relevant documentation (`docs/` or `spec/`) and code comments <hr>This is an automatic backport of pull request cometbft#5820 done by [Mergify](https://mergify.com). Co-authored-by: JayT106 <[email protected]> Co-authored-by: Matt Acciai <[email protected]> * perf(consensus): skip fsync for unsigned internal messages (block parts) (cometbft#5695) ## Summary - Skip `fsync` (`WriteSync`) for `BlockPartMessage` in the consensus WAL's `receiveRoutine`, using buffered `Write` instead - Only signed messages (`VoteMessage`, `ProposalMessage`) retain `WriteSync` for double-signing prevention - Adds explicit type-switch with `default: panic` to prevent future signed message types from silently bypassing fsync - Replaces stale TODO in `replay_test.go` with documentation of the selective-fsync approach ## Safety analysis **Why signed messages MUST keep `WriteSync`:** - Pre-sign `FlushAndSync` ensures WAL replay reaches the same deterministic state - Post-sign `WriteSync` ensures the signed message is durable before `handleMsg` processes/broadcasts it - Without this, crash-replay could re-sign a different vote → equivocation **Why `BlockPartMessage` can safely use `Write`:** 1. Block parts are unsigned data chunks derived from the proposal block 2. On crash: proposal exists (fsynced), some block parts may be missing → round times out → consensus proceeds 3. The periodic 2-second WAL flush (`processFlushTicks`) eventually flushes them 4. Any subsequent `WriteSync` (vote) or `FlushAndSync` (pre-sign) also flushes buffered block parts 5. `EndHeightMessage` uses `WriteSync`, which flushes ALL buffered writes before the end marker **Defensive measures:** - Explicit `case *BlockPartMessage` (not `default`) ensures new message types panic rather than silently bypassing fsync - `default: panic("unexpected internal message type")` with SAFETY comment for future maintainers - WAL `Write` failure panics (matches `WriteSync` behavior) since write errors indicate disk failure ## Benchmark results (Apple M1 Max SSD) ``` BenchmarkWALWrite-10 ~1μs/op 1680 B/op 13 allocs/op BenchmarkWALWriteSync-10 ~4.4ms/op 1680 B/op 13 allocs/op BenchmarkWALRoundSimulation/AllWriteSync-10 ~233ms/round BenchmarkWALRoundSimulation/SelectiveFsync-10 ~9.3ms/round (~25x faster) ``` --- #### PR checklist - [x] Tests written/updated - [x] Changelog entry added in `CHANGELOG.md` - [x] Updated relevant documentation (`docs/` or `spec/`) and code comments --------- Co-authored-by: Claude Opus 4.6 <[email protected]> Co-authored-by: Dmitry S <[email protected]> (cherry picked from commit 62a15e7) * fix(abci): prevent panic on unlock in socket server panic recovery (cometbft#5593) --- #### PR checklist Fix a bug in handleRequests where the panic recovery defer function would attempt to unlock appMtx even when the lock was never acquired. - [x] Tests written/updated - [x] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments --------- Co-authored-by: Alex | Cosmos Labs <[email protected]> Co-authored-by: Dmitry S <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 320e79e) * changelog * changelog * chore(v0.39.2): restore Krakatoa app mempool and finalize changelog (cometbft#5827) ## Summary - Cherry-pick Krakatoa restoration commit `f4a9ba936` into `chore/0.39.2-prep`, restoring app mempool/reactor flow and related ABCI/proxy/config wiring. - Reintroduce app-mempool e2e fixtures and proto/generated ABCI updates required for the restored flow. - Finalize `v0.39.2` release notes in `CHANGELOG.md` while keeping existing backport entries (`cometbft#5803`, `cometbft#5804`, `cometbft#5816`, `cometbft#5820`, `cometbft#5823`). ## Test plan - [x] `go test ./abci/... ./mempool/... ./proxy/... ./config/...` - [x] `make proto-gen` - [x] `make proto-lint` --------- Co-authored-by: Dmitry S <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Eric Warehime <[email protected]> Co-authored-by: mattac21 <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * fix(mempool): allow CheckTx retries (backport cometbft#5802) (cometbft#5832) Backport cometbft#5802 Closes STACK-2402 * fix(mempool): allow CheckTx retries (backport cometbft#5802) cometbft#2 (cometbft#5833) --- #### PR checklist - [ ] Tests written/updated - [ ] Changelog entry added in `CHANGELOG.md` - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments * build(deps): Bump github.com/lib/pq from 1.11.2 to 1.12.0 (backport cometbft#5713) (cometbft#5723) Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.11.2 to 1.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lib/pq/releases">github.com/lib/pq's releases</a>.</em></p> <blockquote> <h2>v1.12.0</h2> <ul> <li> <p>The next release may change the default sslmode from <code>require</code> to <code>prefer</code>. See <a href="https://redirect.github.com/lib/pq/issues/1271">#1271</a> for details.</p> </li> <li> <p><code>CopyIn()</code> and <code>CopyInToSchema()</code> have been marked as deprecated. These are simple query builders and not needed for <code>COPY [..] FROM STDIN</code> support (which is <em>not</em> deprecated). (<a href="https://redirect.github.com/lib/pq/issues/1279">#1279</a>)</p> <pre><code>// Old tx.Prepare(CopyIn("temp", "num", "text", "blob", "nothing")) <p>// Replacement tx.Prepare(<code>copy temp (num, text, blob, nothing) from stdin</code>) </code></pre></p> </li> </ul> <h3>Features</h3> <ul> <li> <p>Support protocol 3.2, and the <code>min_protocol_version</code> and <code>max_protocol_version</code> DSN parameters (<a href="https://redirect.github.com/lib/pq/issues/1258">#1258</a>).</p> </li> <li> <p>Support <code>sslmode=prefer</code> and <code>sslmode=allow</code> (<a href="https://redirect.github.com/lib/pq/issues/1270">#1270</a>).</p> </li> <li> <p>Support <code>ssl_min_protocol_version</code> and <code>ssl_max_protocol_version</code> (<a href="https://redirect.github.com/lib/pq/issues/1277">#1277</a>).</p> </li> <li> <p>Support connection service file to load connection details (<a href="https://redirect.github.com/lib/pq/issues/1285">#1285</a>).</p> </li> <li> <p>Support <code>sslrootcert=system</code> and use <code>~/.postgresql/root.crt</code> as the default value of sslrootcert (<a href="https://redirect.github.com/lib/pq/issues/1280">#1280</a>, <a href="https://redirect.github.com/lib/pq/issues/1281">#1281</a>).</p> </li> <li> <p>Add a new <code>pqerror</code> package with PostgreSQL error codes (<a href="https://redirect.github.com/lib/pq/issues/1275">#1275</a>).</p> <p>For example, to test if an error is a UNIQUE constraint violation:</p> <pre><code>if pqErr, ok := errors.AsType[*pq.Error](https://github.com/lib/pq/blob/HEAD/err); ok && pqErr.Code == pqerror.UniqueViolation { log.Fatalf("email %q already exsts", email) } </code></pre> <p>To make this a bit more convenient, it also adds a <code>pq.As()</code> function:</p> <pre><code>pqErr := pq.As(err, pqerror.UniqueViolation) if pqErr != nil { log.Fatalf("email %q already exsts", email) } </code></pre> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fix SSL key permission check to allow modes stricter than 0600/0640 (<a href="https://redirect.github.com/lib/pq/issues/1265">#1265</a>).</p> </li> <li> <p>Fix Hstore to work with binary parameters (<a href="https://redirect.github.com/lib/pq/issues/1278">#1278</a>).</p> </li> <li> <p>Clearer error when starting a new query while pq is still processing another query (<a href="https://redirect.github.com/lib/pq/issues/1272">#1272</a>).</p> </li> <li> <p>Send intermediate CAs with client certificates, so they can be signed by an intermediate CA (<a href="https://redirect.github.com/lib/pq/issues/1267">#1267</a>).</p> </li> <li> <p>Use <code>time.UTC</code> for UTC aliases such as <code>Etc/UTC</code> (<a href="https://redirect.github.com/lib/pq/issues/1283">#1283</a>).</p> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/lib/pq/blob/master/CHANGELOG.md">github.com/lib/pq's changelog</a>.</em></p> <blockquote> <h2>v1.12.0 (2026-03-18)</h2> <ul> <li> <p>The next release may change the default sslmode from <code>require</code> to <code>prefer</code>. See <a href="https://redirect.github.com/lib/pq/issues/1271">#1271</a> for details.</p> </li> <li> <p><code>CopyIn()</code> and <code>CopyInToSchema()</code> have been marked as deprecated. These are simple query builders and not needed for <code>COPY [..] FROM STDIN</code> support (which is <em>not</em> deprecated). (<a href="https://redirect.github.com/lib/pq/issues/1279">#1279</a>)</p> <pre><code>// Old tx.Prepare(CopyIn("temp", "num", "text", "blob", "nothing")) <p>// Replacement tx.Prepare(<code>copy temp (num, text, blob, nothing) from stdin</code>) </code></pre></p> </li> </ul> <h3>Features</h3> <ul> <li> <p>Support protocol 3.2, and the <code>min_protocol_version</code> and <code>max_protocol_version</code> DSN parameters (<a href="https://redirect.github.com/lib/pq/issues/1258">#1258</a>).</p> </li> <li> <p>Support <code>sslmode=prefer</code> and <code>sslmode=allow</code> (<a href="https://redirect.github.com/lib/pq/issues/1270">#1270</a>).</p> </li> <li> <p>Support <code>ssl_min_protocol_version</code> and <code>ssl_max_protocol_version</code> (<a href="https://redirect.github.com/lib/pq/issues/1277">#1277</a>).</p> </li> <li> <p>Support connection service file to load connection details (<a href="https://redirect.github.com/lib/pq/issues/1285">#1285</a>).</p> </li> <li> <p>Support <code>sslrootcert=system</code> and use <code>~/.postgresql/root.crt</code> as the default value of sslrootcert (<a href="https://redirect.github.com/lib/pq/issues/1280">#1280</a>, <a href="https://redirect.github.com/lib/pq/issues/1281">#1281</a>).</p> </li> <li> <p>Add a new <code>pqerror</code> package with PostgreSQL error codes (<a href="https://redirect.github.com/lib/pq/issues/1275">#1275</a>).</p> <p>For example, to test if an error is a UNIQUE constraint violation:</p> <pre><code>if pqErr, ok := errors.AsType[*pq.Error](https://github.com/lib/pq/blob/master/err); ok && pqErr.Code == pqerror.UniqueViolation { log.Fatalf("email %q already exsts", email) } </code></pre> <p>To make this a bit more convenient, it also adds a <code>pq.As()</code> function:</p> <pre><code>pqErr := pq.As(err, pqerror.UniqueViolation) if pqErr != nil { log.Fatalf("email %q already exsts", email) } </code></pre> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fix SSL key permission check to allow modes stricter than <a href="https://redirect.github.com/0600/0640/issues/0600">0600/06400600</a> (<a href="https://redirect.github.com/lib/pq/issues/1265">#1265</a>).</p> </li> <li> <p>Fix Hstore to work with binary parameters (<a href="https://redirect.github.com/lib/pq/issues/1278">#1278</a>).</p> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lib/pq/commit/42ab0ff7c4b1b585fa6cd216a12a126715b5af06"><code>42ab0ff</code></a> Change default sslmode from "require" to "prefer"</li> <li><a href="https://github.com/lib/pq/commit/6d40f13cfefe5ae4b489404b45114ba03224947a"><code>6d40f13</code></a> Release v1.12.0</li> <li><a href="https://github.com/lib/pq/commit/386fc0e764f82951e9706dd8e618fc416fb5fb2c"><code>386fc0e</code></a> Document NULL behaviour with COPY</li> <li><a href="https://github.com/lib/pq/commit/a62682e9083edee5ffe2d3904e80c30aaaa0877f"><code>a62682e</code></a> Better staticcheck cache 2</li> <li><a href="https://github.com/lib/pq/commit/87ee06c600347478cfef07ad31b5ea617008aee7"><code>87ee06c</code></a> Better staticcheck cache</li> <li><a href="https://github.com/lib/pq/commit/09624587cd3d4b69cd4a1a3b403b544ec0ddb2f7"><code>0962458</code></a> Rewrite tests to use pqerror, pq.As()</li> <li><a href="https://github.com/lib/pq/commit/0d209810a155b9b8a173ab6d5da332f8c6cbc2c9"><code>0d20981</code></a> Don't move pq.Error to pqerror.Error</li> <li><a href="https://github.com/lib/pq/commit/433213859e656dfe7dbba17b2838839e03a43ca2"><code>4332138</code></a> Add pqerror package</li> <li><a href="https://github.com/lib/pq/commit/620d6d50817f9c4dcbfcbfeadb12ec552b636bf3"><code>620d6d5</code></a> Make tests run faster</li> <li><a href="https://github.com/lib/pq/commit/dc8ff5d519b00bfa67626e68ea1ff3fdde0cc1b2"><code>dc8ff5d</code></a> Implement connection service file</li> <li>Additional commits viewable in <a href="https://github.com/lib/pq/compare/v1.11.2...v1.12.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details><hr>This is an automatic backport of pull request cometbft#5713 done by [Mergify](https://mergify.com). Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: aljo242 <[email protected]> Co-authored-by: mattac21 <[email protected]> * chore: changelog updates for release (cometbft#5836) --- #### PR checklist - [ ] Tests written/updated - [ ] Changelog entry added in `CHANGELOG.md` - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments * test(consensus): fix flaky TestByzantinePrevoteEquivocation (backport cometbft#5814) (cometbft#5840) ## Summary Fix the failing CI at https://github.com/cometbft/cometbft/actions/runs/25421557069/job/74564693795?pr=5837 `TestByzantinePrevoteEquivocation` was sporadically timing out on CI under the `-race` detector. The root cause was goroutine leaks: subscriptions were created with `context.Background()`, so the subscriber goroutines had no clean exit path when a block with evidence never arrived — they blocked forever on `sub.Out()`, leaked across tests, and exhausted resources on the runner. ## Changes - Replace `for range sub.Out()` with a `select` that also handles `sub.Canceled()`, so goroutines exit cleanly when the eventbus stops during test cleanup - Add `subErrCh` to surface unexpected subscription cancellation errors instead of silently swallowing them ## Test plan - [x] `go test ./consensus/... -run TestByzantinePrevoteEquivocation -v -count=1` passes locally - [x] CI passing<hr>This is an automatic backport of pull request cometbft#5814 done by [Mergify](https://mergify.com). Co-authored-by: songgaoye <[email protected]> * test(consensus): fix cs.GetRoundState deadlock after ensureNewProposal (backport cometbft#5815) (cometbft#5842) The same deadlock pattern existed across multiple consensus tests in `state_test.go`, `replay_test.go`, and `node_test.go`: - The consensus goroutine holds `cs.mtx` while publishing a vote event and blocks until the test drains it. - The test calls `cs.GetRoundState()` (which acquires `cs.mtx`) between receiving the proposal event and draining the vote channel. - Both sides wait on each other until `go test -timeout` aborts the run. **Fix:** make `ensureNewProposal` return the `types.BlockID` from the `EventDataCompleteProposal` it already reads. All call sites that only needed `ProposalBlock.Hash()` and `ProposalBlockParts.Header()` now use `blockID.Hash` and `blockID.PartSetHeader` directly. For sites that need the full `ProposalBlock` (e.g. `Time`, `Txs`) but only use it after channel drains, `GetRoundState()` is deferred to after those drains. **Files fixed:** - `consensus/common_test.go`: `ensureNewProposal` now returns `types.BlockID` - `consensus/state_test.go`: 13 call sites fixed across 11 tests - `consensus/replay_test.go`: 6 call sites fixed in `setupChainWithChangingValidators` - `node/node_test.go`: 4 tests fixed to not bind the hardcoded GRPC port 36658, preventing address-in-use failures when tests run in parallel #### PR checklist - [x] Tests written/updated - [ ] Changelog entry added in `CHANGELOG.md` - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments<hr>This is an automatic backport of pull request cometbft#5815 done by [Mergify](https://mergify.com). Co-authored-by: songgaoye <[email protected]> * fix(mempool): fix setRecheckFull/setDone race causing spurious ErrRecheckFull (backport cometbft#5837) (cometbft#5844) * fix(blocksync): validate blocksync response sender and signature count (backport cometbft#5860) (cometbft#5862) --- Adds additional validation to blocksync, ensuring _before response unmarshalling_ that we have made a `BlockRequest` to the peer that is sending us a `BlockResponse` recently, and also that the response contains a valid amount of commit signatures (not > MaxVoteCount). To do this preunmarshal validation, we have added a `MsgBytesFilter` interface that `Reactors` can implement. Currently only `BLOCKSYNC` does. The `FilterMsgBytes` function is called for both comet P2P and libp2p implementations, inside of the `onReceive` function when setting up a peer for comet p2p, and inside of `handleStream` for libp2p, just before unmarshalling the message in both. #### PR checklist - [x] Tests written/updated - [x] Changelog entry added in `CHANGELOG.md` - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments <hr>This is an automatic backport of pull request cometbft#5860 done by [Mergify](https://mergify.com). Co-authored-by: mattac21 <[email protected]> * feat(consensus): additional validation for vote ext signatures (backport cometbft#5873) (cometbft#5876) <hr>This is an automatic backport of pull request cometbft#5873 done by [Mergify](https://mergify.com). Co-authored-by: Dmitry S <[email protected]> Co-authored-by: Alex | Cosmos Labs <[email protected]> * test(types): clarify EventBusBufferCapacity test intent (cometbft#5886) improves the test added in cometbft#5883: - rename `cap` → `bufCap` (shadows the builtin `cap` function) - add a comment explaining why the server is intentionally not started (blocking is on the `s.cmds` channel level, not subscriber delivery) - use `range bufCap` loop instead of hardcoded publish calls - collapse final assertion to one line --------- Co-authored-by: jay.tseng <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Vlad J <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Dmitry S <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Acciai <[email protected]> Co-authored-by: Claude Opus 4.6 <[email protected]> Co-authored-by: songgaoye <[email protected]> Co-authored-by: Alex | Cosmos Labs <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Eric Warehime <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: songgaoye <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps bufbuild/buf-setup-action from 1.10.0 to 1.11.0.
Release notes
Sourced from bufbuild/buf-setup-action's releases.
Commits
8d2909cRelease v1.11.0 (#91)2428040Bump prettier from 2.7.1 to 2.8.0 (#79)249c4c6TCN-875 Various bugs in release action (#86)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)