Skip to content

Commit 91f655e

Browse files
manojkumar138claude
andcommitted
chore(sdk-coin-kas): resolve merge conflicts and bump dependency versions [CECHO-388]
- Merged origin/master version bumps (.2 patch versions) while preserving the @bitgo/sdk-coin-kas dependency in account-lib and bitgo package.json - Bumped @bitgo/sdk-api to ^1.76.3, @bitgo/sdk-core to ^36.39.0, and @bitgo/statics to ^58.34.0 to satisfy check-versions CI check Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 parents c5c4ff0 + 090ffaf commit 91f655e

File tree

278 files changed

+5033
-1053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+5033
-1053
lines changed

.husky/commit-msg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
rootDir=$(pwd)
4+
cd "$rootDir"
5+
6+
yarn check-commits

commitlint.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,15 @@ module.exports = {
6767
'VL-',
6868
'WIN-',
6969
'WP-',
70+
'WAL-',
71+
'WCN-',
72+
'WCI-',
7073
'COIN-',
7174
'FIAT-',
7275
'ME-',
7376
'ANT-',
7477
'CGARD-',
78+
'CGD-',
7579
'CHALO-',
7680
'CECHO-',
7781
'CSHLD-',

modules/abstract-cosmos/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [11.18.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@11.18.1...@bitgo/abstract-cosmos@11.18.2) (2026-04-10)
7+
8+
**Note:** Version bump only for package @bitgo/abstract-cosmos
9+
10+
11+
12+
13+
14+
## [11.18.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@11.18.0...@bitgo/abstract-cosmos@11.18.1) (2026-04-08)
15+
16+
**Note:** Version bump only for package @bitgo/abstract-cosmos
17+
18+
19+
20+
21+
622
# [11.18.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-cosmos@11.17.8...@bitgo/abstract-cosmos@11.18.0) (2026-03-29)
723

824

modules/abstract-cosmos/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitgo/abstract-cosmos",
3-
"version": "11.18.0",
3+
"version": "11.18.2",
44
"description": "BitGo SDK coin library for COSMOS base implementation",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
@@ -38,10 +38,10 @@
3838
]
3939
},
4040
"dependencies": {
41-
"@bitgo/sdk-core": "^36.37.0",
42-
"@bitgo/sdk-lib-mpc": "^10.10.0",
41+
"@bitgo/sdk-core": "^36.39.0",
42+
"@bitgo/sdk-lib-mpc": "^10.10.1",
4343
"@bitgo/secp256k1": "^1.11.0",
44-
"@bitgo/statics": "^58.32.0",
44+
"@bitgo/statics": "^58.34.0",
4545
"@cosmjs/amino": "^0.29.5",
4646
"@cosmjs/crypto": "^0.30.1",
4747
"@cosmjs/encoding": "^0.29.5",

modules/abstract-eth/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [24.23.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@24.22.1...@bitgo/abstract-eth@24.23.0) (2026-04-10)
7+
8+
9+
### Features
10+
11+
* **sdk-core:** add optional feeToken for Tempo TSS prebuild ([6ce1839](https://github.com/BitGo/BitGoJS/commit/6ce1839e4bd3e8c8080df99ab7a733cbac1cf2c1))
12+
13+
14+
15+
16+
17+
## [24.22.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@24.22.0...@bitgo/abstract-eth@24.22.1) (2026-04-08)
18+
19+
**Note:** Version bump only for package @bitgo/abstract-eth
20+
21+
22+
23+
24+
625
# [24.22.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@24.21.0...@bitgo/abstract-eth@24.22.0) (2026-03-29)
726

827

modules/abstract-eth/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitgo/abstract-eth",
3-
"version": "24.22.0",
3+
"version": "24.23.0",
44
"description": "BitGo SDK coin library for ETH base implementation",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
@@ -40,10 +40,10 @@
4040
]
4141
},
4242
"dependencies": {
43-
"@bitgo/sdk-core": "^36.37.0",
44-
"@bitgo/sdk-lib-mpc": "^10.10.0",
43+
"@bitgo/sdk-core": "^36.39.0",
44+
"@bitgo/sdk-lib-mpc": "^10.10.1",
4545
"@bitgo/secp256k1": "^1.11.0",
46-
"@bitgo/statics": "^58.32.0",
46+
"@bitgo/statics": "^58.34.0",
4747
"@ethereumjs/common": "^2.6.5",
4848
"@ethereumjs/rlp": "^4.0.0",
4949
"@ethereumjs/tx": "^3.3.0",
@@ -60,8 +60,8 @@
6060
"superagent": "^9.0.1"
6161
},
6262
"devDependencies": {
63-
"@bitgo/sdk-api": "^1.76.1",
64-
"@bitgo/sdk-test": "^9.1.35",
63+
"@bitgo/sdk-api": "^1.76.3",
64+
"@bitgo/sdk-test": "^9.1.37",
6565
"@types/keccak": "^3.0.5"
6666
},
6767
"gitHead": "18e460ddf02de2dbf13c2aa243478188fb539f0c",

modules/abstract-eth/src/abstractEthLikeNewCoins.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ interface EthTransactionParams extends TransactionParams {
359359
hop?: boolean;
360360
prebuildTx?: PrebuildTransactionResult;
361361
tokenName?: string;
362+
feeToken?: string;
362363
}
363364

364365
export interface VerifyEthTransactionOptions extends VerifyTransactionOptions {

modules/abstract-eth/src/lib/transactionBuilder.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,13 @@ export abstract class TransactionBuilder extends BaseTransactionBuilder {
539539
this.validateValue(new BigNumber(fee.gasLimit));
540540
}
541541
if (fee.eip1559) {
542-
this.validateValue(new BigNumber(fee.eip1559.maxFeePerGas));
543-
this.validateValue(new BigNumber(fee.eip1559.maxPriorityFeePerGas));
542+
const maxFee = new BigNumber(fee.eip1559.maxFeePerGas);
543+
const priorityFee = new BigNumber(fee.eip1559.maxPriorityFeePerGas);
544+
this.validateValue(maxFee);
545+
this.validateValue(priorityFee);
546+
if (priorityFee.isGreaterThan(maxFee)) {
547+
throw new BuildTransactionError('maxPriorityFeePerGas cannot exceed maxFeePerGas');
548+
}
544549
}
545550
if (fee.gasPrice) {
546551
this.validateValue(new BigNumber(fee.gasPrice));

modules/abstract-eth/test/unit/transactionBuilder/walletInitialization.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,17 @@ export async function testRecoveryTransactionWithoutData(txBuilder: TransactionB
129129
await txBuilder.build().should.be.rejectedWith('Invalid transaction: missing contract call data field');
130130
});
131131
}
132+
133+
export function testEip1559PriorityFeeExceedsMaxFee(txBuilder: TransactionBuilder) {
134+
it('fail when maxPriorityFeePerGas exceeds maxFeePerGas', () => {
135+
(() =>
136+
txBuilder.fee({
137+
eip1559: {
138+
maxFeePerGas: '1000000000',
139+
maxPriorityFeePerGas: '9000000000',
140+
},
141+
fee: '1000000000',
142+
gasLimit: '21000',
143+
})).should.throw('maxPriorityFeePerGas cannot exceed maxFeePerGas');
144+
});
145+
}

modules/abstract-lightning/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [7.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-lightning@7.9.1...@bitgo/abstract-lightning@7.10.0) (2026-04-10)
7+
8+
9+
### Features
10+
11+
* **sdk-core:** add lightning address validation to SDK ([133d63a](https://github.com/BitGo/BitGoJS/commit/133d63a2a48be6b2a8081db309dc46fb0de9bb8a))
12+
13+
14+
15+
16+
17+
## [7.9.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-lightning@7.9.0...@bitgo/abstract-lightning@7.9.1) (2026-04-08)
18+
19+
**Note:** Version bump only for package @bitgo/abstract-lightning
20+
21+
22+
23+
24+
625
# [7.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-lightning@7.8.5...@bitgo/abstract-lightning@7.9.0) (2026-03-29)
726

827

0 commit comments

Comments
 (0)