From e3b9260706ad2bcc379f42197d2d0a2a3b93d347 Mon Sep 17 00:00:00 2001 From: georgehao Date: Wed, 13 Dec 2023 11:51:21 +0800 Subject: [PATCH] feat: upgrade 1.19 to 1.20 --- README.md | 2 +- bridge-history-api/go.mod | 2 +- common/go.mod | 2 +- coordinator/go.mod | 2 +- database/go.mod | 2 +- go.work | 2 +- prover/go.mod | 2 +- rollup/go.mod | 2 +- tests/integration-test/go.mod | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ffb1c30de8..b5ddaed2c2 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ We welcome community contributions to this repository. Before you submit any issues or PRs, please read the [Code of Conduct](CODE_OF_CONDUCT.md) and the [Contribution Guideline](CONTRIBUTING.md). ## Prerequisites -+ Go 1.19 ++ Go 1.20 + Rust (for version, see [rust-toolchain](./common/libzkp/impl/rust-toolchain)) + Hardhat / Foundry + Docker diff --git a/bridge-history-api/go.mod b/bridge-history-api/go.mod index 2350c1b01e..f69e593da6 100644 --- a/bridge-history-api/go.mod +++ b/bridge-history-api/go.mod @@ -1,6 +1,6 @@ module bridge-history-api -go 1.19 +go 1.20 require ( github.com/bits-and-blooms/bitset v1.12.0 diff --git a/common/go.mod b/common/go.mod index 41547a52bf..d542ed9f8b 100644 --- a/common/go.mod +++ b/common/go.mod @@ -1,6 +1,6 @@ module scroll-tech/common -go 1.19 +go 1.20 require ( github.com/bits-and-blooms/bitset v1.12.0 diff --git a/coordinator/go.mod b/coordinator/go.mod index 31f9684452..410592f739 100644 --- a/coordinator/go.mod +++ b/coordinator/go.mod @@ -1,6 +1,6 @@ module scroll-tech/coordinator -go 1.19 +go 1.20 require ( github.com/appleboy/gin-jwt/v2 v2.9.1 diff --git a/database/go.mod b/database/go.mod index 9238bbfc88..85644f1a69 100644 --- a/database/go.mod +++ b/database/go.mod @@ -1,6 +1,6 @@ module scroll-tech/database -go 1.19 +go 1.20 require ( github.com/jmoiron/sqlx v1.3.5 diff --git a/go.work b/go.work index 564923fca0..66ea27a1d3 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.19 +go 1.20 use ( ./bridge-history-api diff --git a/prover/go.mod b/prover/go.mod index d055549045..24ba85b941 100644 --- a/prover/go.mod +++ b/prover/go.mod @@ -1,6 +1,6 @@ module scroll-tech/prover -go 1.19 +go 1.20 require ( github.com/go-resty/resty/v2 v2.7.0 diff --git a/rollup/go.mod b/rollup/go.mod index 4ea77525d1..9ba3bca1ee 100644 --- a/rollup/go.mod +++ b/rollup/go.mod @@ -1,6 +1,6 @@ module scroll-tech/rollup -go 1.19 +go 1.20 require ( github.com/agiledragon/gomonkey/v2 v2.9.0 diff --git a/tests/integration-test/go.mod b/tests/integration-test/go.mod index 2c2b675311..e6d48bf5e7 100644 --- a/tests/integration-test/go.mod +++ b/tests/integration-test/go.mod @@ -1,6 +1,6 @@ module scroll-tech/integration-test -go 1.19 +go 1.20 require ( github.com/scroll-tech/go-ethereum v1.10.14-0.20231130005111-38a3a9c9198c