Skip to content

Commit 3cbe3fe

Browse files
authored
Merge pull request #7359 from BitGo/derek/SC-3598-enable-message-signing-in-evm-coin-for-base
feat(sdk-coin-evm): enable message signing for base
2 parents 4cf86ea + 59cd88b commit 3cbe3fe

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

modules/sdk-coin-ethlike/src/ethlikeCoin.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,4 @@ export class EthLikeCoin extends AbstractEthLikeNewCoins {
5454
const explorerUrl = common.Environments[this.bitgo.getEnv()][this.getFamily().toLowerCase() + 'ExplorerUrl'];
5555
return await recoveryBlockchainExplorerQuery(query, explorerUrl as string, apiToken);
5656
}
57-
58-
/** @inheritDoc */
59-
supportsMessageSigning(): boolean {
60-
return true;
61-
}
62-
63-
/** @inheritDoc */
64-
supportsSigningTypedData(): boolean {
65-
return true;
66-
}
6757
}

modules/sdk-coin-evm/src/evmCoin.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ export class EvmCoin extends AbstractEthLikeNewCoins {
4343
return 'ecdsa';
4444
}
4545

46+
/** @inheritDoc */
47+
supportsMessageSigning(): boolean {
48+
return true;
49+
}
50+
51+
/** @inheritDoc */
52+
supportsSigningTypedData(): boolean {
53+
return true;
54+
}
55+
4656
protected async buildUnsignedSweepTxnTSS(params: RecoverOptions): Promise<OfflineVaultTxInfo | UnsignedSweepTxMPCv2> {
4757
if (this.staticsCoin?.features.includes(CoinFeature.MPCV2)) {
4858
return this.buildUnsignedSweepTxnMPCv2(params);

0 commit comments

Comments
 (0)