diff --git a/src/constants/CrosschainConfig.ts b/src/constants/CrosschainConfig.ts index 82426f23e5b..05fe20abc02 100644 --- a/src/constants/CrosschainConfig.ts +++ b/src/constants/CrosschainConfig.ts @@ -161,7 +161,7 @@ export const crosschainConfig: ChainbridgeConfig = { type: 'Ethereum', blockExplorer: 'https://blockscout.com/etc/kotti/tx', nativeTokenSymbol: 'AVAX', - defaultGasPrice: 470, + defaultGasPrice: 225, tokens: [ { address: '0xf6F3EEa905ac1da6F6DD37d06810C6Fcb0EF5183', @@ -459,7 +459,7 @@ export const crosschainConfig: ChainbridgeConfig = { // type: "Ethereum", // blockExplorer: "https://blockscout.com/etc/kotti/tx", // nativeTokenSymbol: "AVAX", - // defaultGasPrice: 470, + // defaultGasPrice: 225 , // tokens: [ // { // address: "0xbe113Dc920b8774c3f03195D6b3445F9B7884C2D", diff --git a/src/state/crosschain/hooks.ts b/src/state/crosschain/hooks.ts index 5284bb27424..98f4de0dd08 100644 --- a/src/state/crosschain/hooks.ts +++ b/src/state/crosschain/hooks.ts @@ -252,7 +252,7 @@ export function useCrosschainHooks() { const gasPriceFromChain = crosschainState.currentChain.name === 'Ethereum' ? WithDecimalsHexString(currentGasPrice, 0) - : WithDecimalsHexString(String(currentChain.defaultGasPrice || 470), 9) + : WithDecimalsHexString(String(currentChain.defaultGasPrice || 225), 9) const resultDepositTx = await bridgeContract .deposit(targetChain.chainId, currentToken.resourceId, data, { gasLimit: '500000', @@ -392,7 +392,7 @@ export function useCrosschainHooks() { const gasPriceFromChain = crosschainState.currentChain.name === 'Ethereum' ? WithDecimalsHexString(currentGasPrice, 0) - : WithDecimalsHexString(String(currentChain.defaultGasPrice || 470), 9) + : WithDecimalsHexString(String(currentChain.defaultGasPrice || 225), 9) // @ts-ignore const signer = web3React.library.getSigner()