Skip to content

Commit 814da1b

Browse files
authored
Merge pull request #2399 from hirosystems/develop-2
merge develop into next
2 parents b2b5251 + 2d42828 commit 814da1b

37 files changed

+325
-207
lines changed

CHANGELOG.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
1-
## [9.0.0-next.1](https://github.com/hirosystems/stacks-blockchain-api/compare/v8.13.1...v9.0.0-next.1) (2025-12-04)
1+
## [8.13.5](https://github.com/hirosystems/stacks-blockchain-api/compare/v8.13.4...v8.13.5) (2025-12-02)
22

33

4-
### ⚠ BREAKING CHANGES
4+
### Bug Fixes
55

6-
* consolidate db migrations into one file per table (#2392)
7-
* This change will require resyncing from genesis
8-
* optimize principal transaction lists and etags (#2370)
6+
* support new sip-034 tenure change causes ([#2384](https://github.com/hirosystems/stacks-blockchain-api/issues/2384)) ([399908f](https://github.com/hirosystems/stacks-blockchain-api/commit/399908fd08fdaee3edc5b0820f0526378f7ab51a))
97

10-
### Features
8+
## [8.13.4](https://github.com/hirosystems/stacks-blockchain-api/compare/v8.13.3...v8.13.4) (2025-11-06)
9+
10+
11+
### Bug Fixes
12+
13+
* upgrade to latest stacks-encoding-native-js with arm64 support ([#2376](https://github.com/hirosystems/stacks-blockchain-api/issues/2376)) ([5ab7328](https://github.com/hirosystems/stacks-blockchain-api/commit/5ab7328c4c63c270fe0c43cec45f2a5a3e84d4cf))
14+
15+
## [8.13.3](https://github.com/hirosystems/stacks-blockchain-api/compare/v8.13.2...v8.13.3) (2025-11-06)
1116

12-
* migrate default postgres schema ([2cc2459](https://github.com/hirosystems/stacks-blockchain-api/commit/2cc245967ec8ce0ff6ecc3c5b2c75f2b314bcec3))
13-
* migrate default postgres schema ([#2373](https://github.com/hirosystems/stacks-blockchain-api/issues/2373)) ([eb183cf](https://github.com/hirosystems/stacks-blockchain-api/commit/eb183cf253179a589761970663bc6b132b8d3a8f))
14-
* optimize principal transaction lists and etags ([#2370](https://github.com/hirosystems/stacks-blockchain-api/issues/2370)) ([30c63d7](https://github.com/hirosystems/stacks-blockchain-api/commit/30c63d7e21915579626ad3d290584112b8037e4d))
17+
18+
### Bug Fixes
19+
20+
* upgrade stacks-encoding-native-js ([#2375](https://github.com/hirosystems/stacks-blockchain-api/issues/2375)) ([ae9933b](https://github.com/hirosystems/stacks-blockchain-api/commit/ae9933b1d0caf303838db621997c31f749100ff8))
21+
22+
## [8.13.2](https://github.com/hirosystems/stacks-blockchain-api/compare/v8.13.1...v8.13.2) (2025-10-21)
1523

1624

1725
### Bug Fixes
@@ -21,11 +29,6 @@
2129
* push redis updates to a stream ([#2360](https://github.com/hirosystems/stacks-blockchain-api/issues/2360)) ([2bfacf6](https://github.com/hirosystems/stacks-blockchain-api/commit/2bfacf6ee5ef19758f0b7b24cdbd677f4d89e0ed))
2230
* sanitize event observer strings ([#2361](https://github.com/hirosystems/stacks-blockchain-api/issues/2361)) ([2604539](https://github.com/hirosystems/stacks-blockchain-api/commit/2604539d5e94f0f2ec20d05d86aa3690dcdb1474))
2331

24-
25-
### Miscellaneous Chores
26-
27-
* consolidate db migrations into one file per table ([#2392](https://github.com/hirosystems/stacks-blockchain-api/issues/2392)) ([60b8db0](https://github.com/hirosystems/stacks-blockchain-api/commit/60b8db0b6ce9569ef36da232be1b643b583a7ce4))
28-
2932
## [8.13.1](https://github.com/hirosystems/stacks-blockchain-api/compare/v8.13.0...v8.13.1) (2025-09-23)
3033

3134

client/src/generated/schema.d.ts

Lines changed: 78 additions & 24 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
"@fastify/type-provider-typebox": "4.0.0",
9898
"@hirosystems/api-toolkit": "1.9.0",
9999
"@hirosystems/salt-n-pepper-client": "1.1.2",
100+
"@hirosystems/stacks-encoding-native-js": "1.2.0",
100101
"@scure/base": "1.1.1",
101102
"@sinclair/typebox": "0.32.35",
102103
"@stacks/common": "6.10.0",
@@ -144,7 +145,6 @@
144145
"socket.io": "4.8.0",
145146
"source-map-support": "0.5.21",
146147
"split2": "3.2.2",
147-
"stacks-encoding-native-js": "1.1.0-beta.8",
148148
"strict-event-emitter-types": "2.0.0",
149149
"tiny-secp256k1": "2.2.1",
150150
"ts-unused-exports": "7.0.3",

src/api/controllers/db-controller.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
decodeClarityValueToRepr,
1010
decodeClarityValueToTypeName,
1111
decodePostConditions,
12-
} from 'stacks-encoding-native-js';
12+
} from '@hirosystems/stacks-encoding-native-js';
1313

1414
import {
1515
RosettaBlock,
@@ -152,6 +152,16 @@ export function getTxTenureChangeCauseString(cause: number) {
152152
return 'block_found';
153153
case 1:
154154
return 'extended';
155+
case 2:
156+
return 'extended_runtime';
157+
case 3:
158+
return 'extended_read_count';
159+
case 4:
160+
return 'extended_read_length';
161+
case 5:
162+
return 'extended_write_count';
163+
case 6:
164+
return 'extended_write_length';
155165
default:
156166
throw new Error(`Unexpected tenure change cause value ${cause}`);
157167
}

src/api/routes/address.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
parseDbTx,
1515
} from '../controllers/db-controller';
1616
import { InvalidRequestError, InvalidRequestErrorType, NotFoundError } from '../../errors';
17-
import { decodeClarityValueToRepr } from 'stacks-encoding-native-js';
17+
import { decodeClarityValueToRepr } from '@hirosystems/stacks-encoding-native-js';
1818
import {
1919
handlePrincipalCache,
2020
handlePrincipalMempoolCache,

src/api/routes/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable @typescript-eslint/no-non-null-assertion */
2-
import { stacksToBitcoinAddress } from 'stacks-encoding-native-js';
2+
import { stacksToBitcoinAddress } from '@hirosystems/stacks-encoding-native-js';
33
import { htmlEscape } from 'escape-goat';
44
import {
55
makeSTXTokenTransfer,

src/api/routes/rosetta/construction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import {
5252
uintCV,
5353
} from '@stacks/transactions';
5454
import * as express from 'express';
55-
import { bitcoinToStacksAddress } from 'stacks-encoding-native-js';
55+
import { bitcoinToStacksAddress } from '@hirosystems/stacks-encoding-native-js';
5656
import { StacksCoreRpcClient, getCoreNodeEndpoint } from '../../../core-rpc/client';
5757
import { DbBlock } from '../../../datastore/common';
5858
import { PgStore } from '../../../datastore/pg-store';

src/api/routes/tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { getPagingQueryLimit, parsePagingQueryInput, ResourceType } from '../pagination';
22
import { isValidPrincipal } from '../../helpers';
3-
import { decodeClarityValueToRepr } from 'stacks-encoding-native-js';
3+
import { decodeClarityValueToRepr } from '@hirosystems/stacks-encoding-native-js';
44
import { getAssetEventTypeString, parseDbTx } from '../controllers/db-controller';
55
import { handleChainTipCache } from '../controllers/cache-controller';
66
import { has0xPrefix } from '@hirosystems/api-toolkit';

src/api/routes/v2/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
getTxStatusString,
1717
parseDbTx,
1818
} from '../../../api/controllers/db-controller';
19-
import { decodeClarityValueToRepr } from 'stacks-encoding-native-js';
19+
import { decodeClarityValueToRepr } from '@hirosystems/stacks-encoding-native-js';
2020
import { TransactionVersion, getAddressFromPublicKey } from '@stacks/transactions';
2121
import { SmartContractStatusList } from '../../schemas/entities/smart-contracts';
2222
import { AddressTransaction, AddressTransactionEvent } from '../../schemas/entities/addresses';

0 commit comments

Comments
 (0)