Skip to content

Commit 16495c4

Browse files
committed
fix(cosmwasm): typing issues
1 parent aaf488d commit 16495c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

target_chains/cosmwasm/tools/src/ci/deployer/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export class DeployerFactory {
3030
return TerraDeployer.fromHostAndMnemonic(config.host, mnemonic);
3131

3232
case CONFIG_TYPE.INJECTIVE:
33+
// @ts-expect-error - TODO: slight typing differences
3334
return InjectiveDeployer.fromHostAndMnemonic(config.host, mnemonic);
3435

3536
case CONFIG_TYPE.OSMOSIS:

target_chains/cosmwasm/tools/src/ci/deployer/injective.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export class InjectiveDeployer implements Deployer {
189189
await this.signAndBroadcastMsg(updateAdminMsg);
190190
}
191191

192+
// @ts-expect-error - TODO: slight typing differences in return types
192193
async getContractInfo(contract: string): Promise<ContractInfo> {
193194
const { grpc } = getNetworkInfo(this.network);
194195
const api = new ChainGrpcWasmApi(grpc);
@@ -205,7 +206,7 @@ export class InjectiveDeployer implements Deployer {
205206
creator: creator,
206207
admin: admin,
207208
initMsg: undefined,
208-
} as ContractInfo;
209+
} as unknown as ContractInfo;
209210
}
210211

211212
static fromHostAndMnemonic(host: InjectiveHost, mnemonic: string) {

0 commit comments

Comments
 (0)