diff --git a/packages/bridge-ui-v2/src/app.config.ts b/packages/bridge-ui-v2/src/app.config.ts index 64e9bd3fb03..3cd6c95a50c 100644 --- a/packages/bridge-ui-v2/src/app.config.ts +++ b/packages/bridge-ui-v2/src/app.config.ts @@ -1,19 +1,21 @@ export const recommentProcessingFee = { - ethGasLimit: BigInt(900000), - erc20NotDeployedGasLimit: BigInt(3100000), - erc20DeployedGasLimit: BigInt(1100000), + ethGasLimit: BigInt(900_000), + erc20NotDeployedGasLimit: BigInt(3_100_000), + erc20DeployedGasLimit: BigInt(1_100_000), }; export const processingFeeComponent = { closingDelayOptionClick: 300, - intervalComputeRecommendedFee: 20000, + intervalComputeRecommendedFee: 20_000, }; -export const bridge = { - noOwnerGasLimit: BigInt(140000), - noTokenDeployedGasLimit: BigInt(3000000), +export const bridgeService = { + noOwnerGasLimit: BigInt(140_000), + noTokenDeployedGasLimit: BigInt(3_000_000), + erc20GasLimitThreshold: BigInt(2_500_000), + unpredictableGasLimit: BigInt(1_000_000), }; export const pendingTransaction = { - waitTimeout: 300000, + waitTimeout: 300_000, }; diff --git a/packages/bridge-ui-v2/src/components/Bridge/Actions.svelte b/packages/bridge-ui-v2/src/components/Bridge/Actions.svelte index a815a4cb17b..5a59a5300c4 100644 --- a/packages/bridge-ui-v2/src/components/Bridge/Actions.svelte +++ b/packages/bridge-ui-v2/src/components/Bridge/Actions.svelte @@ -56,7 +56,7 @@ $: disableBridge = canDoNothing || $insufficientAllowance || $insufficientBalance || bridging; // General loading state - $: loading = approving || bridging; + // $: loading = approving || bridging;