Skip to content

Commit 1e4ef42

Browse files
authored
Merge pull request #2395 from hirosystems/master
merge master into develop
2 parents f20237a + 49e9f37 commit 1e4ef42

37 files changed

+283
-191
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
## [8.13.5](https://github.com/hirosystems/stacks-blockchain-api/compare/v8.13.4...v8.13.5) (2025-12-02)
2+
3+
4+
### Bug Fixes
5+
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))
7+
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)
16+
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)
23+
24+
25+
### Bug Fixes
26+
27+
* calculate burnchain reward reorgs correctly ([#2355](https://github.com/hirosystems/stacks-blockchain-api/issues/2355)) ([f82efbc](https://github.com/hirosystems/stacks-blockchain-api/commit/f82efbc6ddc0d98bea92c389888dfc7b5b17926b))
28+
* do not display revoked pool delegations ([#2357](https://github.com/hirosystems/stacks-blockchain-api/issues/2357)) ([c6de314](https://github.com/hirosystems/stacks-blockchain-api/commit/c6de31493b92c4e5ae5dcc44519dcc9867886abd))
29+
* 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))
30+
* sanitize event observer strings ([#2361](https://github.com/hirosystems/stacks-blockchain-api/issues/2361)) ([2604539](https://github.com/hirosystems/stacks-blockchain-api/commit/2604539d5e94f0f2ec20d05d86aa3690dcdb1474))
31+
132
## [8.13.1](https://github.com/hirosystems/stacks-blockchain-api/compare/v8.13.0...v8.13.1) (2025-09-23)
233

334

client/src/generated/schema.d.ts

Lines changed: 22 additions & 22 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
@@ -99,6 +99,7 @@
9999
"@fastify/type-provider-typebox": "4.0.0",
100100
"@hirosystems/api-toolkit": "1.9.0",
101101
"@hirosystems/salt-n-pepper-client": "1.1.2",
102+
"@hirosystems/stacks-encoding-native-js": "1.2.0",
102103
"@scure/base": "1.1.1",
103104
"@sinclair/typebox": "0.32.35",
104105
"@stacks/common": "6.10.0",
@@ -147,7 +148,6 @@
147148
"socket.io": "4.8.0",
148149
"source-map-support": "0.5.21",
149150
"split2": "3.2.2",
150-
"stacks-encoding-native-js": "1.1.0-beta.8",
151151
"strict-event-emitter-types": "2.0.0",
152152
"tiny-secp256k1": "2.2.1",
153153
"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)