Skip to content

Commit

Permalink
fix: update ci env to node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
MinHtet-O committed Mar 18, 2024
1 parent 5be62ea commit 48b564c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- run: npm ci --ignore-scripts
- run: npm run lint

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- run: npm ci
- run: npm run test -- --runInBand

Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- run: npm ci
- run: npm run build

Expand All @@ -36,6 +36,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- run: npm ci
- run: npm run benchmark
2 changes: 1 addition & 1 deletion src/implementations/document-store/grant-role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const grantDocumentStoreRole = async ({
});
process.exit(0);
}
const gasFees = await getGasFees({ provider: wallet.provider, ...rest });
const gasFees = await getGasFees({ provider: wallet.provider, network, ...rest });
trace(`Gas maxFeePerGas: ${gasFees.maxFeePerGas}`);
trace(`Gas maxPriorityFeePerGas: ${gasFees.maxPriorityFeePerGas}`);
await documentStore.callStatic.grantRole(roleString, account);
Expand Down
2 changes: 1 addition & 1 deletion src/implementations/document-store/issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const issueToDocumentStore = async ({
});
process.exit(0);
}
const gasFees = await getGasFees({ provider: wallet.provider, ...rest });
const gasFees = await getGasFees({ provider: wallet.provider, network, ...rest });
trace(`Gas maxFeePerGas: ${gasFees.maxFeePerGas}`);
trace(`Gas maxPriorityFeePerGas: ${gasFees.maxPriorityFeePerGas}`);
await documentStore.callStatic.issue(hash);
Expand Down
2 changes: 1 addition & 1 deletion src/implementations/document-store/revoke-role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const revokeDocumentStoreRole = async ({
});
process.exit(0);
}
const gasFees = await getGasFees({ provider: wallet.provider, ...rest });
const gasFees = await getGasFees({ provider: wallet.provider, network, ...rest });
trace(`Gas maxFeePerGas: ${gasFees.maxFeePerGas}`);
trace(`Gas maxPriorityFeePerGas: ${gasFees.maxPriorityFeePerGas}`);
await documentStore.callStatic.revokeRole(roleString, account);
Expand Down
2 changes: 1 addition & 1 deletion src/implementations/document-store/revoke.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const revokeToDocumentStore = async ({
});
process.exit(0);
}
const gasFees = await getGasFees({ provider: wallet.provider, ...rest });
const gasFees = await getGasFees({ provider: wallet.provider, network, ...rest });
trace(`Gas maxFeePerGas: ${gasFees.maxFeePerGas}`);
trace(`Gas maxPriorityFeePerGas: ${gasFees.maxPriorityFeePerGas}`);
await documentStore.callStatic.revoke(hash);
Expand Down
2 changes: 1 addition & 1 deletion src/implementations/document-store/transfer-ownership.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const transferDocumentStoreOwnership = async ({
});
process.exit(0);
}
const gasFees = await getGasFees({ provider: wallet.provider, ...rest });
const gasFees = await getGasFees({ provider: wallet.provider, network, ...rest });
trace(`Gas maxFeePerGas: ${gasFees.maxFeePerGas}`);
trace(`Gas maxPriorityFeePerGas: ${gasFees.maxPriorityFeePerGas}`);
signale.await(`Sending transaction to pool`);
Expand Down
4 changes: 0 additions & 4 deletions test.py

This file was deleted.

0 comments on commit 48b564c

Please sign in to comment.