Skip to content

Commit b5f002e

Browse files
authored
Merge pull request #7805 from BitGo/WIN-8401
fix(sdk-coin-sol): use codegen data in tx size bench
2 parents 8626186 + ef01fc1 commit b5f002e

File tree

5 files changed

+478
-223
lines changed

5 files changed

+478
-223
lines changed

modules/sdk-coin-sol/CHANGELOG.md

Lines changed: 15 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -18,182 +18,99 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
1818

1919
**Note:** Version bump only for package @bitgo/sdk-coin-sol
2020

21-
22-
23-
24-
2521
## [7.10.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-12-11)
2622

2723
**Note:** Version bump only for package @bitgo/sdk-coin-sol
2824

29-
30-
31-
32-
3325
## [7.10.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-12-05)
3426

3527
**Note:** Version bump only for package @bitgo/sdk-coin-sol
3628

37-
38-
39-
40-
4129
## [7.10.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-12-04)
4230

4331
**Note:** Version bump only for package @bitgo/sdk-coin-sol
4432

45-
46-
47-
48-
4933
# [7.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-11-26)
5034

51-
5235
### Features
5336

54-
* **sdk-coin-sol:** big endian support for verifyTransaction ([f1c06bc](https://github.com/BitGo/BitGoJS/commit/f1c06bc6bf0f448fbd1c2dbcd5062e7e6f012c83))
55-
56-
57-
58-
37+
- **sdk-coin-sol:** big endian support for verifyTransaction ([f1c06bc](https://github.com/BitGo/BitGoJS/commit/f1c06bc6bf0f448fbd1c2dbcd5062e7e6f012c83))
5938

6039
# [7.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-11-19)
6140

62-
6341
### Features
6442

65-
* bump public types ([bab6c62](https://github.com/BitGo/BitGoJS/commit/bab6c624682c1317456376e6bf7e6691224405b9))
66-
67-
68-
69-
43+
- bump public types ([bab6c62](https://github.com/BitGo/BitGoJS/commit/bab6c624682c1317456376e6bf7e6691224405b9))
7044

7145
# [7.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-11-13)
7246

73-
7447
### Features
7548

76-
* **sdk-coin-sol:** classify all WalletConnect transactions as custom using memo ([1f639da](https://github.com/BitGo/BitGoJS/commit/1f639da78dbc2c144ee0a4cc9741d03f036717bf))
77-
78-
79-
80-
49+
- **sdk-coin-sol:** classify all WalletConnect transactions as custom using memo ([1f639da](https://github.com/BitGo/BitGoJS/commit/1f639da78dbc2c144ee0a4cc9741d03f036717bf))
8150

8251
# [7.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-11-12)
8352

84-
8553
### Features
8654

87-
* **sdk-coin-sol:** accepting idempotent ATA instructions ([2b41681](https://github.com/BitGo/BitGoJS/commit/2b41681b280d7852cf8b547ba3759137cb31dd30))
88-
* **sdk-coin-sol:** support SetComputeUnitLimit instructions ([307dca3](https://github.com/BitGo/BitGoJS/commit/307dca3b1728b49954e78dc2bfa56f6e22f22ba5))
89-
90-
91-
92-
55+
- **sdk-coin-sol:** accepting idempotent ATA instructions ([2b41681](https://github.com/BitGo/BitGoJS/commit/2b41681b280d7852cf8b547ba3759137cb31dd30))
56+
- **sdk-coin-sol:** support SetComputeUnitLimit instructions ([307dca3](https://github.com/BitGo/BitGoJS/commit/307dca3b1728b49954e78dc2bfa56f6e22f22ba5))
9357

9458
## [7.6.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-11-06)
9559

9660
**Note:** Version bump only for package @bitgo/sdk-coin-sol
9761

98-
99-
100-
101-
10262
## [7.6.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-31)
10363

10464
**Note:** Version bump only for package @bitgo/sdk-coin-sol
10565

106-
107-
108-
109-
11066
## [7.6.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-29)
11167

11268
**Note:** Version bump only for package @bitgo/sdk-coin-sol
11369

114-
115-
116-
117-
11870
# [7.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-24)
11971

120-
12172
### Features
12273

123-
* **sdk-coin-sol:** implement isWalletAddress for address verfn ([e42fb85](https://github.com/BitGo/BitGoJS/commit/e42fb85505c1fe9d5fe7d18f227377e2d844af77))
124-
* **sdk-core:** add typing on fetch addresses ([f3dec74](https://github.com/BitGo/BitGoJS/commit/f3dec74befc76bb305a4f9ac72975e4de43787ff))
125-
126-
127-
128-
74+
- **sdk-coin-sol:** implement isWalletAddress for address verfn ([e42fb85](https://github.com/BitGo/BitGoJS/commit/e42fb85505c1fe9d5fe7d18f227377e2d844af77))
75+
- **sdk-core:** add typing on fetch addresses ([f3dec74](https://github.com/BitGo/BitGoJS/commit/f3dec74befc76bb305a4f9ac72975e4de43787ff))
12976

13077
# [7.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-21)
13178

132-
13379
### Features
13480

135-
* **sdk-coin-sol:** add recentBlockhash to custom versioned solana tx flow ([191eb86](https://github.com/BitGo/BitGoJS/commit/191eb86aa851cc893b216f23ff0ad3f13423cc2d))
136-
* **sdk-coin-sol:** update verifyTransaction for versioned sol tx ([11b1723](https://github.com/BitGo/BitGoJS/commit/11b1723718c13f5ef26ef90174ad299edf64aa2a))
137-
138-
139-
140-
81+
- **sdk-coin-sol:** add recentBlockhash to custom versioned solana tx flow ([191eb86](https://github.com/BitGo/BitGoJS/commit/191eb86aa851cc893b216f23ff0ad3f13423cc2d))
82+
- **sdk-coin-sol:** update verifyTransaction for versioned sol tx ([11b1723](https://github.com/BitGo/BitGoJS/commit/11b1723718c13f5ef26ef90174ad299edf64aa2a))
14183

14284
# [7.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-16)
14385

144-
14586
### Features
14687

147-
* bump public types ([ca817a6](https://github.com/BitGo/BitGoJS/commit/ca817a637015a33584fd68dbf5c36592b6a13608))
148-
* **sdk-coin-sol:** inject durable nonce for versioned transactions ([b6d7524](https://github.com/BitGo/BitGoJS/commit/b6d7524b06568c51626fce231a119e15abe86365))
149-
150-
151-
152-
88+
- bump public types ([ca817a6](https://github.com/BitGo/BitGoJS/commit/ca817a637015a33584fd68dbf5c36592b6a13608))
89+
- **sdk-coin-sol:** inject durable nonce for versioned transactions ([b6d7524](https://github.com/BitGo/BitGoJS/commit/b6d7524b06568c51626fce231a119e15abe86365))
15390

15491
# [7.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-13)
15592

156-
15793
### Features
15894

159-
* support versioned sol transactions with customTx intent ([b33402f](https://github.com/BitGo/BitGoJS/commit/b33402f9a7c4724804a2f45737fcbd2562f6bb3e))
160-
161-
162-
163-
95+
- support versioned sol transactions with customTx intent ([b33402f](https://github.com/BitGo/BitGoJS/commit/b33402f9a7c4724804a2f45737fcbd2562f6bb3e))
16496

16597
## [7.2.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-10)
16698

167-
16899
### Bug Fixes
169100

170-
* upgrade public types version ([49cb5b1](https://github.com/BitGo/BitGoJS/commit/49cb5b1f07bf63ae0fab7feb5f55457f641ada9f))
171-
172-
173-
174-
101+
- upgrade public types version ([49cb5b1](https://github.com/BitGo/BitGoJS/commit/49cb5b1f07bf63ae0fab7feb5f55457f641ada9f))
175102

176103
## [7.2.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-09)
177104

178-
179105
### Bug Fixes
180106

181-
* run check-fmt on code files only ([9745196](https://github.com/BitGo/BitGoJS/commit/9745196b02b9678c740d290a4638ceb153a8fd75))
182-
183-
184-
185-
107+
- run check-fmt on code files only ([9745196](https://github.com/BitGo/BitGoJS/commit/9745196b02b9678c740d290a4638ceb153a8fd75))
186108

187109
## [7.2.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-08)
188110

189-
190111
### Bug Fixes
191112

192-
* add explicit 'files' in package json ([3b00373](https://github.com/BitGo/BitGoJS/commit/3b0037396f6ac16bb9380bd85bf37f2b133068f4))
193-
194-
195-
196-
113+
- add explicit 'files' in package json ([3b00373](https://github.com/BitGo/BitGoJS/commit/3b0037396f6ac16bb9380bd85bf37f2b133068f4))
197114

198115
# [7.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-02)
199116

modules/sdk-coin-sol/scripts/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@
55
Determines safe transaction limits for Solana legacy transactions (1232 byte limit).
66

77
**Run:**
8+
89
```bash
910
npx tsx modules/sdk-coin-sol/scripts/transaction-size-benchmark.ts
1011
```
1112

1213
**Output:**
14+
1315
- Console: Test results and recommended limits
1416
- File: `transaction-size-benchmark-results.json`
1517

1618
**Tests:**
19+
1720
- Token transfers with ATA creation (new recipients)
1821
- Token transfers without ATA creation (existing accounts)
19-

0 commit comments

Comments
 (0)