Skip to content

Commit ef01fc1

Browse files
committed
fix(sdk-coin-sol): use codegen data in tx size bench
TICKET: WIN-8401
1 parent 3ebe108 commit ef01fc1

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
@@ -7,182 +7,99 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
77

88
**Note:** Version bump only for package @bitgo/sdk-coin-sol
99

10-
11-
12-
13-
1410
## [7.10.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-12-11)
1511

1612
**Note:** Version bump only for package @bitgo/sdk-coin-sol
1713

18-
19-
20-
21-
2214
## [7.10.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-12-05)
2315

2416
**Note:** Version bump only for package @bitgo/sdk-coin-sol
2517

26-
27-
28-
29-
3018
## [7.10.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-12-04)
3119

3220
**Note:** Version bump only for package @bitgo/sdk-coin-sol
3321

34-
35-
36-
37-
3822
# [7.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-11-26)
3923

40-
4124
### Features
4225

43-
* **sdk-coin-sol:** big endian support for verifyTransaction ([f1c06bc](https://github.com/BitGo/BitGoJS/commit/f1c06bc6bf0f448fbd1c2dbcd5062e7e6f012c83))
44-
45-
46-
47-
26+
- **sdk-coin-sol:** big endian support for verifyTransaction ([f1c06bc](https://github.com/BitGo/BitGoJS/commit/f1c06bc6bf0f448fbd1c2dbcd5062e7e6f012c83))
4827

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

51-
5230
### Features
5331

54-
* bump public types ([bab6c62](https://github.com/BitGo/BitGoJS/commit/bab6c624682c1317456376e6bf7e6691224405b9))
55-
56-
57-
58-
32+
- bump public types ([bab6c62](https://github.com/BitGo/BitGoJS/commit/bab6c624682c1317456376e6bf7e6691224405b9))
5933

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

62-
6336
### Features
6437

65-
* **sdk-coin-sol:** classify all WalletConnect transactions as custom using memo ([1f639da](https://github.com/BitGo/BitGoJS/commit/1f639da78dbc2c144ee0a4cc9741d03f036717bf))
66-
67-
68-
69-
38+
- **sdk-coin-sol:** classify all WalletConnect transactions as custom using memo ([1f639da](https://github.com/BitGo/BitGoJS/commit/1f639da78dbc2c144ee0a4cc9741d03f036717bf))
7039

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

73-
7442
### Features
7543

76-
* **sdk-coin-sol:** accepting idempotent ATA instructions ([2b41681](https://github.com/BitGo/BitGoJS/commit/2b41681b280d7852cf8b547ba3759137cb31dd30))
77-
* **sdk-coin-sol:** support SetComputeUnitLimit instructions ([307dca3](https://github.com/BitGo/BitGoJS/commit/307dca3b1728b49954e78dc2bfa56f6e22f22ba5))
78-
79-
80-
81-
44+
- **sdk-coin-sol:** accepting idempotent ATA instructions ([2b41681](https://github.com/BitGo/BitGoJS/commit/2b41681b280d7852cf8b547ba3759137cb31dd30))
45+
- **sdk-coin-sol:** support SetComputeUnitLimit instructions ([307dca3](https://github.com/BitGo/BitGoJS/commit/307dca3b1728b49954e78dc2bfa56f6e22f22ba5))
8246

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

8549
**Note:** Version bump only for package @bitgo/sdk-coin-sol
8650

87-
88-
89-
90-
9151
## [7.6.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-31)
9252

9353
**Note:** Version bump only for package @bitgo/sdk-coin-sol
9454

95-
96-
97-
98-
9955
## [7.6.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-29)
10056

10157
**Note:** Version bump only for package @bitgo/sdk-coin-sol
10258

103-
104-
105-
106-
10759
# [7.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-24)
10860

109-
11061
### Features
11162

112-
* **sdk-coin-sol:** implement isWalletAddress for address verfn ([e42fb85](https://github.com/BitGo/BitGoJS/commit/e42fb85505c1fe9d5fe7d18f227377e2d844af77))
113-
* **sdk-core:** add typing on fetch addresses ([f3dec74](https://github.com/BitGo/BitGoJS/commit/f3dec74befc76bb305a4f9ac72975e4de43787ff))
114-
115-
116-
117-
63+
- **sdk-coin-sol:** implement isWalletAddress for address verfn ([e42fb85](https://github.com/BitGo/BitGoJS/commit/e42fb85505c1fe9d5fe7d18f227377e2d844af77))
64+
- **sdk-core:** add typing on fetch addresses ([f3dec74](https://github.com/BitGo/BitGoJS/commit/f3dec74befc76bb305a4f9ac72975e4de43787ff))
11865

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

121-
12268
### Features
12369

124-
* **sdk-coin-sol:** add recentBlockhash to custom versioned solana tx flow ([191eb86](https://github.com/BitGo/BitGoJS/commit/191eb86aa851cc893b216f23ff0ad3f13423cc2d))
125-
* **sdk-coin-sol:** update verifyTransaction for versioned sol tx ([11b1723](https://github.com/BitGo/BitGoJS/commit/11b1723718c13f5ef26ef90174ad299edf64aa2a))
126-
127-
128-
129-
70+
- **sdk-coin-sol:** add recentBlockhash to custom versioned solana tx flow ([191eb86](https://github.com/BitGo/BitGoJS/commit/191eb86aa851cc893b216f23ff0ad3f13423cc2d))
71+
- **sdk-coin-sol:** update verifyTransaction for versioned sol tx ([11b1723](https://github.com/BitGo/BitGoJS/commit/11b1723718c13f5ef26ef90174ad299edf64aa2a))
13072

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

133-
13475
### Features
13576

136-
* bump public types ([ca817a6](https://github.com/BitGo/BitGoJS/commit/ca817a637015a33584fd68dbf5c36592b6a13608))
137-
* **sdk-coin-sol:** inject durable nonce for versioned transactions ([b6d7524](https://github.com/BitGo/BitGoJS/commit/b6d7524b06568c51626fce231a119e15abe86365))
138-
139-
140-
141-
77+
- bump public types ([ca817a6](https://github.com/BitGo/BitGoJS/commit/ca817a637015a33584fd68dbf5c36592b6a13608))
78+
- **sdk-coin-sol:** inject durable nonce for versioned transactions ([b6d7524](https://github.com/BitGo/BitGoJS/commit/b6d7524b06568c51626fce231a119e15abe86365))
14279

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

145-
14682
### Features
14783

148-
* support versioned sol transactions with customTx intent ([b33402f](https://github.com/BitGo/BitGoJS/commit/b33402f9a7c4724804a2f45737fcbd2562f6bb3e))
149-
150-
151-
152-
84+
- support versioned sol transactions with customTx intent ([b33402f](https://github.com/BitGo/BitGoJS/commit/b33402f9a7c4724804a2f45737fcbd2562f6bb3e))
15385

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

156-
15788
### Bug Fixes
15889

159-
* upgrade public types version ([49cb5b1](https://github.com/BitGo/BitGoJS/commit/49cb5b1f07bf63ae0fab7feb5f55457f641ada9f))
160-
161-
162-
163-
90+
- upgrade public types version ([49cb5b1](https://github.com/BitGo/BitGoJS/commit/49cb5b1f07bf63ae0fab7feb5f55457f641ada9f))
16491

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

167-
16894
### Bug Fixes
16995

170-
* run check-fmt on code files only ([9745196](https://github.com/BitGo/BitGoJS/commit/9745196b02b9678c740d290a4638ceb153a8fd75))
171-
172-
173-
174-
96+
- run check-fmt on code files only ([9745196](https://github.com/BitGo/BitGoJS/commit/9745196b02b9678c740d290a4638ceb153a8fd75))
17597

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

178-
179100
### Bug Fixes
180101

181-
* add explicit 'files' in package json ([3b00373](https://github.com/BitGo/BitGoJS/commit/3b0037396f6ac16bb9380bd85bf37f2b133068f4))
182-
183-
184-
185-
102+
- add explicit 'files' in package json ([3b00373](https://github.com/BitGo/BitGoJS/commit/3b0037396f6ac16bb9380bd85bf37f2b133068f4))
186103

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

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)