Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump-up CometBFT to v0.37.2 #4

Open
wants to merge 19 commits into
base: release/v0.37.2-bianjie
Choose a base branch
from

Commits on Apr 27, 2023

  1. Fix TestStateOversizedBlock (backport cometbft#755) (cometbft#765)

    * Fix `TestStateOversizedBlock` (cometbft#755)
    
    * Fix TestStateOversizedBlock
    
    * Moved `findBlockSizeLimit` together with other aux functions
    
    (cherry picked from commit c58597d)
    
    # Conflicts:
    #	consensus/state_test.go
    
    * Revert "Fix `TestStateOversizedBlock` (cometbft#755)"
    
    This reverts commit 50a4555.
    
    * Fix `TestStateOversizedBlock` (cometbft#755)
    
    * Fix TestStateOversizedBlock
    
    * Moved `findBlockSizeLimit` together with other aux functions
    
    ---------
    
    Co-authored-by: Sergio Mena <[email protected]>
    mergify[bot] and sergio-mena authored Apr 27, 2023
    Configuration menu
    Copy the full SHA
    4cbca75 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. v0.37 pubsub: Handle big ints (cometbft#771)

    Replaced int64 with big.int
    
    Co-authored-by: Lasaro <[email protected]>
    Co-authored-by: Sergio Mena <[email protected]>
    3 people authored May 3, 2023
    Configuration menu
    Copy the full SHA
    9267594 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Struct Client exposes sensitive data (cometbft#784) (cometbft#787)

    (cherry picked from commit ecd5ee1)
    
    Co-authored-by: Sergio Mena <[email protected]>
    mergify[bot] and sergio-mena authored May 4, 2023
    Configuration menu
    Copy the full SHA
    38ab766 View commit details
    Browse the repository at this point in the history
  2. Unsafe int cast in kill command (backport cometbft#783) (cometbft#793)

    * Unsafe int cast in `kill` command (cometbft#783)
    
    * Unsafe int cast in `kill` command
    
    * Revert "Unsafe int cast in `kill` command"
    
    This reverts commit bbd649b.
    
    * Changed strategy
    
    (cherry picked from commit 03c5e77)
    
    # Conflicts:
    #	cmd/cometbft/commands/debug/kill.go
    
    * Revert "Unsafe int cast in `kill` command (cometbft#783)"
    
    This reverts commit 5cf3226.
    
    * Unsafe int cast in `kill` command (cometbft#783)
    
    * Unsafe int cast in `kill` command
    
    * Revert "Unsafe int cast in `kill` command"
    
    This reverts commit bbd649b.
    
    * Changed strategy
    
    ---------
    
    Co-authored-by: Sergio Mena <[email protected]>
    mergify[bot] and sergio-mena authored May 4, 2023
    Configuration menu
    Copy the full SHA
    72fa535 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. build(deps): Bump bufbuild/buf-setup-action from 1.17.0 to 1.18.0 (co…

    …metbft#814)
    
    Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.17.0 to 1.18.0.
    - [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
    - [Commits](bufbuild/buf-setup-action@v1.17.0...v1.18.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]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 8, 2023
    Configuration menu
    Copy the full SHA
    8d28044 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. Configuration menu
    Copy the full SHA
    2e13f73 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. build(deps): Bump slackapi/slack-github-action from 1.23.0 to 1.24.0 (c…

    …ometbft#866)
    
    Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.23.0 to 1.24.0.
    - [Release notes](https://github.com/slackapi/slack-github-action/releases)
    - [Commits](slackapi/slack-github-action@v1.23.0...v1.24.0)
    
    ---
    updated-dependencies:
    - dependency-name: slackapi/slack-github-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 25, 2023
    Configuration menu
    Copy the full SHA
    7bcca5c View commit details
    Browse the repository at this point in the history
  2. build(deps): Bump bufbuild/buf-setup-action from 1.18.0 to 1.19.0 (co…

    …metbft#867)
    
    Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.18.0 to 1.19.0.
    - [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
    - [Commits](bufbuild/buf-setup-action@v1.18.0...v1.19.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]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Jasmina Malicevic <[email protected]>
    dependabot[bot] and jmalicevic authored May 25, 2023
    Configuration menu
    Copy the full SHA
    92f900f View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. build(deps): Bump bufbuild/buf-setup-action from 1.19.0 to 1.20.0 (co…

    …metbft#911)
    
    Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.19.0 to 1.20.0.
    - [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
    - [Commits](bufbuild/buf-setup-action@v1.19.0...v1.20.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]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    6c94617 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. v0.37.x: Prevent a transaction to appear twice in the mempool (backport

    cometbft#890) (cometbft#926)
    
    * add a test to trigger the issue
    * add a fix (in particular, we track the sender when receiving a tx twice)
    * add a changelog
    
    ---------
    
    Co-authored-by: Daniel <[email protected]>
    (cherry picked from commit a09f5d3)
    
    * update fix and test wrt. v0.37.x
    
    ---------
    
    Co-authored-by: Pierre Sutra <[email protected]>
    mergify[bot] and otrack authored Jun 7, 2023
    Configuration menu
    Copy the full SHA
    587522f View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. e2e: Generate prometheus.yaml on setup (cometbft#954) (cometbft#957)

    * Generate prometheus yaml on setup
    
    * change file extension
    
    * move template to file
    
    * add templates dir
    
    (cherry picked from commit 3701c9f)
    
    Co-authored-by: Hernán Vanzetto <[email protected]>
    mergify[bot] and hvanz authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    9cbdef8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e45db5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f62405 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    79f182b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e6b456 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Add requirement for CheckTx in ABCI spec (backport cometbft#928) (c…

    …ometbft#965)
    
    * Add requirement for `CheckTx` in ABCI spec (cometbft#928)
    
    * Add requirement for `CheckTx` in ABCI spec
    
    * Apply suggestions from code review
    
    Co-authored-by: Hernán Vanzetto <[email protected]>
    Co-authored-by: Lasaro <[email protected]>
    Co-authored-by: Jasmina Malicevic <[email protected]>
    
    * Added sentence from @jmalicevic's suggestion
    
    * Addressed review comments
    
    * Update spec/abci/abci++_app_requirements.md
    
    Co-authored-by: Daniel <[email protected]>
    
    * Addressed comment
    
    * `CheckTx` requirements for the app, new version
    
    * New version of `CheckTx` requirement, after yesterday's discussion
    
    * Update spec/abci/abci++_app_requirements.md
    
    Co-authored-by: Hernán Vanzetto <[email protected]>
    
    * Addressed @josef-widder's comment
    
    ---------
    
    Co-authored-by: Hernán Vanzetto <[email protected]>
    Co-authored-by: Lasaro <[email protected]>
    Co-authored-by: Jasmina Malicevic <[email protected]>
    Co-authored-by: Daniel <[email protected]>
    (cherry picked from commit 21e94a2)
    
    # Conflicts:
    #	spec/abci/abci++_app_requirements.md
    
    * Revert "Add requirement for `CheckTx` in ABCI spec (cometbft#928)"
    
    * Add requirement for `CheckTx` in ABCI spec (cometbft#928)
    
    * Add requirement for `CheckTx` in ABCI spec
    
    * Apply suggestions from code review
    
    Co-authored-by: Hernán Vanzetto <[email protected]>
    Co-authored-by: Lasaro <[email protected]>
    Co-authored-by: Jasmina Malicevic <[email protected]>
    
    * Added sentence from @jmalicevic's suggestion
    
    * Addressed review comments
    
    * Update spec/abci/abci++_app_requirements.md
    
    Co-authored-by: Daniel <[email protected]>
    
    * Addressed comment
    
    * `CheckTx` requirements for the app, new version
    
    * New version of `CheckTx` requirement, after yesterday's discussion
    
    * Update spec/abci/abci++_app_requirements.md
    
    Co-authored-by: Hernán Vanzetto <[email protected]>
    
    * Addressed @josef-widder's comment
    
    ---------
    
    Co-authored-by: Hernán Vanzetto <[email protected]>
    Co-authored-by: Lasaro <[email protected]>
    Co-authored-by: Jasmina Malicevic <[email protected]>
    Co-authored-by: Daniel <[email protected]>
    
    ---------
    
    Co-authored-by: Sergio Mena <[email protected]>
    Co-authored-by: Hernán Vanzetto <[email protected]>
    Co-authored-by: Lasaro <[email protected]>
    Co-authored-by: Jasmina Malicevic <[email protected]>
    Co-authored-by: Daniel <[email protected]>
    6 people authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    4f04b67 View commit details
    Browse the repository at this point in the history
  2. fix: avoid recursive call after rename to (*PeerState).MarshalJSON (c…

    …ometbft#865) (cometbft#969)
    
    * avoid recursive call after rename to (*PeerState).MarshalJSON
    
    * add test
    
    * add change doc
    
    * explain for nolint
    
    * fix lint
    
    * fix golangci-lint to v1.52.2
    
    * fix golangci-lint to v1.52.2
    
    * Revert "fix golangci-lint to v1.52.2"
    
    This reverts commit 598a9ef.
    
    * Revert "fix golangci-lint to v1.52.2"
    
    This reverts commit a8aad12.
    
    * Reintroduced `cmtjson`
    
    * Avoid copying Mutex
    
    * Avoid copying Mutex -- 2nd try, more succint
    
    * Update .changelog/unreleased/bug-fixes/865-fix-peerstate-marshaljson.md
    
    * Update consensus/reactor_test.go
    
    ---------
    
    Co-authored-by: Sergio Mena <[email protected]>
    (cherry picked from commit f6ea091)
    
    Co-authored-by: mmsqe <[email protected]>
    mergify[bot] and mmsqe authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    9a453da View commit details
    Browse the repository at this point in the history
  3. Release v0.37.2 (cometbft#972)

    * changelog: Clean up and reorder
    
    Signed-off-by: Thane Thomson <[email protected]>
    
    * changelog: Add severity to security fixes
    
    Signed-off-by: Thane Thomson <[email protected]>
    
    * changelog: Add missing entries
    
    Signed-off-by: Thane Thomson <[email protected]>
    
    * changelog: Release v0.37.2
    
    Signed-off-by: Thane Thomson <[email protected]>
    
    * Rebuild changelog
    
    Signed-off-by: Thane Thomson <[email protected]>
    
    * version: Bump to v0.37.2
    
    Signed-off-by: Thane Thomson <[email protected]>
    
    * test/e2e: Use Debian Bullseye as base image
    
    Golang recently started offering Debian Bookworm as the default distro
    for `golang:1.20`, which provides a newer version of RocksDB than what
    we support in cometbft-db.
    
    For now this pins the image to Bullseye, which is the base image we have
    been using for some time now.
    
    Signed-off-by: Thane Thomson <[email protected]>
    
    ---------
    
    Signed-off-by: Thane Thomson <[email protected]>
    thanethomson authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    fe45483 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    22b12f6 View commit details
    Browse the repository at this point in the history