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');