Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yogurtandjam committed May 30, 2024
1 parent 0870bcf commit 2706806
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package exchange.dydx.abacus.processor.router.skip

import exchange.dydx.abacus.output.input.TransferInputChainResource
import exchange.dydx.abacus.processor.base.BaseProcessor
import exchange.dydx.abacus.protocols.ParserProtocol

internal class SkipChainResourceProcessor(private val parser: ParserProtocol) {
Expand All @@ -10,11 +9,11 @@ internal class SkipChainResourceProcessor(private val parser: ParserProtocol) {
payload: Map<String, Any>
): TransferInputChainResource {
return TransferInputChainResource(
chainName=parser.asString(payload["chain_name"]),
rpc=parser.asString(payload["rpc"]),
networkName=parser.asString(payload["networkName"]),
chainId=parser.asInt(payload["chain_id"]),
iconUrl=parser.asString(payload["logo_uri"]),
chainName = parser.asString(payload["chain_name"]),
rpc = parser.asString(payload["rpc"]),
networkName = parser.asString(payload["networkName"]),
chainId = parser.asInt(payload["chain_id"]),
iconUrl = parser.asString(payload["logo_uri"]),
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SkipProcessorTests {
chainName = "Ethereum",
chainId = 1,
iconUrl = "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/info/logo.png",
)
),
)
assertEquals(expectedChainResources, internalState.chainResources)

Expand Down

0 comments on commit 2706806

Please sign in to comment.