From 3652a7815007928a197f4d3b395e033dd5ea7d1e Mon Sep 17 00:00:00 2001 From: leovct Date: Fri, 26 Jan 2024 18:14:35 +0100 Subject: [PATCH 1/2] fix(ci): set solc version --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 160e0595..295f42ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,9 @@ concurrency: cancel-in-progress: true env: - GO_VERSION: "1.21" # https://go.dev/dl/ - STRINGER_VERSION: "0.15.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions + GO_VERSION: "1.21" # https://go.dev/dl/ + STRINGER_VERSION: "0.15.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions + FOUNDRY_SOLC_VERSION: "0.8.24" # https://github.com/ethereum/solidity/releases # Protoc dependencies. PROTOC_VERSION: "25.1" # https://github.com/protocolbuffers/protobuf/releases PROTOC_GEN_GO_VERSION: "1.31.0" # https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions From 3f3ae3656e922f2d4d695a329064d1e32fd04857 Mon Sep 17 00:00:00 2001 From: leovct Date: Fri, 26 Jan 2024 18:43:47 +0100 Subject: [PATCH 2/2] fix: set solc in foundry.toml --- .github/workflows/ci.yml | 1 - contracts/foundry.toml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 295f42ed..8d23054a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,6 @@ concurrency: env: GO_VERSION: "1.21" # https://go.dev/dl/ STRINGER_VERSION: "0.15.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions - FOUNDRY_SOLC_VERSION: "0.8.24" # https://github.com/ethereum/solidity/releases # Protoc dependencies. PROTOC_VERSION: "25.1" # https://github.com/protocolbuffers/protobuf/releases PROTOC_GEN_GO_VERSION: "1.31.0" # https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions diff --git a/contracts/foundry.toml b/contracts/foundry.toml index 4e0bf5f8..f43e7bf4 100644 --- a/contracts/foundry.toml +++ b/contracts/foundry.toml @@ -5,6 +5,7 @@ libs = ["lib"] remappings = [ '@openzeppelin/=lib/openzeppelin-contracts/contracts', ] +solc_version = "0.8.23" # https://github.com/ethereum/solidity/releases # Lite profile with Yul optimiser disabled. [profile.lite.optimizer_details]