-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pd): migrate tendermint -> cometbft
We're targeting cometbft v0.34.27, which is essentially the same code as the Tendermint v0.34.x series we've been tracking. Updates have been made throughout: * pd var names * deployment files * documentation There are still a ton of "tendermint" references in the repo, such as `tendermint-rs`, but that's fine.
- Loading branch information
Showing
9 changed files
with
70 additions
and
80 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,28 +23,16 @@ jobs: | |
- name: Load rust cache | ||
uses: astriaorg/[email protected] | ||
|
||
- name: Install tendermint binary | ||
- name: Install cometbft binary | ||
run: | | ||
curl -L -O "https://github.com/tendermint/tendermint/releases/download/v0.34.24/tendermint_0.34.24_linux_amd64.tar.gz" | ||
tar xzf tendermint_0.34.24_linux_amd64.tar.gz tendermint | ||
curl -L -O "https://github.com/cometbft/cometbft/releases/download/v0.34.27/cometbft_0.34.27_linux_amd64.tar.gz" | ||
tar -xzf "cometbft_0.34.27_linux_amd64.tar.gz" cometbft | ||
mkdir -p $HOME/bin | ||
cp tendermint $HOME/bin | ||
cp cometbft $HOME/bin | ||
echo $PATH | ||
export PATH=$HOME/bin:$PATH | ||
which tendermint | ||
which cometbft | ||
# The point of these was to do compilation upfront, doesn't seem to be effective | ||
#- name: Build `pd` | ||
# uses: actions-rs/cargo@v1 | ||
# with: | ||
# command: build | ||
# args: --release --package pd | ||
#- name: Build `pcli` tests | ||
# uses: actions-rs/cargo@v1 | ||
# with: | ||
# command: test | ||
# args: --release --features sct-divergence-check --package pcli --no-run | ||
|
||
- name: Run the smoke test suite | ||
run: | | ||
export PATH=$HOME/bin:$PATH | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=CometBFT for Penumbra | ||
|
||
[Service] | ||
ExecStart=/usr/local/bin/cometbft start --home $HOME/.penumbra/testnet_data/node0/cometbft | ||
Restart=on-failure | ||
RestartSec=5 | ||
User=$USER | ||
|
||
[Install] | ||
WantedBy=default.target |
This file was deleted.
Oops, something went wrong.
This file contains 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