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 {
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 ) ;
Original file line number Diff line number Diff line change 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]
Original file line number Diff line number Diff line change 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]
You can’t perform that action at this time.
0 commit comments