diff --git a/arbitrium-tx-latency-measurement/Dockerfile b/arbitrium-tx-latency-measurement/Dockerfile index cdd30b1..f478e8d 100644 --- a/arbitrium-tx-latency-measurement/Dockerfile +++ b/arbitrium-tx-latency-measurement/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 +FROM node:18 WORKDIR /usr/src/klaytn diff --git a/arbitrium-tx-latency-measurement/sendtx_arbitrium.js b/arbitrium-tx-latency-measurement/sendtx_arbitrium.js index 9567888..3c790cf 100644 --- a/arbitrium-tx-latency-measurement/sendtx_arbitrium.js +++ b/arbitrium-tx-latency-measurement/sendtx_arbitrium.js @@ -239,8 +239,7 @@ async function sendTx() { data.txFee = Number(receipt.gasUsed) * Number(web3.utils.fromWei(Number(receipt.effectiveGasPrice), "ether")); - }) - .catch(console.error); + }); const db = await JSONPreset("db.json", { posts: [] }); db.data.posts.push({ diff --git a/optimism-tx-latency-measurement/Dockerfile b/optimism-tx-latency-measurement/Dockerfile index 347c187..5595fb0 100644 --- a/optimism-tx-latency-measurement/Dockerfile +++ b/optimism-tx-latency-measurement/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 +FROM node:18 WORKDIR /usr/src/klaytn