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

Stacks 2.1 #3567

Merged
merged 2,211 commits into from
Feb 17, 2023
Merged

Stacks 2.1 #3567

merged 2,211 commits into from
Feb 17, 2023

Conversation

jcnelson
Copy link
Member

Stacks 2.1 stable release: Our love letter to the Stacks community on Valentine's Day 2023.

jcnelson and others added 30 commits December 22, 2022 12:06
…n't wait for more than the highest sortition height's height (avoids a livelock)
sortition AM doesn't conflict with the heaviest AM but it does with the
canonical AM, then it means that there is a downloaded but not processed
anchor block and we need to unwind the sortition history back to that
point.
build(deps): Update secp256k1 to 0.24.2
…private key data (not the last-sortitioned block)
@jcnelson
Copy link
Member Author

Great, that seems in line with what I had posted above. Roughly what block number did you have in mind?

The start of cycle 55 is Bitcoin block 781,551

@igorsyl
Copy link
Contributor

igorsyl commented Feb 14, 2023

Updated from END of Cycle 55 to START of Cycle 55.

Cycle 52 ends in ~6 days.
Estimated activation in 6 days + 2 cycles x 14 days/cycle = 34 days => March 20

cc @diwakergupta

@igorsyl
Copy link
Contributor

igorsyl commented Feb 15, 2023

Failed test cases:

[sampled-genesis (tests::neon_integrations::stx_transfer_btc_integration_test)](https://github.com/stacks-network/stacks-blockchain/actions/runs/4175444795/jobs/7230824324#logs)

#5 181.3 thread 'tests::neon_integrations::stx_transfer_btc_integration_test' panicked at 'unexpected btc transaction type', testnet/stacks-node/src/tests/neon_integrations.rs:1706:21
[sampled-genesis (tests::epoch_21::test_v1_unlock_height_with_current_stackers)](https://github.com/stacks-network/stacks-blockchain/actions/runs/4175444795/jobs/7230835391#logs)

#5 215.2 thread 'tests::epoch_21::test_v1_unlock_height_with_current_stackers' panicked at 'assertion failed: `(left == right)`
#5 215.2   left: `Tuple(TupleData { type_signature: TupleTypeSignature { "hashbytes": (buff 20), "version": (buff 1),}, data_map: {ClarityName("hashbytes"): Sequence(Buffer(0000000000000000000000000000000000000000)), ClarityName("version"): Sequence(Buffer(00))} })`,
#5 215.2  right: `Tuple(TupleData { type_signature: TupleTypeSignature { "hashbytes": (buff 20), "version": (buff 1),}, data_map: {ClarityName("hashbytes"): Sequence(Buffer(0e6689f4efced11c29b55c4a9c33b67a82758cab)), ClarityName("version"): Sequence(Buffer(00))} })`', testnet/stacks-node/src/tests/epoch_21.rs:5138:21

@jcnelson
Copy link
Member Author

Should be fixed in #3572.

Once that PR merges, we can merge this one.

@wileyj
Copy link
Contributor

wileyj commented Feb 15, 2023

@jcnelson one more that was requested to be merged:
#3537

Copy link
Contributor

@pavitthrap pavitthrap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just had a few comments about dead code

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
clarity/src/vm/analysis/type_checker/v2_1/mod.rs Outdated Show resolved Hide resolved
clarity/src/vm/tests/contracts.rs Show resolved Hide resolved
src/chainstate/stacks/block.rs Show resolved Hide resolved
src/net/chat.rs Outdated Show resolved Hide resolved
src/net/chat.rs Outdated Show resolved Hide resolved
Copy link
Member

@kantai kantai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@igorsyl igorsyl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@jcnelson
Copy link
Member Author

Just gonna write a changelog and address @pavitthrap's feedback real quick (in a separate PR).

@jcnelson jcnelson merged commit f0ed1b9 into master Feb 17, 2023
@blockstack-devops
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Status: ✅ Done
Development

Successfully merging this pull request may close these issues.