Skip to content

Commit

Permalink
feat: created github.com/KYVENetwork/cometbft/v37
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Apr 18, 2024
1 parent 8bd69b9 commit ad8aabb
Show file tree
Hide file tree
Showing 649 changed files with 4,055 additions and 4,015 deletions.
2 changes: 1 addition & 1 deletion .changelog/unreleased/bug-fixes/2136-fix-state-rollback.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[state]` Fix rollback to a specific height
([\#2136](https://github.com/cometbft/cometbft/pull/2136))
([\#2136](https://github.com/KYVENetwork/cometbft/v37/pull/2136))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- [`bits`] prevent `BitArray.UnmarshalJSON` from crashing on 0 bits
([\#2774](https://github.com/cometbft/cometbft/pull/2774))
([\#2774](https://github.com/KYVENetwork/cometbft/v37/pull/2774))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- The `TMHOME` environment variable was renamed to `CMTHOME`, and all environment variables starting with `TM_` are instead prefixed with `CMT_`
([\#211](https://github.com/cometbft/cometbft/issues/211))
([\#211](https://github.com/KYVENetwork/cometbft/v37/issues/211))
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- `[p2p]` Reactor `Send`, `TrySend` and `Receive` renamed to `SendEnvelope`,
`TrySendEnvelope` and `ReceiveEnvelope` to allow metrics to be appended to
messages and measure bytes sent/received.
([\#230](https://github.com/cometbft/cometbft/pull/230))
([\#230](https://github.com/KYVENetwork/cometbft/v37/pull/230))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- Bump minimum Go version to 1.20
([\#385](https://github.com/cometbft/cometbft/issues/385))
([\#385](https://github.com/KYVENetwork/cometbft/v37/issues/385))
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
`block_sync`. ([\#9259](https://github.com/tendermint/tendermint/pull/9259))
At the same time, `block_sync` is also deprecated. In the next release,
BlocSync will always be enabled and `block_sync` will be removed.
([\#409](https://github.com/cometbft/cometbft/issues/409))
([\#409](https://github.com/KYVENetwork/cometbft/v37/issues/409))
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- `[state/kvindexer]` Resolved crashes when event values contained slashes,
introduced after adding event sequences in
[\#77](https://github.com/cometbft/cometbft/pull/77). @jmalicevic
([\#382](https://github.com/cometbft/cometbft/pull/382))
[\#77](https://github.com/KYVENetwork/cometbft/v37/pull/77). @jmalicevic
([\#382](https://github.com/KYVENetwork/cometbft/v37/pull/382))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[consensus]` ([\#386](https://github.com/cometbft/cometbft/pull/386)) Short-term fix for the case when `needProofBlock` cannot find previous block meta by defaulting to the creation of a new proof block. (@adizere)
- `[consensus]` ([\#386](https://github.com/KYVENetwork/cometbft/v37/pull/386)) Short-term fix for the case when `needProofBlock` cannot find previous block meta by defaulting to the creation of a new proof block. (@adizere)
- Special thanks to the [Vega.xyz](https://vega.xyz/) team, and in particular to Zohar (@ze97286), for reporting the problem and working with us to get to a fix.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- `[state/kvindexer]` Fixed the default behaviour of the kvindexer to index and
query attributes by events in which they occur. In 0.34.25 this was mitigated
by a separated RPC flag. @jmalicevic
([\#77](https://github.com/cometbft/cometbft/pull/77))
([\#77](https://github.com/KYVENetwork/cometbft/v37/pull/77))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[tools/tm-signer-harness]` Remove the folder as it is unused
([\#136](https://github.com/cometbft/cometbft/issues/136))
([\#136](https://github.com/KYVENetwork/cometbft/v37/issues/136))
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- `[p2p]` Reactor `Send`, `TrySend` and `Receive` renamed to `SendEnvelope`,
`TrySendEnvelope` and `ReceiveEnvelope` to allow metrics to be appended to
messages and measure bytes sent/received.
([\#230](https://github.com/cometbft/cometbft/pull/230))
([\#230](https://github.com/KYVENetwork/cometbft/v37/pull/230))
2 changes: 1 addition & 1 deletion .changelog/v0.37.0/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ the v0.37 release.

We'd love your feedback on this release! Please reach out to us via one of our
communication channels, such as [GitHub
Discussions](https://github.com/cometbft/cometbft/discussions), with any of your
Discussions](https://github.com/KYVENetwork/cometbft/v37/discussions), with any of your
questions, comments and/or concerns.

See below for more details.
2 changes: 1 addition & 1 deletion .changelog/v0.37.1/breaking-changes/558-tm10011.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[crypto/merkle]` Do not allow verification of Merkle Proofs against empty trees (`nil` root). `Proof.ComputeRootHash` now panics when it encounters an error, but `Proof.Verify` does not panic
([\#558](https://github.com/cometbft/cometbft/issues/558))
([\#558](https://github.com/KYVENetwork/cometbft/v37/issues/558))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[consensus]` Unexpected error conditions in `ApplyBlock` are non-recoverable, so ignoring the error and carrying on is a bug. We replaced a `return` that disregarded the error by a `panic`.
([\#496](https://github.com/cometbft/cometbft/pull/496))
([\#496](https://github.com/KYVENetwork/cometbft/v37/pull/496))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[consensus]` Rename `(*PeerState).ToJSON` to `MarshalJSON` to fix a logging data race
([\#524](https://github.com/cometbft/cometbft/pull/524))
([\#524](https://github.com/KYVENetwork/cometbft/v37/pull/524))
2 changes: 1 addition & 1 deletion .changelog/v0.37.1/bug-fixes/575-fix-light-client-panic.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
not yet have any data. The light client will now, correctly, not panic
_and_ keep the node in its list of providers in the same way it would if
it queried a node starting from height zero that does not yet have data
([\#575](https://github.com/cometbft/cometbft/issues/575))
([\#575](https://github.com/KYVENetwork/cometbft/v37/issues/575))
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[jsonrpc/client]` Improve the error message for client errors stemming from
bad HTTP responses.
([cometbft/cometbft\#638](https://github.com/cometbft/cometbft/pull/638))
([cometbft/cometbft\#638](https://github.com/KYVENetwork/cometbft/v37/pull/638))
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- `[state/kvindex]` Querying event attributes that are bigger than int64 is now
enabled. We are not supporting reading floats from the db into the indexer
nor parsing them into BigFloats to not introduce breaking changes in minor
releases. ([\#771](https://github.com/cometbft/cometbft/pull/771))
releases. ([\#771](https://github.com/KYVENetwork/cometbft/v37/pull/771))
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- `[pubsub]` Pubsub queries are now able to parse big integers (larger than
int64). Very big floats are also properly parsed into very big integers
instead of being truncated to int64.
([\#771](https://github.com/cometbft/cometbft/pull/771))
([\#771](https://github.com/KYVENetwork/cometbft/v37/pull/771))
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[rpc]` Remove response data from response failure logs in order
to prevent large quantities of log data from being produced
([\#654](https://github.com/cometbft/cometbft/issues/654))
([\#654](https://github.com/KYVENetwork/cometbft/v37/issues/654))
2 changes: 1 addition & 1 deletion .changelog/v0.37.2/security-fixes/787-rpc-client-pw.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[rpc/jsonrpc/client]` **Low severity** - Prevent RPC
client credentials from being inadvertently dumped to logs
([\#787](https://github.com/cometbft/cometbft/pull/787))
([\#787](https://github.com/KYVENetwork/cometbft/v37/pull/787))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[cmd/cometbft/commands/debug/kill]` **Low severity** - Fix unsafe int cast in
`debug kill` command ([\#793](https://github.com/cometbft/cometbft/pull/793))
`debug kill` command ([\#793](https://github.com/KYVENetwork/cometbft/v37/pull/793))
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[consensus]` **Low severity** - Avoid recursive call after rename to
`(*PeerState).MarshalJSON`
([\#863](https://github.com/cometbft/cometbft/pull/863))
([\#863](https://github.com/KYVENetwork/cometbft/v37/pull/863))
2 changes: 1 addition & 1 deletion .changelog/v0.37.2/security-fixes/890-mempool-fix-cache.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[mempool/clist_mempool]` **Low severity** - Prevent a transaction from
appearing twice in the mempool
([\#890](https://github.com/cometbft/cometbft/pull/890): @otrack)
([\#890](https://github.com/KYVENetwork/cometbft/v37/pull/890): @otrack)
2 changes: 1 addition & 1 deletion .changelog/v0.37.3/breaking-changes/1113-rm-upnp.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[p2p]` Remove unused UPnP functionality
([\#1113](https://github.com/cometbft/cometbft/issues/1113))
([\#1113](https://github.com/KYVENetwork/cometbft/v37/issues/1113))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[state/indexer]` Respect both height params while querying for events
([\#1529](https://github.com/cometbft/cometbft/pull/1529))
([\#1529](https://github.com/KYVENetwork/cometbft/v37/pull/1529))
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[metrics]` Add metric for mempool size in bytes `SizeBytes`.
([\#1512](https://github.com/cometbft/cometbft/pull/1512))
([\#1512](https://github.com/KYVENetwork/cometbft/v37/pull/1512))
2 changes: 1 addition & 1 deletion .changelog/v0.37.3/improvements/1210-close-evidence-db.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- `[node]` Close evidence.db OnStop ([cometbft/cometbft\#1210](https://github.com/cometbft/cometbft/pull/1210): @chillyvee)
- `[node]` Close evidence.db OnStop ([cometbft/cometbft\#1210](https://github.com/KYVENetwork/cometbft/v37/pull/1210): @chillyvee)
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- `[mempool]` Add experimental feature to limit the number of persistent peers and non-persistent
peers to which the node gossip transactions (only for "v0" mempool).
([\#1558](https://github.com/cometbft/cometbft/pull/1558))
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
([\#1558](https://github.com/KYVENetwork/cometbft/v37/pull/1558))
([\#1584](https://github.com/KYVENetwork/cometbft/v37/pull/1584))
- `[config]` Add mempool parameters `experimental_max_gossip_connections_to_persistent_peers` and
`experimental_max_gossip_connections_to_non_persistent_peers` for limiting the number of peers to
which the node gossip transactions.
([\#1558](https://github.com/cometbft/cometbft/pull/1558))
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
which the node gossip transactions.
([\#1558](https://github.com/KYVENetwork/cometbft/v37/pull/1558))
([\#1584](https://github.com/KYVENetwork/cometbft/v37/pull/1584))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- `[crypto/sr25519]` Upgrade to [email protected] ([\#475](https://github.com/cometbft/cometbft/issues/475))
- `[crypto/sr25519]` Upgrade to [email protected] ([\#475](https://github.com/KYVENetwork/cometbft/v37/issues/475))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- `[node]` Make handshake cancelable ([cometbft/cometbft\#857](https://github.com/cometbft/cometbft/pull/857))
- `[node]` Make handshake cancelable ([cometbft/cometbft\#857](https://github.com/KYVENetwork/cometbft/v37/pull/857))
2 changes: 1 addition & 1 deletion .changelog/v0.37.4/bug-fixes/1654-semaphore-wait.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[mempool]` Avoid infinite wait in transaction sending routine when
using experimental parameters to limiting transaction gossiping to peers
([\#1654](https://github.com/cometbft/cometbft/pull/1654))
([\#1654](https://github.com/KYVENetwork/cometbft/v37/pull/1654))
4 changes: 2 additions & 2 deletions .changelog/v0.37.4/features/1643-nop-mempool.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- `[mempool]` Add `nop` mempool ([\#1643](https://github.com/cometbft/cometbft/pull/1643))
- `[mempool]` Add `nop` mempool ([\#1643](https://github.com/KYVENetwork/cometbft/v37/pull/1643))

If you want to use it, change mempool's `type` to `nop`:

Expand All @@ -14,4 +14,4 @@
# for storing, disseminating and proposing txs). "create_empty_blocks=false"
# is not supported.
type = "nop"
```
```
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[mempool]` The calculation method of tx size returned by calling proxyapp should be consistent with that of mempool
([\#1687](https://github.com/cometbft/cometbft/pull/1687))
([\#1687](https://github.com/KYVENetwork/cometbft/v37/pull/1687))

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- `[evidence]` When `VerifyCommitLight` & `VerifyCommitLightTrusting` are called as part
of evidence verification, all signatures present in the evidence must be verified
([\#1749](https://github.com/cometbft/cometbft/pull/1749))
([\#1749](https://github.com/KYVENetwork/cometbft/v37/pull/1749))

Original file line number Diff line number Diff line change
@@ -1 +1 @@
- `[types]` Validate `Validator#Address` in `ValidateBasic` ([\#1715](https://github.com/cometbft/cometbft/pull/1715))
- `[types]` Validate `Validator#Address` in `ValidateBasic` ([\#1715](https://github.com/KYVENetwork/cometbft/v37/pull/1715))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- `[abci]` Increase ABCI socket message size limit to 2GB ([\#1730](https://github.com/cometbft/cometbft/pull/1730): @troykessler)
- `[abci]` Increase ABCI socket message size limit to 2GB ([\#1730](https://github.com/KYVENetwork/cometbft/v37/pull/1730): @troykessler)
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[blocksync]` make the max number of downloaded blocks dynamic.
Previously it was a const 600. Now it's `peersCount * maxPendingRequestsPerPeer (20)`
[\#2467](https://github.com/cometbft/cometbft/pull/2467)
[\#2467](https://github.com/KYVENetwork/cometbft/v37/pull/2467)
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[blocksync]` Request a block from peer B if we are approaching pool's height
(less than 50 blocks) and the current peer A is slow in sending us the
block [\#2475](https://github.com/cometbft/cometbft/pull/2475)
block [\#2475](https://github.com/KYVENetwork/cometbft/v37/pull/2475)
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[blocksync]` Request the block N from peer B immediately after getting
`NoBlockResponse` from peer A
[\#2475](https://github.com/cometbft/cometbft/pull/2475)
[\#2475](https://github.com/KYVENetwork/cometbft/v37/pull/2475)
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[blocksync]` Sort peers by download rate (the fastest peer is picked first)
[\#2475](https://github.com/cometbft/cometbft/pull/2475)
[\#2475](https://github.com/KYVENetwork/cometbft/v37/pull/2475)
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ labels: bug, needs-triage
Please fill in as much of the template below as you can.
If you have general questions, please create a new discussion:
https://github.com/cometbft/cometbft/discussions
https://github.com/KYVENetwork/cometbft/v37/discussions
Be ready for followup questions, and please respond in a timely manner. We might
ask you to provide additional logs and data (CometBFT & App).
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Ask a question
url: https://github.com/cometbft/cometbft/discussions
url: https://github.com/KYVENetwork/cometbft/v37/discussions
about: Please ask and answer questions here
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ discussion with the team prior to submitting substantial pull requests. The team
can be reached via GitHub Discussions or the Cosmos Network Discord server in
the #cometbft channel. GitHub Discussions is preferred over Discord as it
allows us to keep track of conversations topically.
https://github.com/cometbft/cometbft/discussions
https://github.com/KYVENetwork/cometbft/v37/discussions
If the work in this PR is not aligned with the team's current priorities, please
be advised that it may take some time before it is merged - especially if it has
Expand Down
2 changes: 1 addition & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ labels: needs-triage
<!--
If you want to ask a general question, please create a new discussion instead of
an issue: https://github.com/cometbft/cometbft/discussions
an issue: https://github.com/KYVENetwork/cometbft/v37/discussions
-->
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Generate release notes
run: |
VERSION="${GITHUB_REF#refs/tags/}"
CHANGELOG_URL="https://github.com/cometbft/cometbft/blob/${VERSION}/CHANGELOG.md"
CHANGELOG_URL="https://github.com/KYVENetwork/cometbft/v37/blob/${VERSION}/CHANGELOG.md"
echo "See the [CHANGELOG](${CHANGELOG_URL}) for changes available in this pre-release, but not yet officially released." > ../release_notes.md
- name: Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
VERSION="${GITHUB_REF#refs/tags/}"
VERSION_REF="${VERSION//[\.]/}"
CHANGELOG_URL="https://github.com/cometbft/cometbft/blob/${VERSION}/CHANGELOG.md#${VERSION_REF}"
CHANGELOG_URL="https://github.com/KYVENetwork/cometbft/v37/blob/${VERSION}/CHANGELOG.md#${VERSION_REF}"
echo "See the [CHANGELOG](${CHANGELOG_URL}) for this release." > ../release_notes.md
- name: Release
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ builds:
- id: "cometbft"
main: ./cmd/cometbft/main.go
ldflags:
- -s -w -X github.com/cometbft/cometbft/version.TMCoreSemVer={{ .Version }}
- -s -w -X github.com/KYVENetwork/cometbft/v37/version.TMCoreSemVer={{ .Version }}
env:
- CGO_ENABLED=0
goos:
Expand Down
Loading

0 comments on commit ad8aabb

Please sign in to comment.