hirosystems / stacks-blockchain-api

API for the Stacks blockchain
https://stacks-blockchain-api.vercel.app
GNU General Public License v3.0
178 stars 114 forks source link

Rosetta /block API cannot retrieve tenure_change blocks #2127

Closed crustywhale closed 1 month ago

crustywhale commented 1 month ago

With API 8.1.0 and Node 3.0.0.0.0-rc5 (connected to Primary Testnet), if I call the Rosetta /block API, I will get the following error:

Unexpected tx type: \"tenure_change\"\n at getOperationsInternal (/src/rosetta/rosetta-helpers.ts:174:13)\n at /src/rosetta/rosetta-helpers.ts:131:20\n at PgStore.sqlTransaction (/node_modules/@hirosystems/api-toolkit/src/postgres/base-pg-store.ts:58:14)\n at getOperations (/src/rosetta/rosetta-helpers.ts:130:21)

blockstack-devops commented 1 month ago

:tada: This issue has been resolved in version 8.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: