From fb184437f8baa79c431fb376bca74a5de8e5ed40 Mon Sep 17 00:00:00 2001 From: Harsh Date: Wed, 22 May 2024 16:52:20 +0530 Subject: [PATCH] added df23height flag --- .../__tests__/modules/PlaygroundModule.test.ts | 4 ++-- apps/playground-api/src/setups/setup.gov.ts | 12 ++++++------ apps/whale-api/docker-compose.yml | 1 + .../src/containers/NativeChainContainer.ts | 1 + .../src/containers/RegTestContainer/index.ts | 1 + 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts b/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts index 70eb2adadc..2b8bd35e3c 100644 --- a/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts +++ b/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts @@ -217,8 +217,8 @@ it('should have gov set', async () => { 'v0/transferdomain/dvm-evm/dest-formats': ['erc55'], 'v0/transferdomain/evm-dvm/src-formats': ['erc55'], 'v0/transferdomain/evm-dvm/auth-formats': ['bech32-erc55'], - 'v0/transferdomain/evm-dvm/dest-formats': ['bech32', 'p2pkh'] - // 'v0/vaults/params/creation_fee': '2' + 'v0/transferdomain/evm-dvm/dest-formats': ['bech32', 'p2pkh'], + 'v0/vaults/params/creation_fee': '2' } }) diff --git a/apps/playground-api/src/setups/setup.gov.ts b/apps/playground-api/src/setups/setup.gov.ts index df89567507..48c83d4480 100644 --- a/apps/playground-api/src/setups/setup.gov.ts +++ b/apps/playground-api/src/setups/setup.gov.ts @@ -180,11 +180,11 @@ export class SetupGov extends PlaygroundSetup> { }) await this.generate(1) - // await this.client.masternode.setGov({ - // ATTRIBUTES: { - // 'v0/vaults/params/creation_fee': '2' - // } - // }) - // await this.generate(1) + await this.client.masternode.setGov({ + ATTRIBUTES: { + 'v0/vaults/params/creation_fee': '2' + } + }) + await this.generate(1) } } diff --git a/apps/whale-api/docker-compose.yml b/apps/whale-api/docker-compose.yml index 4e05c240c8..996775fa97 100644 --- a/apps/whale-api/docker-compose.yml +++ b/apps/whale-api/docker-compose.yml @@ -43,6 +43,7 @@ services: -grandcentralheight=16 -grandcentralepilogueheight=17 -metachainheight=18 + -df23height=19 -regtest-skip-loan-collateral-validation -regtest-minttoken-simulate-mainnet=0 diff --git a/packages/testcontainers/src/containers/NativeChainContainer.ts b/packages/testcontainers/src/containers/NativeChainContainer.ts index 53147b75d7..89bfba4d27 100644 --- a/packages/testcontainers/src/containers/NativeChainContainer.ts +++ b/packages/testcontainers/src/containers/NativeChainContainer.ts @@ -122,6 +122,7 @@ export class NativeChainContainer extends GenericContainer { '-grandcentralheight=16', '-grandcentralepilogueheight=17', '-metachainheight=18', + '-df23height=19', '-regtest-skip-loan-collateral-validation', '-regtest-minttoken-simulate-mainnet=0' ], diff --git a/packages/testcontainers/src/containers/RegTestContainer/index.ts b/packages/testcontainers/src/containers/RegTestContainer/index.ts index 2c6d9ea45a..7bae67fb02 100644 --- a/packages/testcontainers/src/containers/RegTestContainer/index.ts +++ b/packages/testcontainers/src/containers/RegTestContainer/index.ts @@ -43,6 +43,7 @@ export class RegTestContainer extends DeFiDContainer { '-grandcentralheight=16', '-grandcentralepilogueheight=17', '-metachainheight=18', + '-df23height=19', '-regtest-skip-loan-collateral-validation', '-regtest-minttoken-simulate-mainnet=0', '-rpc-governance-accept-neutral=1'