From 22cc31bbcababbb5155872b63f28a2be8ee1303e Mon Sep 17 00:00:00 2001 From: Denis Davidyuk Date: Fri, 7 Jul 2023 20:11:43 +0600 Subject: [PATCH] chore(middleware): update to 1.53.0 --- test/integration/Middleware.ts | 6 ++++++ tooling/autorest/middleware-prepare.mjs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/test/integration/Middleware.ts b/test/integration/Middleware.ts index c88834e6bb..248b584526 100644 --- a/test/integration/Middleware.ts +++ b/test/integration/Middleware.ts @@ -37,6 +37,8 @@ describe('Middleware API', () => { const expectedRes: typeof res = { data: [{ blockHash: 'mh_LAo6Cg6d8LGDpxJ3se2aGJZbCubDZyC6GonHK58MKiW4a4LWb', + // @ts-expect-error https://github.com/aeternity/ae_mdw/issues/1454 + block_time: 1684995426848, height: 779178, payload: { block_hash: 'mh_LAo6Cg6d8LGDpxJ3se2aGJZbCubDZyC6GonHK58MKiW4a4LWb', @@ -73,6 +75,8 @@ describe('Middleware API', () => { type: 'GAMetaTxEvent', }, { blockHash: 'mh_2R1PVwTNP3Jha7oRby9Me3SRBP4R9he6RMH6eCCJGyVBHAzy5f', + // @ts-expect-error https://github.com/aeternity/ae_mdw/issues/1454 + block_time: 1684995366595, height: 779178, payload: { block_hash: 'mh_2R1PVwTNP3Jha7oRby9Me3SRBP4R9he6RMH6eCCJGyVBHAzy5f', @@ -111,6 +115,8 @@ describe('Middleware API', () => { type: 'GAAttachTxEvent', }, { blockHash: 'mh_25snWYwTkU1xjPCcH592XVNzL894qSpF4yqnt8tABKGEVm6nSz', + // @ts-expect-error https://github.com/aeternity/ae_mdw/issues/1454 + block_time: 1684995336526, height: 779178, payload: { block_hash: 'mh_25snWYwTkU1xjPCcH592XVNzL894qSpF4yqnt8tABKGEVm6nSz', diff --git a/tooling/autorest/middleware-prepare.mjs b/tooling/autorest/middleware-prepare.mjs index c61a5adefa..1abd0b1fc1 100755 --- a/tooling/autorest/middleware-prepare.mjs +++ b/tooling/autorest/middleware-prepare.mjs @@ -12,7 +12,7 @@ const run = (getOutput, command, ...args) => { return stdout?.toString().trim(); }; -const version = '1.52.0'; +const version = '1.53.0'; const id = run(true, 'docker', 'create', `aeternity/ae_mdw:${version}`); const openapi = `/home/aeternity/node/lib/ae_mdw-${version}/priv/static/swagger/swagger_v2.yaml`; run(false, 'docker', 'cp', `${id}:${openapi}`, './tooling/autorest/middleware-openapi.yaml');