Skip to content

Commit 78a1304

Browse files
author
0xfirefist
committed
resolve build errors
1 parent c249e12 commit 78a1304

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

target_chains/cosmwasm/tools/src/deployer/config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ export const CONFIG: Config = {
3535
name: "localterra",
3636
},
3737
},
38+
[NETWORKS.INJECTIVE_MAINNET]: {
39+
type: CONFIG_TYPE.INJECTIVE,
40+
host: {
41+
network: Network.Mainnet,
42+
},
43+
},
3844
[NETWORKS.INJECTIVE_TESTNET]: {
3945
type: CONFIG_TYPE.INJECTIVE,
4046
host: {

target_chains/cosmwasm/tools/src/deployer/osmosis.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ export class OsmosisDeployer implements Deployer {
120120
cosmwasm.wasm.v1.MessageComposer.withTypeUrl.instantiateContract({
121121
sender: accAddress,
122122
admin: accAddress,
123+
// FIXME: soon this file will be removed
124+
// not spending any time on this bug
125+
// @ts-ignore
123126
codeId: Long.fromNumber(codeId),
124127
label,
125128
msg: Buffer.from(JSON.stringify(inst_msg)),
@@ -155,6 +158,7 @@ export class OsmosisDeployer implements Deployer {
155158
cosmwasm.wasm.v1.MessageComposer.withTypeUrl.migrateContract({
156159
sender: await this.getAccountAddress(),
157160
contract,
161+
// @ts-ignore
158162
codeId: Long.fromNumber(codeId),
159163
msg: Buffer.from(
160164
JSON.stringify({

0 commit comments

Comments
 (0)