Skip to content

Commit 919a06b

Browse files
authored
Add solanaRpcUrl into env config (#818)
1 parent ed4835a commit 919a06b

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ allprojects {
5353
}
5454

5555
group = "exchange.dydx.abacus"
56-
version = "1.14.8"
56+
version = "1.14.9"
5757

5858
repositories {
5959
google()

src/commonMain/kotlin/exchange.dydx.abacus/state/manager/Environment.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ data class EnvironmentEndpoints(
3737
val metadataService: String?,
3838
val nobleValidator: String?,
3939
val geo: String?,
40+
val solanaRpcUrl: String?,
4041
) {
4142
companion object {
4243
fun parse(
@@ -54,6 +55,7 @@ data class EnvironmentEndpoints(
5455
val metadataService = parser.asString(data["metadataService"])
5556
val nobleValidator = parser.asString(data["nobleValidator"])
5657
val geo = parser.asString(data["geo"])
58+
val solanaRpcUrl = parser.asString(data["solanaRpcUrl"])
5759
return EnvironmentEndpoints(
5860
indexers = indexers,
5961
validators = validators,
@@ -62,6 +64,7 @@ data class EnvironmentEndpoints(
6264
metadataService = metadataService,
6365
nobleValidator = nobleValidator,
6466
geo = geo,
67+
solanaRpcUrl = solanaRpcUrl,
6568
)
6669
}
6770
}

src/commonTest/kotlin/exchange.dydx.abacus/tests/payloads/AbacusMockData.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class AbacusMockData {
6666
metadataService = null,
6767
nobleValidator = null,
6868
geo = null,
69+
solanaRpcUrl = null,
6970
),
7071
links = EnvironmentLinks(
7172
tos = "https://dydx.exchange/v4-terms",

v4_abacus.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'v4_abacus'
3-
spec.version = '1.14.8'
3+
spec.version = '1.14.9'
44
spec.homepage = 'https://github.com/dydxprotocol/v4-abacus'
55
spec.source = { :http=> ''}
66
spec.authors = ''

0 commit comments

Comments
 (0)