From 2d527a6326662c2c9c2d5e665be1d99357791478 Mon Sep 17 00:00:00 2001 From: Denis Davidyuk Date: Tue, 14 Jun 2022 16:19:33 +0400 Subject: [PATCH] ci: switch to node@6.5.1 --- .env | 2 +- docker-compose.yml | 2 +- src/tx/index.ts | 2 +- tooling/autorest/node.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index acb1238830..8b7b972b96 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -NODE_TAG=v6.4.0 +NODE_TAG=v6.5.1 COMPILER_TAG=v6.1.0 diff --git a/docker-compose.yml b/docker-compose.yml index a9ff0c7537..b48c5c7925 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: node: - image: davidyuk/aeternity:${NODE_TAG}-for-sdk + image: aeternity/aeternity:${NODE_TAG} hostname: node ports: ["3013:3013", "3113:3113", "3014:3014", "3114:3114"] volumes: diff --git a/src/tx/index.ts b/src/tx/index.ts index 1e5d9e874a..a0280cada1 100644 --- a/src/tx/index.ts +++ b/src/tx/index.ts @@ -199,7 +199,7 @@ export async function prepareTxParams ( }> { n = n ?? ( await onNode.getAccountNextNonce(senderId, { strategy }).catch(() => ({ nextNonce: 1 })) - ).nextNonce as number + ).nextNonce const ttl = await calculateTtl({ ttl: t as number, relative: absoluteTtl == null, diff --git a/tooling/autorest/node.yaml b/tooling/autorest/node.yaml index dd5a5f1d80..630dfd02a6 100644 --- a/tooling/autorest/node.yaml +++ b/tooling/autorest/node.yaml @@ -151,7 +151,7 @@ version: ^3.6.1 use-extension: '@autorest/typescript': ^6.0.0-beta.18 '@autorest/modelerfour': ^4.23.1 -input-file: https://raw.githubusercontent.com/aeternity/aeternity/v6.4.0/apps/aehttp/priv/oas3.yaml +input-file: https://raw.githubusercontent.com/aeternity/aeternity/v6.5.1/apps/aehttp/priv/oas3.yaml output-folder: ../../src/apis/node source-code-folder-path: . client-side-validation: true