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

Chore: merge master into develop #3730

Merged
merged 138 commits into from
Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
2261900
Import wiki https://github.com/stacks-network/stacks-blockchain/wiki/…
igorsyl Mar 8, 2023
d51ed0c
Update README testnet command
jio-gl Mar 15, 2023
58addb4
Added --bin and -- not working ow.
jio-gl Mar 17, 2023
1bb056d
Merge branch 'master' into pr-reviews
jcnelson Mar 20, 2023
aa031d4
Merge branch 'master' into jo-tm-patch-1
jcnelson Mar 21, 2023
8cf2554
Merge branch 'master' into jo-tm-patch-1
jcnelson Mar 21, 2023
4b7880d
docs: update pr review docs with my comments
kantai Mar 21, 2023
2ae341f
Merge branch 'master' into pr-reviews
jcnelson Mar 22, 2023
18b3b86
docs: merge CONTRIBUTORS.md and DEVINFO.md into docs/CONTRIBUTING.md
kantai Mar 22, 2023
73f5552
docs: move docs/CONTRIBUTING.md to CONTRIBUTING.md
kantai Mar 22, 2023
2b5cda5
address PR review feedback
kantai Mar 28, 2023
6eb9d01
add resource bound example
kantai Mar 28, 2023
c7d2115
add more content from GH reviews
kantai Mar 28, 2023
87fd391
more PR feedback
kantai Mar 29, 2023
73af120
Merge pull request #3617 from stacks-network/jo-tm-patch-1
pavitthrap Mar 29, 2023
0b21740
Merge branch 'master' into pr-reviews
kantai Apr 3, 2023
3dbd820
Merge pull request #3604 from stacks-network/pr-reviews
kantai Apr 4, 2023
2015617
Add AI code policy
igorsyl Apr 6, 2023
d446737
Update CONTRIBUTING.md
igorsyl Apr 6, 2023
fa0eeae
Update CONTRIBUTING.md
igorsyl Apr 6, 2023
83a16d5
Merge pull request #3648 from stacks-network/igorsyl/ai-code
igorsyl Apr 6, 2023
ebf6cf2
fix: neon_node unprocessed_block behavior
kantai Apr 12, 2023
d4c73d1
add epoch-2.2 variant
kantai Apr 20, 2023
679ff44
epoch 2.2: unlock pox-2 lockups
kantai Apr 21, 2023
a741ee8
refresh epochs table in sortdb and add epochs definition
kantai Apr 20, 2023
5503a84
epoch 2.2: disable pox-2
kantai Apr 21, 2023
730028e
add e2e bitcoin test for epoch-2.2 disabling pox
kantai Apr 21, 2023
37cce8b
use EpochID check for disabling, add (missing) test file
kantai Apr 21, 2023
466d387
add transfer, lookup, mempool checks to pox_2_unlock_all
kantai Apr 21, 2023
78fc3f8
choose 2_431_300 as testnet 2.2 height
kantai Apr 24, 2023
4a3ef72
activate 2.2 on testnet
kantai Apr 24, 2023
1d09e2f
address refactoring review comments
kantai Apr 24, 2023
9c95b4f
fix testnet 2.1 end height
kantai Apr 24, 2023
f9e85d2
add pox_v2_unlock_height to "/new_block" event
kantai Apr 25, 2023
db00731
fix comments from PR review
kantai Apr 25, 2023
86dfaeb
set epoch-2.2 activation height according to sip-022
kantai Apr 25, 2023
cfeb584
upgrade debian dockerfiles from stretch (eol) to buster (current stable)
kantai Apr 25, 2023
e4976c8
disable macos builds until osxcross sources can be updated
kantai Apr 25, 2023
a27e10a
disable windows builds until cross-compilation sources can be updated
kantai Apr 25, 2023
51a019c
upgrade debian dockerfiles from stretch (eol) to buster (current stable)
kantai Apr 25, 2023
50fc803
ci: use stable (bullseye) for debian dockerfiles
kantai Apr 26, 2023
a376fec
update stale comment
kantai Apr 26, 2023
f5ba5ae
Merge branch 'fix/stretch-builds' into feat/sip-022-pox-disable
kantai Apr 26, 2023
d7827f7
add test, address PR comment feedback
kantai Apr 26, 2023
80a02c6
Merge pull request #3677 from stacks-network/feat/sip-022-pox-disable
kantai Apr 26, 2023
c522153
add epoch gate to claritydb::get_v2_unlock_height()
kantai Apr 27, 2023
6f57003
build: use optimizations in packages for dev builds
kantai Mar 23, 2023
dd71dde
chore: update CHANGELOG.
diwakergupta Apr 27, 2023
472649c
Update CHANGELOG.md
diwakergupta Apr 27, 2023
e6ffcdc
add integration test
kantai Apr 27, 2023
225549c
fix test
kantai Apr 27, 2023
0abe7e8
introduce epoch 2.3
kantai Apr 26, 2023
71cf5f7
fix: preserve buggy canonicalize behavior in 2.2
obycode May 1, 2023
282f89f
test: add coverage for cross-epoch trait invocations for epochs 2.2 a…
kantai May 1, 2023
ba247b5
add more test rstest cases, update EpochId::latest()
kantai May 1, 2023
fd9fece
test: both invocation-1 and invocation-2
kantai May 1, 2023
c281835
bump block version
kantai May 1, 2023
7a14537
test: add epoch_23::trait_invocation_behavior
kantai May 1, 2023
c6e9d35
set 2.3 activation height to reflect SIP-023, set testnet activation …
kantai May 2, 2023
f1b7d1a
updated testnet height + expand vm::tests::traits
kantai May 2, 2023
9b8611e
chore: add copyright comment to epoch_23.rs
kantai May 2, 2023
13f0d28
correct comment text and loosen request time bound in atlas test
kantai May 2, 2023
0c23a83
update mainnet 2.3 activation height with latest from SIP
kantai May 2, 2023
6741e3c
Merge pull request #3693 from stacks-network/feat/2.3-traits-only-fix
kantai May 2, 2023
754146c
chore - update changelog for 2.3.0.0.0
wileyj May 2, 2023
2f36efa
fix: update peer versions to latest
kantai May 3, 2023
231491a
chore: update CHANGELOG.md
kantai May 3, 2023
adc87a6
chore: be permissive in 2.2/2.3 boundary on peer versions
kantai May 3, 2023
fbffd9e
imports
kantai May 3, 2023
6984348
fix: yield interpreter errors in deser_hex
kantai May 6, 2023
0ce213b
chore: updating changelog
wileyj May 8, 2023
baad222
fix: yield too large supertype from checks
kantai May 9, 2023
0f4fae3
introduce epoch 2.4
kantai Apr 26, 2023
4e606b4
add STXBalance::LockedPoxThree variant
kantai Apr 26, 2023
8214cf3
address PR nits
kantai May 2, 2023
8c2ec78
add comments to epoch_22 test
kantai Apr 28, 2023
d0c3497
introduce epoch 2.4
kantai May 2, 2023
c473be7
expanded epoch validation checks
kantai May 4, 2023
960cbc0
wip - add pox 3 contract
pavitthrap Apr 28, 2023
c77bed7
added burnstateDB method to create getter for pox_3 contract activation
pavitthrap Apr 28, 2023
a3fd086
fix to test
pavitthrap Apr 28, 2023
57ad7ef
applying cargo fmt
pavitthrap Apr 28, 2023
539caa7
adjust first pox 3 cycle
pavitthrap May 1, 2023
2a68a0f
made changes needed for epoch 2.4
pavitthrap May 3, 2023
b87a5ac
fix test build errors, add receipt
kantai May 3, 2023
0b6c8c6
fixed test
pavitthrap May 3, 2023
7d55801
added special handlers
pavitthrap May 1, 2023
18805f7
used constant
pavitthrap May 2, 2023
3dbb886
respond to comments
pavitthrap May 3, 2023
e7a663b
removed burnchain height check
pavitthrap May 4, 2023
c37c345
fix: add `delegated-to` field to `stacking-state`
obycode Apr 28, 2023
205c380
fix: fix error in `increase-reward-cycle-entry`
obycode May 2, 2023
7c191d8
feat(pox-3): add more assertions
obycode May 3, 2023
8cd9273
refactor(pox-3): `first-extend-cycle`
obycode May 3, 2023
aeeec25
chore: add comment on `first-extend-cycle`
obycode May 3, 2023
c8a3fe0
use pox-3 for reward sets after activation height
kantai May 4, 2023
aa35ed7
initial testing
kantai May 4, 2023
0c03f85
working invariants in the simple test case
kantai May 4, 2023
8f6d96e
implement pox-3 auto-unlock, add pox-3 auto unlock test
kantai May 4, 2023
9672c33
fix pox-2 tests for the updated invariant checks
kantai May 4, 2023
cf53475
fix bug in pox-3-increase handler, add test for delegate-stack-increase
kantai May 5, 2023
1dbbc4e
test: add pox_3_tests::stack_increase
kantai May 5, 2023
e29e718
test: more porting of pox-2 tests to pox-3
kantai May 5, 2023
2dc1a55
feat: allow epoch2.2 through epoch2.4 to be configured in regtest mod…
zone117x May 3, 2023
4d98d56
fix: v2_unlock_height should be Epoch2.2 start_height+1
zone117x May 3, 2023
71d1ed2
chore: fix debug message for v2_unlock_height override
zone117x May 4, 2023
f4a712a
chore: fix typos
obycode May 5, 2023
eacbf98
test: add segwit, pox-address get-burn-info validation tests
kantai May 5, 2023
ab3e854
tests: finish porting pox_2_tests to pox_3
kantai May 5, 2023
f568ce2
update tests with new default regtest epochs
kantai May 5, 2023
fe85271
feat: add `pox-3` to contract list in `/v2/pox` RPC response
zone117x May 3, 2023
22baac4
chore: PR feedback (pox_3_first_cycle off-by-one)
zone117x May 4, 2023
7a8961d
Revert "chore: PR feedback (pox_3_first_cycle off-by-one)"
zone117x May 4, 2023
c5a1be2
chore: PR feedback (pox_3_first_cycle off-by-one)
zone117x May 4, 2023
cd66a94
added epoch2.4 test
pavitthrap May 4, 2023
1bdc6a4
fixed test, added to gh workflow
pavitthrap May 11, 2023
c58ba79
chore: update testnet 2.4 activation
obycode May 12, 2023
acc2279
feat: implement proposed SIP-024 sanitization logic for epoch-2.4
kantai May 12, 2023
eb8b2cb
fix pox_3 auto_unlock tests
kantai May 15, 2023
0a5af8b
more sanitization unit cases
kantai May 15, 2023
0201334
added more test coverage for epoch 2.4
pavitthrap May 15, 2023
4c12f9b
fix: allow change of delegation data
friedger May 15, 2023
defcaa3
chore: improve comments
friedger May 15, 2023
00e6c32
address PR feedback, enable sanitization in from-consensus-buff
kantai May 17, 2023
6866680
address PR feedback
kantai May 19, 2023
41da4a5
fix: affirmation calc should skip any ops whose parent is <= first_bl…
kantai May 19, 2023
bfa03c7
update mainnet 2.4 height with sip-024 value
kantai May 19, 2023
db22876
add comment to affirmation module explaining change
kantai May 19, 2023
c7b50e0
add epoch.truncate
pavitthrap May 22, 2023
ff25ba6
sanitize-gate the depth check
kantai May 22, 2023
cecc15c
Chore - adding 2.4.0.0.0 to changelog
wileyj May 22, 2023
a93c286
chore: add sip-024 text
wileyj May 22, 2023
02db1e6
Merge branch 'develop' into chore/merge-master-develop-2.4
pavitthrap May 30, 2023
1b371c2
ran fmt
pavitthrap May 30, 2023
d467434
added missing function
pavitthrap May 31, 2023
686251a
chore: add changelog entry for PR 3597
wileyj Jun 1, 2023
9b92d03
Merge branch 'develop' into chore/merge-master-develop-2.4
pavitthrap Jun 1, 2023
82c23c6
typo in changelog
wileyj Jun 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/bitcoin-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,13 @@ jobs:
- tests::epoch_21::test_v1_unlock_height_with_current_stackers
- tests::epoch_21::test_v1_unlock_height_with_delay_and_current_stackers
- tests::epoch_21::trait_invocation_cross_epoch
- tests::epoch_22::pox_2_unlock_all
- tests::epoch_22::disable_pox
- tests::epoch_22::test_pox_reorg_one_flap
- tests::epoch_23::trait_invocation_behavior
- tests::neon_integrations::bad_microblock_pubkey
- tests::epoch_24::fix_to_pox_contract
- tests::epoch_24::verify_auto_unlock_behavior
steps:
- uses: actions/checkout@v2
- name: Download docker image
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,10 @@ jobs:
matrix:
platform:
[
# disable mac builds until osxcross can be updated for bullseye
windows-x64,
macos-x64,
macos-arm64,
# macos-x64,
# macos-arm64,
linux-x64,
linux-musl-x64,
linux-armv7,
Expand Down Expand Up @@ -261,7 +262,7 @@ jobs:
uses: docker/build-push-action@v2
with:
platforms: linux/amd64
file: Dockerfile.stretch
file: Dockerfile.debian
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand Down Expand Up @@ -306,9 +307,10 @@ jobs:
matrix:
platform:
[
# disable mac builds until osxcross can be updated for bullseye
windows-x64,
macos-x64,
macos-arm64,
# macos-x64,
# macos-arm64,
linux-x64,
linux-musl-x64,
linux-armv7,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
uses: docker/build-push-action@v2
with:
platforms: ${{ env.BUILD_PLATFORMS }}
file: Dockerfile.stretch
file: Dockerfile.debian
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand Down
55 changes: 54 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,64 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
runtime error and include details about the error in the `vm_error` field of
the receipt. Fixes issues #3154, #3328.

- Added config setting `burnchain.wallet_name` which addresses blank wallets no
longer being created by default in recent bitcoin versions. Fixes issue #3596

## [2.4.0.0.0]
This is a **consensus-breaking** release to revert consensus to PoX, and is the second fork proposed in SIP-022.

- [SIP-022](https://github.com/stacksgov/sips/blob/main/sips/sip-022/sip-022-emergency-pox-fix.md)
- [SIP-024](https://github.com/stacksgov/sips/blob/main/sips/sip-024/sip-024-least-supertype-fix.md)

### Fixed
- PoX is re-enabled and stacking resumes starting at Bitcoin block `791551`
- Peer network id is updated to `0x18000009`
- Adds the type sanitization described in SIP-024

This release is compatible with chainstate directories from 2.1.0.0.x and 2.3.0.0.x

## [2.3.0.0.2]

This is a high-priority hotfix release to address a bug in the
stacks-node miner logic which could impact miner availability.

This release is compatible with chainstate directories from 2.3.0.0.x and 2.1.0.0.x

## [2.3.0.0.1]

This is a hotfix release to update:
- peer version identifier used by the stacks-node p2p network.
- yield interpreter errors in deser_hex

This release is compatible with chainstate directories from 2.3.0.0.x and 2.1.0.0.x

## [2.3.0.0.0]

This is a **consensus-breaking** release to address a Clarity VM bug discovered in 2.2.0.0.1.
Tx and read-only calls to functions with traits as parameters are rejected with unchecked TypeValueError.
Additional context and rationale can be found in [SIP-023](https://github.com/stacksgov/sips/blob/main/sips/sip-023/sip-023-emergency-fix-traits.md).

This release is compatible with chainstate directories from 2.1.0.0.x.

## [2.2.0.0.1]

This is a **consensus-breaking** release to address a bug and DoS vector in pox-2's `stack-increase` function.
Additional context and rationale can be found in [SIP-022](https://github.com/stacksgov/sips/blob/main/sips/sip-022/sip-022-emergency-pox-fix.md).

This release is compatible with chainstate directories from 2.1.0.0.x.

## [2.1.0.0.3]

This is a high-priority hotfix release to address a bug in the
stacks-node miner logic which could impact miner availability. This
release's chainstate directory is compatible with chainstate
directories from 2.1.0.0.2.

## [2.1.0.0.2]

This software update is a hotfix to resolve improper unlock handling
in mempool admission. This release's chainstate directory is
compatible with chainstate directories from 2.1.0.0.2.
compatible with chainstate directories from 2.1.0.0.1.

### Fixed

Expand Down
Loading