From c7359c0d7a93ff2b123e00236ac6d30045e40040 Mon Sep 17 00:00:00 2001 From: Lyka Labrada Date: Wed, 1 Nov 2023 15:37:02 +0800 Subject: [PATCH] feat(jellyfish-api-core): enable dusd vault loop gov attribute in playground (#2165) #### What this PR does / why we need it: #### Which issue(s) does this PR fixes?: Fixes # #### Additional comments?: --- apps/playground-api/__tests__/modules/PlaygroundModule.test.ts | 1 + apps/playground-api/src/setups/setup.gov.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts b/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts index 1330fe2c70..36b66448e6 100644 --- a/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts +++ b/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts @@ -200,6 +200,7 @@ it('should have gov set', async () => { 'v0/token/18/loan_minting_enabled': 'true', 'v0/token/18/loan_minting_interest': '3', 'v0/params/feature/icx': 'true', + 'v0/vaults/dusd-vault/enabled': 'true', 'v0/params/feature/evm': 'true', 'v0/transferdomain/dvm-evm/dat-enabled': 'true', 'v0/transferdomain/evm-dvm/dat-enabled': 'true', diff --git a/apps/playground-api/src/setups/setup.gov.ts b/apps/playground-api/src/setups/setup.gov.ts index b345ee7614..8d5cce599f 100644 --- a/apps/playground-api/src/setups/setup.gov.ts +++ b/apps/playground-api/src/setups/setup.gov.ts @@ -63,6 +63,9 @@ export class SetupGov extends PlaygroundSetup> { // Unloop mechanism for DUSD 'v0/token/14/loan_payback_collateral': 'true', + // Enable DUSD loop for loan + 'v0/vaults/dusd-vault/enabled': 'true', + // On-chain governance 'v0/params/feature/gov': 'true',