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

fix: pox 4 revoke events #1829

Merged
merged 30 commits into from
Jan 25, 2024
Merged

fix: pox 4 revoke events #1829

merged 30 commits into from
Jan 25, 2024

Conversation

janniks
Copy link
Collaborator

@janniks janniks commented Jan 16, 2024

Closes #1761

  • updates rosetta for signer-key
  • updates tests for signer-key
  • adds helper for using descriptor wallet for address format tests
  • adds timeouts to flaky tests
  • some assumptions I'm not 100% certain about, but tests are green 😶

@janniks janniks changed the base branch from develop to nakamoto January 16, 2024 00:33
Copy link

github-actions bot commented Jan 16, 2024

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

Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (dc89bf3) 71.79% compared to head (ab363ef) 71.95%.

Files Patch % Lines
src/rosetta/rosetta-helpers.ts 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           nakamoto    #1829      +/-   ##
============================================
+ Coverage     71.79%   71.95%   +0.15%     
============================================
  Files            92       92              
  Lines         11907    11907              
  Branches       2624     2624              
============================================
+ Hits           8549     8568      +19     
+ Misses         3205     3186      -19     
  Partials        153      153              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zone117x zone117x linked an issue Jan 17, 2024 that may be closed by this pull request
@zone117x zone117x linked an issue Jan 22, 2024 that may be closed by this pull request
@zone117x zone117x mentioned this pull request Jan 24, 2024
@janniks janniks marked this pull request as ready for review January 25, 2024 15:44
@@ -160,8 +162,10 @@ export async function standByForPoxCycle(
do {
await standByUntilBurnBlock(lastPoxInfo.current_burnchain_block_height! + 1, api, client);
lastPoxInfo = await client.getPox();
} while (lastPoxInfo.current_cycle.id <= firstPoxInfo.current_cycle.id);
expect(lastPoxInfo.current_cycle.id).toBe(firstPoxInfo.next_cycle.id);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure about this change. Basically current_cycle.id can be incorrect and shouldn't really be tested against. I'm thinking most tests rely on the rough behavior here and not the exact value.

* 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
@zone117x zone117x merged commit 5e5650a into nakamoto Jan 25, 2024
29 of 30 checks passed
@zone117x zone117x deleted the feat/pox-4-revoke-events branch January 25, 2024 22:23
blockstack-devops pushed a commit that referenced this pull request Jan 25, 2024
## [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)
@blockstack-devops
Copy link

🎉 This PR is included in version 7.9.0-nakamoto.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

blockstack-devops pushed a commit that referenced this pull request Mar 21, 2024
## [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))
@blockstack-devops
Copy link

🎉 This PR is included in version 7.10.0-nakamoto.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

blockstack-devops pushed a commit that referenced this pull request Mar 21, 2024
## [7.10.0-beta.1](v7.9.0...v7.10.0-beta.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))
@blockstack-devops
Copy link

🎉 This PR is included in version 7.10.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

blockstack-devops pushed a commit that referenced this pull request Apr 15, 2024
## [7.10.0](v7.9.1...v7.10.0) (2024-04-15)

### Features

* add nakamoto block time to v2 endpoints ([#1921](#1921)) ([ae6bbe8](ae6bbe8))
* 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))
* rosetta pox4 stacking support ([#1928](#1928)) ([2ba36f9](2ba36f9)), closes [#1929](#1929)

### Bug Fixes

* add nakamoto testnet to openapi docs ([#1910](#1910)) ([01fb971](01fb971))
* batch drop mempool transactions ([#1920](#1920)) ([a7ee96d](a7ee96d))
* cycle signer filter ([#1916](#1916)) ([dc7d600](dc7d600))
* cycles response for empty cycle info ([#1914](#1914)) ([a7a4558](a7a4558))
* delegate-stx burn-op parsing and test fix ([#1939](#1939)) ([73ec0db](73ec0db))
* event-replay readiness for nakamoto & fix for [#1879](#1879) ([#1903](#1903)) ([1572e73](1572e73))
* log message when sql migration is performed ([#1942](#1942)) ([49a4d25](49a4d25))
* other empty result responses ([#1915](#1915)) ([3cd2c64](3cd2c64))
* pox4 stack-stx burn-op handling ([#1936](#1936)) ([9e9a464](9e9a464))
* 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))
@blockstack-devops
Copy link

🎉 This PR is included in version 7.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

blockstack-devops pushed a commit that referenced this pull request Apr 15, 2024
## [7.10.0-beta.1](v7.9.1...v7.10.0-beta.1) (2024-04-15)

### Features

* add nakamoto block time to v2 endpoints ([#1921](#1921)) ([ae6bbe8](ae6bbe8))
* 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))
* rosetta pox4 stacking support ([#1928](#1928)) ([2ba36f9](2ba36f9)), closes [#1929](#1929)
* support multiple STX faucet source accounts ([#1946](#1946)) ([5d69c7c](5d69c7c))

### Bug Fixes

* add nakamoto testnet to openapi docs ([#1910](#1910)) ([01fb971](01fb971))
* batch drop mempool transactions ([#1920](#1920)) ([a7ee96d](a7ee96d))
* cycle signer filter ([#1916](#1916)) ([dc7d600](dc7d600))
* cycles response for empty cycle info ([#1914](#1914)) ([a7a4558](a7a4558))
* delegate-stx burn-op parsing and test fix ([#1939](#1939)) ([73ec0db](73ec0db))
* event-replay readiness for nakamoto & fix for [#1879](#1879) ([#1903](#1903)) ([1572e73](1572e73))
* log message when sql migration is performed ([#1942](#1942)) ([49a4d25](49a4d25))
* other empty result responses ([#1915](#1915)) ([3cd2c64](3cd2c64))
* pox4 stack-stx burn-op handling ([#1936](#1936)) ([9e9a464](9e9a464))
* 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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement parsing for revoke-delegate-stx pox event [Nakamoto] Support pox-4 changes
3 participants