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

merge nakamoto into develop #1933

Merged
merged 41 commits into from
Apr 10, 2024
Merged

merge nakamoto into develop #1933

merged 41 commits into from
Apr 10, 2024

Conversation

rafaelcr
Copy link
Collaborator

No description provided.

rafaelcr and others added 30 commits January 23, 2024 11:08
* fix: add pox-4 event tests

* test: fix pox-4 revoke test

* chore: remove unused param from synthetic event

* test: add signer-keys

* test: add more signer-keys

* chore: update to beta stacking client

* test: fix single test

* test: refactor btc address format stacking with bitcoin rpc

* test: fix pox-4-stack-extend-increase

* fix: update rosetta to use signer-key

* build: add generated docs

* test: fix rosetta test

* fix: update to latest node image

* chore: bump latest stacks-node image

* fix(test): update arg ordering for delegate-stack-extend

* fix(test): update arg ordering for delegate-stack-extend

* test: revert size change for delegate-stx action

* test: skip broken burnchain op test

* test: unflake timing of pox test with reward slots

* chore: update test helper, since current_cycle.id can be incorrect

* test: fix btc address test

* test: add timing tolerance on unlock tests

* test: add timing tolerance on reward test

* test: allow multiple rewards

* test: allow multiple rewards

* fix: add migration for pox-4

* chore: undo beta version of stackingclient

* ci: do not require epoch2.5 tests to pass for now, too flaky

* test: switch order in test

