From dc25a3571c15aed5bfe9917bc235c7a4d137a7c0 Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Sun, 29 Sep 2024 18:14:38 +0200 Subject: [PATCH] feat: upgrade solidity version to 0.8.27 --- .github/workflows/solidity.yml | 4 ++-- foundry.toml | 3 ++- hardhat.config.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index 7071490..74ae22f 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -50,7 +50,7 @@ jobs: with: sarif: slither.sarif slither-args: --filter-paths "lib/" --filter-paths "node_modules/" - solc-version: ${{ vars.SOL_VERSION || '0.8.24' }} + solc-version: ${{ vars.SOL_VERSION || '0.8.27' }} fail-on: none - name: Upload findings to GitHub Advanced Security Dashboard @@ -287,7 +287,7 @@ jobs: - name: Report code coverage if: github.event_name == 'pull_request' - uses: zgosalvez/github-actions-report-lcov@v4.1.15 + uses: zgosalvez/github-actions-report-lcov@v4.1.16 with: coverage-files: lcov.info github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/foundry.toml b/foundry.toml index 2ce8fa5..65737b2 100644 --- a/foundry.toml +++ b/foundry.toml @@ -22,7 +22,7 @@ libs = ['node_modules', 'lib'] test = 'test' cache_path = 'cache_forge' - solc = "0.8.24" + solc = "0.8.27" optimizer = true optimizer_runs = 10_000 gas_reports = ["*"] @@ -30,3 +30,4 @@ auto_detect_solc = false extra_output_files = [ "metadata" ] viaIR = true + diff --git a/hardhat.config.ts b/hardhat.config.ts index bd6036c..6c3c0b8 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -5,7 +5,7 @@ import type { HardhatUserConfig } from "hardhat/config"; const config: HardhatUserConfig = { solidity: { - version: "0.8.24", + version: "0.8.27", settings: { viaIR: true, optimizer: {