Skip to content

Commit 0ae895b

Browse files
committed
chore(pricefeeds) Inective EVM as well
1 parent 9f2fa26 commit 0ae895b

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

contract_manager/src/core/chains.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,9 @@ export class EvmChain extends Chain {
563563
web3.eth.accounts.wallet.add(signer);
564564
const contract = new web3.eth.Contract(abi);
565565
const deployTx = contract.deploy({ data: bytecode, arguments: deployArgs });
566-
const gas = Math.trunc((await deployTx.estimateGas()) * gasMultiplier);
566+
const gas = Math.trunc(
567+
(await deployTx.estimateGas({ from: signer.address })) * gasMultiplier,
568+
);
567569
const gasPrice = Math.trunc(
568570
Number(await this.getGasPrice()) * gasPriceMultiplier,
569571
);

contract_manager/store/contracts/EvmPriceFeedContracts.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,5 +883,10 @@
883883
"chain": "sonic_evm_testnet",
884884
"address": "0x2880aB155794e7179c9eE2e38200202908C17B43",
885885
"type": "EvmPriceFeedContract"
886+
},
887+
{
888+
"chain": "injective_evm",
889+
"address": "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
890+
"type": "EvmPriceFeedContract"
886891
}
887892
]

contract_manager/store/contracts/EvmWormholeContracts.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,5 +893,10 @@
893893
"chain": "sonic_evm_testnet",
894894
"address": "0xb27e5ca259702f209a29225d0eDdC131039C9933",
895895
"type": "EvmWormholeContract"
896+
},
897+
{
898+
"chain": "injective_evm",
899+
"address": "0x2880aB155794e7179c9eE2e38200202908C17B43",
900+
"type": "EvmWormholeContract"
896901
}
897902
]

0 commit comments

Comments
 (0)