* test: fix flakiness with `pox-4-btc-address-formats` tests (#1849)

* test: fix flakiness with `pox-4-btc-address-formats` tests

* test: specify new bitcoin wallet name

* test: fix main bitcoin wallet private key pollution in more tests

---------

Co-authored-by: janniks <janniks@users.noreply.github.com>
Co-authored-by: Matthew Little <zone117x@gmail.com>
## [7.9.0-nakamoto.1](v7.8.0...v7.9.0-nakamoto.1) (2024-01-25)

### Features

* pox 4 revoke events and signer-key support ([#1829](#1829)) ([5e5650a](5e5650a)), closes [#1849](#1849)
## [7.9.0-nakamoto.2](v7.9.0-nakamoto.1...v7.9.0-nakamoto.2) (2024-01-26)

### Bug Fixes

* remove signer columns from tenure-change transactions ([#1845](#1845)) ([8ec726b](8ec726b))
## [7.9.0-nakamoto.3](v7.9.0-nakamoto.2...v7.9.0-nakamoto.3) (2024-01-26)

### Bug Fixes

* sql transactional consistency bug with fetching chaintip in various areas ([#1853](#1853)) ([ada8536](ada8536))
* feat: add signer-keys from pox4 events

* fix: do not require signing_key for pox1-3

* chore: bump stacks-node

* test: remove signer-key where not needed

---------

Co-authored-by: janniks <janniks@users.noreply.github.com>
## [7.9.0-nakamoto.4](v7.9.0-nakamoto.3...v7.9.0-nakamoto.4) (2024-02-04)

### Features

* add signer-keys from pox4 events ([#1857](#1857)) ([c17ad23](c17ad23))
# Conflicts:
#	CHANGELOG.md
#	package-lock.json
#	src/api/routes/rosetta/construction.ts
#	src/tests-rosetta-construction/construction.ts
## [7.9.0-nakamoto.5](v7.9.0-nakamoto.4...v7.9.0-nakamoto.5) (2024-02-20)

### Bug Fixes

* report placeholder in prom metrics for invalid request paths ([#1867](#1867)) ([7921488](7921488))
* **rosetta:** use /v2/fees/transaction for fee estimation ([b287b7b](b287b7b))
* sql transactional consistency bug with fetching chaintip in various areas ([#1853](#1853)) ([07339c0](07339c0))
* feat: nakamoto block timestamps

* fix: `CONNECTION_DESTROYED` during background mempool stats update

* fix: proper shutdown of debounce background query in pg-write-store

* chore: fix tests

* chore: fix tests

* fix: use `isEventReplay` to determine block time

* chore: rename stacks_block_time to block_time
## [7.9.0-nakamoto.6](v7.9.0-nakamoto.5...v7.9.0-nakamoto.6) (2024-03-15)

### Features

* nakamoto block timestamps ([#1886](#1886)) ([f547832](f547832))
* feat: pox signer event ingestion

* test: add pox_set ingestion tests

* feat: progress on associating stacker info to signer data

* feat: ingest reward set data from /new_block event

* feat: ingest pox4 event cycle IDs

* fix: filter signer pox events by cycleID ranges

* chore: use nodejs v20 in `launch w/ postgres`

* chore: initial test

* chore: progress on cycles endpoint

* feat: ingest `pox_ustx_threshold` from /new_block reward_set

* chore: update reward_set.rewarded_addresses ingestion to new burnchain address string format

* feat: cycles table

* feat: signers endpoint

* feat: single signer

* feat: stackers

* fix: remove old query

* fix: exports

* fix: stacker example

* fix: tests

* fix: test

* fix: pox tests

* fix: tests

* fix: pox cycle signers deterministic ordering

---------

Co-authored-by: Rafael Cardenas <rafael@rafaelcr.com>
## [7.9.0-nakamoto.7](v7.9.0-nakamoto.6...v7.9.0-nakamoto.7) (2024-03-20)

### Features

* pox stacker & signer cycle details ([#1873](#1873)) ([d2c2805](d2c2805))
* feat: ingest signer_bitvec

* test: add bitvec tests
## [7.9.0-nakamoto.8](v7.9.0-nakamoto.7...v7.9.0-nakamoto.8) (2024-03-20)

### Features

* ingest signer_bitvec ([#1900](#1900)) ([aa1750f](aa1750f))
* chore: bump duckdb

* feat: event-replay readiness for nakamoto
## [7.9.0-nakamoto.9](v7.9.0-nakamoto.8...v7.9.0-nakamoto.9) (2024-03-21)

### Bug Fixes

* event-replay readiness for nakamoto & fix for [#1879](#1879) ([#1903](#1903)) ([1572e73](1572e73))
# Conflicts:
#	CHANGELOG.md
#	src/api/init.ts
#	src/api/routes/v2/helpers.ts
#	src/api/routes/v2/schemas.ts
#	src/datastore/pg-store-v2.ts
## [7.10.0-nakamoto.1](v7.9.0...v7.10.0-nakamoto.1) (2024-03-21)

### Features

* add signer-keys from pox4 events ([#1857](#1857)) ([c17ad23](c17ad23))
* ingest signer_bitvec ([#1900](#1900)) ([aa1750f](aa1750f))
* nakamoto block timestamps ([#1886](#1886)) ([f547832](f547832))
* pox 4 revoke events and signer-key support ([#1829](#1829)) ([5e5650a](5e5650a)), closes [#1849](#1849)
* pox stacker & signer cycle details ([#1873](#1873)) ([d2c2805](d2c2805))

### Bug Fixes

* event-replay readiness for nakamoto & fix for [#1879](#1879) ([#1903](#1903)) ([1572e73](1572e73))
* remove signer columns from tenure-change transactions ([#1845](#1845)) ([8ec726b](8ec726b))
* sql transactional consistency bug with fetching chaintip in various areas ([#1853](#1853)) ([ada8536](ada8536))
## [7.10.0-nakamoto.2](v7.10.0-nakamoto.1...v7.10.0-nakamoto.2) (2024-03-25)

### Bug Fixes

* add nakamoto testnet to openapi docs ([#1910](#1910)) ([01fb971](01fb971))
## [7.10.0-nakamoto.3](v7.10.0-nakamoto.2...v7.10.0-nakamoto.3) (2024-03-28)

### Bug Fixes

* cycles response for empty cycle info ([#1914](#1914)) ([a7a4558](a7a4558))
## [7.10.0-nakamoto.4](v7.10.0-nakamoto.3...v7.10.0-nakamoto.4) (2024-03-28)

### Bug Fixes

* other empty result responses ([#1915](#1915)) ([3cd2c64](3cd2c64))
rafaelcr and others added 11 commits March 28, 2024 15:35
* fix: cycle signer filter

* fix: test
## [7.10.0-nakamoto.5](v7.10.0-nakamoto.4...v7.10.0-nakamoto.5) (2024-03-28)

### Bug Fixes

* cycle signer filter ([#1916](#1916)) ([dc7d600](dc7d600))
## [7.10.0-nakamoto.6](v7.10.0-nakamoto.5...v7.10.0-nakamoto.6) (2024-04-02)

### Bug Fixes

* batch drop mempool transactions ([#1920](#1920)) ([a7ee96d](a7ee96d))
## [7.10.0-nakamoto.7](v7.10.0-nakamoto.6...v7.10.0-nakamoto.7) (2024-04-04)

### Features

* add nakamoto block time to v2 endpoints ([#1921](#1921)) ([ae6bbe8](ae6bbe8))
… fixes (#1924)

* chore: update to latest stacks image with epoch2.5 bootup

* chore: upgrade stacks.js

* fix: stack-extend increase

* test: attempts

* fix: stack cycle length

* fix: attempt to fix stack extend in gha

---------

Co-authored-by: Rafael Cardenas <rafael@rafaelcr.com>
* feat: rosetta pox4 support

* fix: optional fields in `/preprocess`

* chore: update rosetta pox-4 checks (#1929)

Co-authored-by: janniks <janniks@users.noreply.github.com>

* feat: optional pox-max-amount (default to stx amount)

* fix: handle signer signature logic only in the rosetta /construction/metadata endpoint

* fix: repair stacking w/ Rosetta in `/extended/v1/debug/broadcast/stack`

* fix: repair stacking w/o Rosetta in `/extended/v1/debug/broadcast/stack`

* fix: rosetta offline tests

* fix: rosetta construction tests

* fix: progress on fixing pox-4-rosetta tests

* test: skip rosetta stacking auto-unlock tests (feature removed in pox-4)

* fix: stack for 2 cycles in `rosetta-btc-addr-types` to reduce test flake

* docs: update Rosetta schema/docs

---------

Co-authored-by: janniks <6362150+janniks@users.noreply.github.com>
Co-authored-by: janniks <janniks@users.noreply.github.com>
Co-authored-by: janniks <janniks@users.noreply.github.com>
* test: add regtest solo stack test

* fix: update cycle datastore

* test: update regtest with new snapshots

* refactor: cleanup tests

* chore: update chainId to testnet

* test: update remaining tests

---------

Co-authored-by: janniks <janniks@users.noreply.github.com>
Co-authored-by: Rafael Cárdenas <rafael@rafaelcr.com>
Copy link

Vercel deployment URL: https://stacks-blockchain-ucv2fp0jb-blockstack.vercel.app 🚀

@rafaelcr rafaelcr merged commit 4ddcbfa into develop Apr 10, 2024
3 of 29 checks passed
@rafaelcr rafaelcr deleted the nakamoto branch April 10, 2024 14:32
@blockstack-devops
Copy link

🎉 This PR is included in version 7.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants