diff --git a/bot/StateRelayerBot.ts b/bot/StateRelayerBot.ts index c2647b2..7223735 100644 --- a/bot/StateRelayerBot.ts +++ b/bot/StateRelayerBot.ts @@ -39,6 +39,20 @@ export async function handler(props: StateRelayerHandlerProps): Promise= 10_000_000_000n ? feeData.maxPriorityFeePerGas : 10_000_000_000n); + maxPriorityFeePerGas = feeData.maxPriorityFeePerGas; + } else { + maxFeePerGas = baseFeePerGas + 10_000_000_000n; + maxPriorityFeePerGas = 2_000_000_000n; + } // Call SC Function to update Data // Update Dex information const dexInfoTx = await stateRelayerContract.updateDEXInfo( @@ -46,18 +60,27 @@ export async function handler(props: StateRelayerHandlerProps): Promise