Skip to content

Commit

Permalink
chore(middleware): update to 1.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jul 7, 2023
1 parent 981bcf2 commit 22cc31b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions test/integration/Middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion tooling/autorest/middleware-prepare.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 22cc31b

Please sign in to comment.