Closed dallinlarsen closed 8 months ago
@dallinlarsen This is helpful. It probably explains the regression in https://github.com/Uniswap/smart-order-router/pull/481. I will give a try in my local, and see if it passes.
FYI tracking purpose, regression was introduced in https://github.com/Uniswap/sdk-core/pull/112
@dallinlarsen FYI I'm going to merge your change directly, because it helps with the issue https://github.com/Uniswap/smart-order-router/pull/481#issuecomment-1932579689. The contribution credit should still be yours.
I was recieiving an error:
Error: resolver or addr is not configured for ENS name (argument="name", value="", code=INVALID_ARGUMENT, version=contracts/5.7.0)
and tracked it down to this bug. It seems that callingincludes()
on the array works butchainId in SUPPORTED_CHAINS
doesn't.