Release 2.5.0.0.2: Stacks 2.5 Hard Fork

8 views
Skip to first unread message

Jesse Wiley

unread,
Apr 17, 2024, 5:08:59 PMApr 17
to announce
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

We have released Stacks version 2.5.0.0.2, available here: https://github.com/stacks-network/stacks-blockchain/releases/tag/2.5.0.0.2.

This release implements the 2.5 Stacks consensus rules which activates at Bitcoin block `840,360`: primarily the instantiation of the pox-4 contract. For more details see SIP-021.
This is the first consensus-critical release for Nakamoto. Nodes which do not update before the 2.5 activation height will be forked away from the rest of the network.
This release is compatible with 2.4.x.x.x chainstate directories and does not require re-syncing from genesis.
The first time a node boots with this version it will perform some database migrations which could lengthen the normal node startup time.


Changelog:
## [2.5.0.0.2]

This release fixes two bugs in `2.5.0.0.0`, correctly setting the activation height for 2.5, and the network peer version.

## [2.5.0.0.0]

This release implements the 2.5 Stacks consensus rules which activates at Bitcoin block `840,360`: primarily the instantiation
of the pox-4 contract. For more details see SIP-021.

This is the first consensus-critical release for Nakamoto. Nodes which do not update before the 2.5 activation height will be forked away from the rest of the network. This release is compatible with 2.4.x chain state directories and does not require resyncing from genesis. The first time a node boots with this version it will perform some database migrations which could lengthen the normal node startup time.

**This is a required release before Nakamoto rules are enabled in 3.0.**


### Timing of Release from 2.5 to 3.0

Activating Nakamoto will include two epochs:

- - **Epoch 2.5:** Pox-4 contract is booted up but no Nakamoto consensus rules take effect.
- - **Epoch 3:** Nakamoto consensus rules take effect.

### Added

- - New RPC endpoint `/v2/stacker_set/{cycle_number}` to fetch stacker sets in PoX-4
- - New `/new_pox_anchor` endpoint for broadcasting PoX anchor block processing.
- - Stacker bitvec in NakamotoBlock
- - New [`pox-4` contract](./stackslib/src/chainstate/stacks/boot/pox-4.clar) that reflects changes in how Stackers are signers in Nakamoto:
  - `stack-stx`, `stack-extend`, `stack-increase` and `stack-aggregation-commit` now include a `signer-key` parameter, which represents the public key used by the Signer. This key is used for determining the signer set in Nakamoto.
  - Functions that include a `signer-key` parameter also include a `signer-sig` parameter to demonstrate that the owner of `signer-key` is approving that particular Stacking operation. For more details, refer to the `verify-signer-key-sig` method in the `pox-4` contract.
  - Signer key authorizations can be added via `set-signer-key-authorization` to omit the need for `signer-key` signatures
  - A `max-amount` field is a field in signer key authorizations and defines the maximum amount of STX that can be locked in a single transaction.
- - Added configuration parameters to customize the burn block at which to start processing Stacks blocks, when running on testnet or regtest.
  ```
  [burnchain]
  first_burn_block_height = 2582526
  first_burn_block_timestamp = 1710780828
  first_burn_block_hash = "000000000000001a17c68d43cb577d62074b63a09805e4a07e829ee717507f66"
  ```

### Modified

- - `pox-4.aggregation-commit` contains a signing-key parameter (like
  `stack-stx` and `stack-extend`), the signing-key parameter is removed from
  `delegate-*` functions.

Git commit hash: 3262678001cfb00c64405ed00b67be6ce280bc95

