From bf79d1567d8896a24297067da90cbdd894e8b632 Mon Sep 17 00:00:00 2001 From: tyleroooo Date: Wed, 23 Oct 2024 15:08:21 -0400 Subject: [PATCH] fix: unallocated unique name (#726) --- .../kotlin/exchange.dydx.abacus/functional/vault/Vault.kt | 2 +- .../kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/Vault.kt b/src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/Vault.kt index b12b9f35b..1bfc66ecb 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/Vault.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/Vault.kt @@ -153,7 +153,7 @@ object VaultCalculator { // add a usdc row return positions + VaultPosition( - marketId = "USDC-USD", + marketId = "UNALLOCATEDUSDC-USD", marginUsdc = usdcTotal, equityUsdc = usdcTotal, currentLeverageMultiple = 1.0, diff --git a/src/commonTest/kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt b/src/commonTest/kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt index e375c8e9e..ca48d2e94 100644 --- a/src/commonTest/kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt +++ b/src/commonTest/kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt @@ -331,7 +331,7 @@ class VaultTests { iListOf( expectedVaultPosition, VaultPosition( - marketId = "USDC-USD", + marketId = "UNALLOCATEDUSDC-USD", marginUsdc = 6000.0, equityUsdc = 6000.0, currentLeverageMultiple = 1.0,