File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ allprojects {
5252}
5353
5454group = " exchange.dydx.abacus"
55- version = " 1.13.56 "
55+ version = " 1.13.57 "
5656
5757repositories {
5858 google()
Original file line number Diff line number Diff line change @@ -198,7 +198,8 @@ internal class SkipProcessor(
198198 }
199199
200200 override fun defaultChainId (): String? {
201- val selectedChain = getChainById(chainId = ETHEREUM_CHAIN_ID ) ? : parser.asNativeMap(this .chains?.firstOrNull())
201+ val firstChain = this .chains?.firstOrNull { parser.asString(parser.asNativeMap(it)?.get(" chain_type" )) == selectedChainType?.rawValue }
202+ val selectedChain = getChainById(chainId = ETHEREUM_CHAIN_ID ) ? : parser.asNativeMap(firstChain)
202203
203204 return parser.asString(selectedChain?.get(" chain_id" ))
204205 }
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |spec |
22 spec . name = 'v4_abacus'
3- spec . version = '1.13.56 '
3+ spec . version = '1.13.57 '
44 spec . homepage = 'https://github.com/dydxprotocol/v4-abacus'
55 spec . source = { :http => '' }
66 spec . authors = ''
You can’t perform that action at this time.
0 commit comments