From 1270fdce0a1ca264354c51bfb055496f06cb7042 Mon Sep 17 00:00:00 2001 From: Solan Date: Tue, 17 Oct 2023 13:17:43 +0800 Subject: [PATCH 1/3] Update truffle-config.js --- truffle-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truffle-config.js b/truffle-config.js index 57b07d0..10fc72e 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -85,7 +85,7 @@ module.exports = { // Configure your compilers compilers: { solc: { - version: "0.5.17", // Fetch exact version from solc-bin (default: truffle's version) + version: "^0.8.0", // Fetch exact version from solc-bin (default: truffle's version) // docker: true, // Use "0.5.1" you've installed locally with docker (default: false) settings: { // See the solidity docs for advice about optimization and evmVersion optimizer: { From 7fd0f7fc21523de994c2dd5a19d516c8e17f7eb9 Mon Sep 17 00:00:00 2001 From: Solan Date: Tue, 17 Oct 2023 13:20:28 +0800 Subject: [PATCH 2/3] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c5fad5..853e7ae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: "14" + node-version: "16" - name: Install dependencies run: npm install From fb2b143359657c5c2fb7fd01ee8bc4752ffbaafc Mon Sep 17 00:00:00 2001 From: Solan Date: Tue, 17 Oct 2023 13:34:37 +0800 Subject: [PATCH 3/3] Revert "Update truffle-config.js" This reverts commit 1270fdce0a1ca264354c51bfb055496f06cb7042. --- truffle-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truffle-config.js b/truffle-config.js index 10fc72e..57b07d0 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -85,7 +85,7 @@ module.exports = { // Configure your compilers compilers: { solc: { - version: "^0.8.0", // Fetch exact version from solc-bin (default: truffle's version) + version: "0.5.17", // Fetch exact version from solc-bin (default: truffle's version) // docker: true, // Use "0.5.1" you've installed locally with docker (default: false) settings: { // See the solidity docs for advice about optimization and evmVersion optimizer: {