diff --git a/build.gradle.kts b/build.gradle.kts index 3fd446f8a..c25dfe160 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -52,7 +52,7 @@ allprojects { } group = "exchange.dydx.abacus" -version = "1.13.38" +version = "1.13.39" repositories { google() diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip/SkipProcessor.kt b/src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip/SkipProcessor.kt index 7feca70fa..657ea9d89 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip/SkipProcessor.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip/SkipProcessor.kt @@ -285,7 +285,7 @@ internal class SkipProcessor( val cctpChain = cctpChainIds?.find { it.chainId == chainId } // If one does, then check for a token in the filteredTokens whose denom matches the found cctpChainTokenInfo, if one exists val filteredCctpToken = filteredTokensForChainId.find { - parser.asString(parser.asNativeMap(it)?.get("denom")) == cctpChain?.tokenAddress + parser.asString(parser.asNativeMap(it)?.get("denom"))?.lowercase() == cctpChain?.tokenAddress?.lowercase() } if (filteredCctpToken != null) { return parser.asString(parser.asNativeMap(filteredCctpToken)?.get("denom")) diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/state/manager/CctpChainTokenInfo.kt b/src/commonMain/kotlin/exchange.dydx.abacus/state/manager/CctpChainTokenInfo.kt index eee214f2a..9c2c3e24a 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/state/manager/CctpChainTokenInfo.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/state/manager/CctpChainTokenInfo.kt @@ -7,7 +7,7 @@ data class CctpChainTokenInfo( val tokenAddress: String, ) { fun isCctpEnabled(transferInput: TransferInput?) = - transferInput?.chain == chainId && transferInput.token == tokenAddress + transferInput?.chain == chainId && transferInput.token?.lowercase() == tokenAddress.lowercase() } object CctpConfig { diff --git a/v4_abacus.podspec b/v4_abacus.podspec index b9814a9d6..cf6007e6e 100644 --- a/v4_abacus.podspec +++ b/v4_abacus.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'v4_abacus' - spec.version = '1.13.38' + spec.version = '1.13.39' spec.homepage = 'https://github.com/dydxprotocol/v4-abacus' spec.source = { :http=> ''} spec.authors = ''