Skip to content

Commit

Permalink
chore: update cometbft version v0.37.5 -> v0.37.9 (#4720)
Browse files Browse the repository at this point in the history
## Describe your changes

Updates the recommended CometBFT version to the latest in the 0.37.x
series, and also relaxes the language in the guide, to make clear that
anything in 0.37.x is acceptable.

## Issue ticket number and link
N/A

## Checklist before requesting a review

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

> docs changes and tweaks to deploy scripts, no application code
changes.

---------

Co-authored-by: Conor Schaefer <[email protected]>
  • Loading branch information
conorsch and conorsch authored Jul 17, 2024
1 parent 8126acb commit eca8a59
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion deployments/compose/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ services:

# The CometBFT node
cometbft-node0:
image: "docker.io/cometbft/cometbft:v0.37.5"
image: "docker.io/cometbft/cometbft:v0.37.9"
ports:
- "26656:26656"
- "26657:26657"
Expand Down
2 changes: 1 addition & 1 deletion deployments/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ services:

# The CometBFT node
cometbft-node0:
image: "docker.io/cometbft/cometbft:v0.37.5"
image: "docker.io/cometbft/cometbft:v0.37.9"
ports:
- "26656:26656"
- "26657:26657"
Expand Down
2 changes: 1 addition & 1 deletion deployments/scripts/install-cometbft
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail


# Sane defaults
COMETBFT_VERSION="${COMETBFT_VERSION:-0.37.5}"
COMETBFT_VERSION="${COMETBFT_VERSION:-0.37.9}"

# Download and extract
cometbft_download_url="https://github.com/cometbft/cometbft/releases/download/v${COMETBFT_VERSION}/cometbft_${COMETBFT_VERSION}_linux_amd64.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/src/cometbft_version.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.37.5
v0.37.9
7 changes: 4 additions & 3 deletions docs/guide/src/node/pd/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ There's also a one-liner install script available on the release page, which wil
### Installing CometBFT

You'll need to have [CometBFT installed](https://docs.cometbft.com/v0.37/guides/install) on your system to join your node to the testnet.
You must use a specific version of CometBFT, `{{ #include ../../cometbft_version.md }}`, which you can download
[from the CometBFT releases page](https://github.com/cometbft/cometbft/releases/tag/{{ #include ../../cometbft_version.md }}).
If you prefer to compile from source instead, make sure you are compiling version `{{ #include ../../cometbft_version.md }}`.
You must use a compatible version of CometBFT. Any version in the `v0.37.x` series will work, such as `{{ #include ../../cometbft_version.md }}`,
which you can download [from the CometBFT releases page](https://github.com/cometbft/cometbft/releases/tag/{{ #include ../../cometbft_version.md }}).
If you prefer to compile from source instead, make sure you are compiling the correct version by checking out its tag
in the CometBFT repo before building.
2 changes: 1 addition & 1 deletion docs/guide/src/penumbra_version.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.79.0
v0.79.1
10 changes: 7 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@
let
# Define versions of Penumbra and CometBFT
penumbraRelease = null; # Use the local working copy
# To update the cometbft hash values, run:
# nix-prefetch-git --url https://github.com/cometbft/cometbft --rev <tag>
# and review the output.
cometBftRelease = {
version = "0.37.5";
sha256 = "sha256-wNVHsifieAtZgedavCEJLgG0kRDqUhG4Lk5ciTPoNzI=";
vendorHash = "sha256-JPEGMa0HDesEtKFvgLUP2UfTB0DlParepE2p+n06Igc=";
version = "0.37.9";
sha256 = "sha256-4LUdDlDog4kbiwyGo5fZEvtDXa6sIm+SKlSBWq1angc=";
vendorHash = "sha256-0iqI/Z8rqDyQ7JqSrsqA9kADqF6qZy8NxTDNjAYYHts=";
};

# Set up for Rust builds, pinned to the Rust toolchain version in the Penumbra repository
Expand Down Expand Up @@ -109,6 +112,7 @@
cargo-watch
cometbft
just
nix-prefetch-scripts
postgresql
protobuf
rocksdb
Expand Down

0 comments on commit eca8a59

Please sign in to comment.