chore: update versions and add zstd compression support#142
Open
sangwon0001 wants to merge 1 commit intostacks-network:masterfrom
Open
chore: update versions and add zstd compression support#142sangwon0001 wants to merge 1 commit intostacks-network:masterfrom
sangwon0001 wants to merge 1 commit intostacks-network:masterfrom
Conversation
- Update STACKS_BLOCKCHAIN_VERSION to 3.3.0.0.3 - Update STACKS_SIGNER_VERSION to 3.3.0.0.3.0 - Update STACKS_BLOCKCHAIN_API_VERSION to 8.13.6 - Update POSTGRES_VERSION to 17 - Change chainstate archive format from tar.gz to tar.zst - Add zstd extraction support with availability check Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
c1f7013 to
55c32a5
Compare
wileyj
reviewed
Jan 20, 2026
| if command -v zstd &> /dev/null; then | ||
| zstd -d -c "${CHAINDATA_DEST}" | tar -xvf - -C "${SCRIPTPATH}/persistent-data/${NETWORK}/stacks-blockchain/" || exit_error "${COLRED}Error${COLRESET} extracting stacks-blockchain chainstate data" | ||
| else | ||
| exit_error "${COLRED}Error${COLRESET} - zstd is required for extraction. Install with: brew install zstd (macOS) or apt install zstd (Ubuntu)" |
Collaborator
There was a problem hiding this comment.
Suggested change
| exit_error "${COLRED}Error${COLRESET} - zstd is required for extraction. Install with: brew install zstd (macOS) or apt install zstd (Ubuntu)" | |
| exit_error "${COLRED}Error${COLRESET} - zstd is required for extraction. Install with: brew install zstd (macOS) or apt install zstd (Debian based systems)" |
wileyj
reviewed
Jan 20, 2026
| STACKS_BLOCKCHAIN_VERSION=3.3.0.0.1 | ||
| STACKS_SIGNER_VERSION=3.3.0.0.1.0 | ||
| STACKS_BLOCKCHAIN_API_VERSION=8.13.4 | ||
| STACKS_BLOCKCHAIN_VERSION=3.3.0.0.3 |
Collaborator
There was a problem hiding this comment.
Suggested change
| STACKS_BLOCKCHAIN_VERSION=3.3.0.0.3 | |
| STACKS_BLOCKCHAIN_VERSION=3.3.0.0.4 |
wileyj
reviewed
Jan 20, 2026
| STACKS_SIGNER_VERSION=3.3.0.0.1.0 | ||
| STACKS_BLOCKCHAIN_API_VERSION=8.13.4 | ||
| STACKS_BLOCKCHAIN_VERSION=3.3.0.0.3 | ||
| STACKS_SIGNER_VERSION=3.3.0.0.3.0 |
Collaborator
There was a problem hiding this comment.
Suggested change
| STACKS_SIGNER_VERSION=3.3.0.0.3.0 | |
| STACKS_SIGNER_VERSION=3.3.0.0.4.0 |
wileyj
requested changes
Jan 20, 2026
Collaborator
wileyj
left a comment
There was a problem hiding this comment.
Few nits, but overall good to go.
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.
Description
As a Stacks node operator, I would like to use the latest archive files from Hiro to seed my chainstate. The Hiro archive has updated to newer versions and changed the compression format from tar.gz to tar.zst for better compression ratios.
seed-chainstate.shwill now needzstdinstalled for extractionType of Change
Does this introduce a breaking change?
zstdinstalled for chainstate extractionzstdis not availableAre documentation updates required?
Testing information
zstdis installedsudo ./scripts/seed-chainstate.shscripts/seed-chainstate.sh,sample.envChecklist
npm run testpasses