From 512f864bbc63ef866889e9ceb1cc515058507af9 Mon Sep 17 00:00:00 2001 From: harisang Date: Fri, 6 Dec 2024 14:12:03 +0200 Subject: [PATCH] enable slippage calculations on Arbitrum and Gnosis Chain by default --- src/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config.py b/src/config.py index f4d96bef..b16c1f34 100644 --- a/src/config.py +++ b/src/config.py @@ -140,8 +140,10 @@ def from_network(network: Network) -> BufferAccountingConfig: match network: case Network.MAINNET: include_slippage = True - case Network.GNOSIS | Network.ARBITRUM_ONE: - include_slippage = False + case Network.GNOSIS: + include_slippage = True + case Network.ARBITRUM_ONE: + include_slippage = True case _: raise ValueError( f"No buffer accounting config set up for network {network}."