SHA512SUMS:
298c8d3ccf058d46dd77796b8e25ade9e69ed7bac6cddff7f5838379996c48fc0a25441099ad9576cd02ce36367553b6e813320cd223c8b817f8924c0f5256ca  linux-glibc-arm64.zip
2314233f5b895c503da5816be9bf56236c97978ca10e015ec9848f920fc38cf25f03214e19452bef6caeb342a8c6415f060fd1fcfdfbe66329bec361ef10dd74  linux-glibc-armv7.zip
9d8e200a1c56b3360491d0c326abc0b9555dda61408c95a2bd45c415aa01becfeadf4a5b7d5f68c48aae2f24dcd47c6bd602901e7f891272e510b95cd416ae96  linux-glibc-x64.zip
4e94becd5cf806cac60752bcd110b9c7910773238eba0e6fb43e8c8455d323e5e635b47bab77b48c9e62461a4f72673dcfce11ddf1a3dd53df686960e37f3a3f  linux-musl-arm64.zip
6e2bb3ee4f796401a626f7972189f39164eceb6337f01d54b7370c914563fb9ae2cb14a1ea4c8e5c9638c80961676acd98cbf6bcf98da98b041be74f032f4430  linux-musl-armv7.zip
0b82af6c7579969ded1dd561fe5016e60b4627e2068d78f615a84f3b6cdd133bb497ce9e1cbb9e68c26188f354c35e65a1eb2b4da2a32e96c61152f480f4d905  linux-musl-x64.zip
0423f9787a00249598dafafd987ab8705517f89e9f1461146323393d36a46a6840a2a407deabc9b9cd1b396210f5b4abea7fafcb98d0a6c741007dd9298f82ad  macos-arm64.zip
bb690e98dff1f82e6c1928cc2125c88269520a58c527fc42d9d12716785d47f7b414ed87693bd5df26fcffbb135a9b03dc7846afb82f4572a781fc510b48cbe7  macos-x64.zip
d2188427d15bac2e13239acb927d0b3717360680181d935ee0c0bfca0e1fe65b0f36e7f82437d749ce73cd9065e3570e485baaa1813615d2e2ad2544de2bd930  windows-x64.zip
ab88fbcf07c912a2c5c75c70207b5295901fb45a664f8e3b88d04ccdc0886174b8002636931c6ff9c1fefc3eca60388b5a60f2378e2cf782389e1ae84499419e  stacks-core-2.5.0.0.2.tar.gz
daa09d62eff1f2a9313d82a4df01eda430a5c229614d0db57b7cd4df8f9e38059847577c705d655854bc550e1f1c98ebb8419e247282534ec1a8ce7338f03d3c  stacks-core-2.5.0.0.2.zip

Best,
Jesse Wiley
Engineering Partner, Stacks Foundation
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEuA5a9CyThwv6776aKDYgwf4oCDwFAmYgN80RHGplc3NlQHN0
YWNrcy5vcmcACgkQKDYgwf4oCDy+Mg//Y4kx6XdzVfjD6phj4jbXM1/Y55qxq/Ii
ty6890/7zUXRf167DOTQhXAokJWY5MqpFJVYTPB3Ux9SMOhddaHnMkvstErVx3hr
/ljSGz8ZB3AXDufAmm6tSrlL3OfaLbOOJ2w8Bw6vgkHCY/i51fb0nPNAIbprQC0b
g0iW/5EQJeh1583osgahN+4E7bQizQMnYl17ZkPP8XK8t9p3bhG+SYBiBx+9YZnp
hGGrNlODpyrczFWkWffQqPWjKEU7MfNBMm+womKDvimhNECBR6p1Zm+HoIbzYrg9
DhEuANUoUB35HZxeUfUALpaKqyBF6pFLJlzTpP055wLf6PbYOFnlOQinQKfOmonb
2TmL9aDCVu0bW/FVMY889HSCz/t/hU3G/Qhvxzxg7/y+QceDtrSss7llZcYlc3hp
QKP+ZgWN0FGw0mCo6n/xNYf3N0oe8gqemhk3IVTVjLaIVFa7UP9QH3C9RvDI6oQA
qI7DM6JFqUzYMAuodslJHEzrpOXhdPwLJJHcDtZmqZM5CcPwzFwNHRM4E0mhFD47
a0fkqfMyKUtmYXGNdaGp96gl8JyEdfxNzx3eT5WlZhe5sP5QsRRtdynw0ATUoEma
vJX23cHV+1JfbI15a8uFesFiCgLQsriUGIVavGrh+HApBSF+ykCVYqjoc5eBBBkE
lq2riIiPvaE=
=0Eg7
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages