From 3a0096645cb6a655c5ac16911e1a6f28046f4d57 Mon Sep 17 00:00:00 2001 From: Harsh Date: Wed, 22 May 2024 15:57:09 +0530 Subject: [PATCH] bump(node): updated node to v4.1.0 --- .../__tests__/modules/PlaygroundModule.test.ts | 3 ++- apps/playground-api/src/setups/setup.gov.ts | 7 +++++++ apps/whale-api/docker-compose.yml | 2 +- packages/testcontainers/src/containers/DeFiDContainer.ts | 2 +- .../testcontainers/src/containers/NativeChainContainer.ts | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts b/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts index 3a940a6f4d..2b8bd35e3c 100644 --- a/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts +++ b/apps/playground-api/__tests__/modules/PlaygroundModule.test.ts @@ -217,7 +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/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 61af001bc1..48c83d4480 100644 --- a/apps/playground-api/src/setups/setup.gov.ts +++ b/apps/playground-api/src/setups/setup.gov.ts @@ -179,5 +179,12 @@ 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) } } diff --git a/apps/whale-api/docker-compose.yml b/apps/whale-api/docker-compose.yml index a7eff8d34e..4e05c240c8 100644 --- a/apps/whale-api/docker-compose.yml +++ b/apps/whale-api/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.7" services: defi-blockchain: - image: defi/defichain:4.0.9 + image: defi/defichain:4.1.0 ports: - "19554:19554" diff --git a/packages/testcontainers/src/containers/DeFiDContainer.ts b/packages/testcontainers/src/containers/DeFiDContainer.ts index 1f0c4db61a..3386a0e519 100644 --- a/packages/testcontainers/src/containers/DeFiDContainer.ts +++ b/packages/testcontainers/src/containers/DeFiDContainer.ts @@ -36,7 +36,7 @@ export abstract class DeFiDContainer extends DockerContainer { if (process?.env?.DEFICHAIN_DOCKER_IMAGE !== undefined) { return process.env.DEFICHAIN_DOCKER_IMAGE } - return 'defi/defichain:4.0.9' // renovate.json regexManagers + return 'defi/defichain:4.1.0' // renovate.json regexManagers } public static readonly DefaultStartOptions = { diff --git a/packages/testcontainers/src/containers/NativeChainContainer.ts b/packages/testcontainers/src/containers/NativeChainContainer.ts index ef812e5468..53147b75d7 100644 --- a/packages/testcontainers/src/containers/NativeChainContainer.ts +++ b/packages/testcontainers/src/containers/NativeChainContainer.ts @@ -29,7 +29,7 @@ export class NativeChainContainer extends GenericContainer { if (process?.env?.DEFICHAIN_DOCKER_IMAGE !== undefined) { return process.env.DEFICHAIN_DOCKER_IMAGE } - return 'defi/defichain:4.0.9' // renovate.json regexManagers + return 'defi/defichain:4.1.0' // renovate.json regexManagers } public static readonly PREFIX = 'defichain-testcontainers-'