Skip to content

Commit

Permalink
enable slippage calculations on Arbitrum and Gnosis Chain by default
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Dec 6, 2024
1 parent 4acb308 commit 512f864
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}."
Expand Down

0 comments on commit 512f864

Please sign in to comment.