Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(ci): switch Arbitrum RPC and resolve mypy warning
  • Loading branch information
TimeToBuildBob committed Mar 26, 2026
commit 06fa4369bb31f8c32c4fc2509f98675bd3498b81
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
PROVIDER_MAINNET: ${{ secrets.MAINNET_PROVIDER || 'https://ethereum.publicnode.com' }}
PROVIDER_ARBITRUM: 'https://rpc.ankr.com/arbitrum'
PROVIDER_ARBITRUM: 'https://arb1.arbitrum.io/rpc'
PROVIDER_XDAI: 'https://rpc.ankr.com/gnosis'

jobs:
Expand Down
6 changes: 5 additions & 1 deletion uniswap/uniswap4.py
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,11 @@ def get_token(self, address: AddressLike, abi_name: str = "erc20") -> ERC20Token
try:
symbol = _symbol.decode()
except Exception as e:
logger.warning(f"Error occurred while decoding symbol for {address}: {e}")
logger.warning(
"Error occurred while decoding symbol for %s: %s",
_addr_to_str(address),
e,
)
symbol = str(_symbol)
return ERC20Token(symbol, address, name, decimals)

Expand Down
Loading