From afd36a51cd1a9f8f8bd5952c90712f42e44b3697 Mon Sep 17 00:00:00 2001 From: Philipp Piwo Date: Mon, 4 Mar 2024 13:02:59 +0100 Subject: [PATCH] chore: upgrade support latest aeternity node --- .github/workflows/main.yml | 4 ++-- docs/cli/env.md | 7 ++++--- src/init/update-artifacts/docker-compose.yml | 5 +++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7b38571..52999a23 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: node-version: [ 16, 18, 20, 21 ] - node-tag: [v6.11.0] # latest is v6.12.0 which uses an incompatible dev-mode plugin currently + node-tag: [latest] compiler-tag: [v7.6.1] # latest is v8.0.0-rc1 which is not supported by the sdk currently # for lts node also test first known compatible and latest known good compiler and node versions @@ -16,7 +16,7 @@ jobs: node-tag: v6.8.0 # v6.3.0 to v6.7.0 use a different config format compiler-tag: v7.4.0 - node-version: 20 - node-tag: v6.11.0 + node-tag: v6.12.0 compiler-tag: v7.6.1 runs-on: ubuntu-latest diff --git a/docs/cli/env.md b/docs/cli/env.md index 1aa1b060..9ffc9413 100644 --- a/docs/cli/env.md +++ b/docs/cli/env.md @@ -15,11 +15,11 @@ aeproject env --stop There are optional parameters **\-\-nodeVersion** and **\-\-compilerVersion**. To specify a specific version of node or compiler, or both ```text -aeproject env --nodeVersion v6.11.0 +aeproject env --nodeVersion v6.12.0 # or -aeproject env --compilerVersion v7.5.0 +aeproject env --compilerVersion v7.6.1 # or -aeproject env --nodeVersion v6.11.0 --compilerVersion v7.5.0 +aeproject env --nodeVersion v6.12.0 --compilerVersion v7.6.1 ``` This also applies to the commands `aeproject node` and `aeproject compiler`. @@ -31,6 +31,7 @@ aeproject env --info **Note**: By default AEproject uses the `latest-bundle` tag of the official [docker images](https://hub.docker.com/r/aeternity/aeternity/tags). **Compatibility**: + - aeproject until `v4.8.3` is only compatible with node versions `NODE_TAG <= v6.11.0` due to some changes in the devmode plugin - aeproject uses the `-bundle` node docker images including dev mode, which are only published from `NODE_TAG >= v6.3.0` - the default `aeternity.yaml` config file that ships with aeproject supports `NODE_TAG >= v6.8.0` - the latest `@aeternity/aepp-sdk@13` is only compatible using `NODE_TAG >= v6.0.0` and `COMPILER_TAG >= v7.5.0` diff --git a/src/init/update-artifacts/docker-compose.yml b/src/init/update-artifacts/docker-compose.yml index c23d7f4f..b58e6dce 100644 --- a/src/init/update-artifacts/docker-compose.yml +++ b/src/init/update-artifacts/docker-compose.yml @@ -2,16 +2,17 @@ version: '3.6' services: aeproject_node: - image: aeternity/aeternity:${NODE_TAG:-v6.11.0}-bundle + image: aeternity/aeternity:${NODE_TAG:-v6.12.0}-bundle hostname: node environment: AETERNITY_CONFIG: /home/aeternity/aeternity.yaml + AE__SYSTEM__CUSTOM_PREFUNDED_ACCS_FILE: '/home/aeternity/node/data/aecore/.genesis/accounts_test.json' volumes: - './docker/aeternity.yaml:/home/aeternity/aeternity.yaml' - './docker/accounts.json:/home/aeternity/node/data/aecore/.genesis/accounts_test.json' aeproject_compiler: - image: aeternity/aesophia_http:${COMPILER_TAG:-v7.6.0} + image: aeternity/aesophia_http:${COMPILER_TAG:-v7.6.1} hostname: compiler ports: - '3080:3080'