File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -563,7 +563,9 @@ export class EvmChain extends Chain {
563
563
web3 . eth . accounts . wallet . add ( signer ) ;
564
564
const contract = new web3 . eth . Contract ( abi ) ;
565
565
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
+ ) ;
567
569
const gasPrice = Math . trunc (
568
570
Number ( await this . getGasPrice ( ) ) * gasPriceMultiplier ,
569
571
) ;
Original file line number Diff line number Diff line change 883
883
"chain" : " sonic_evm_testnet" ,
884
884
"address" : " 0x2880aB155794e7179c9eE2e38200202908C17B43" ,
885
885
"type" : " EvmPriceFeedContract"
886
+ },
887
+ {
888
+ "chain" : " injective_evm" ,
889
+ "address" : " 0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320" ,
890
+ "type" : " EvmPriceFeedContract"
886
891
}
887
892
]
Original file line number Diff line number Diff line change 893
893
"chain" : " sonic_evm_testnet" ,
894
894
"address" : " 0xb27e5ca259702f209a29225d0eDdC131039C9933" ,
895
895
"type" : " EvmWormholeContract"
896
+ },
897
+ {
898
+ "chain" : " injective_evm" ,
899
+ "address" : " 0x2880aB155794e7179c9eE2e38200202908C17B43" ,
900
+ "type" : " EvmWormholeContract"
896
901
}
897
902
]
You can’t perform that action at this time.
0 commit comments