Skip to content

Commit

Permalink
feat: skip v1/chains endpoint [OTE-347] (#390)
Browse files Browse the repository at this point in the history
Co-authored-by: mobile-build-bot-git <[email protected]>
  • Loading branch information
yogurtandjam and mobile-build-bot committed May 31, 2024
1 parent 169332f commit f591870
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ allprojects {
}

group = "exchange.dydx.abacus"
version = "1.7.43"
version = "1.7.44"

repositories {
google()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ internal class SquidProcessor(
override fun updateTokensDefaults(modified: MutableMap<String, Any>, selectedChainId: String?) {
val tokenOptions = tokenOptions(selectedChainId)
internalState.tokens = tokenOptions
modified.safeSet("transfer.depositOptions.assets", tokenOptions)
modified.safeSet("transfer.withdrawalOptions.assets", tokenOptions)
modified.safeSet("transfer.token", defaultTokenAddress(selectedChainId))
internalState.tokenResources = tokenResources(selectedChainId)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@ internal fun templateToJson(template: String): Map<String, Any> {

class SkipProcessorTests {

<<<<<<< HEAD
internal val skipProcessor = SkipProcessor(parser = Parser(), internalState = InternalTransferInputState())
=======
internal val internalState = InternalTransferInputState()
internal val parser = Parser()
internal val skipProcessor = SkipProcessor(parser = parser, internalState = internalState)
>>>>>>> d1c085f (fix tests and finish refactor)
internal val skipChainsMock = SkipChainsMock()
internal val skipTokensMock = SkipTokensMock()
internal val selectedChainId = "osmosis-1"
Expand Down Expand Up @@ -308,4 +304,5 @@ class SkipProcessorTests {
assertEquals(expectedTokens, internalState.tokens)
assertEquals(expectedTokenResources, internalState.tokenResources)
}
}
}
2 changes: 1 addition & 1 deletion v4_abacus.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'v4_abacus'
spec.version = '1.7.42'
spec.version = '1.7.44'
spec.homepage = 'https://github.com/dydxprotocol/v4-abacus'
spec.source = { :http=> ''}
spec.authors = ''
Expand Down

0 comments on commit f591870

Please sign in to comment.