Skip to content

Commit

Permalink
Reduce golang version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
rzmahmood committed Dec 25, 2024
1 parent 3b74e98 commit 4744ab2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ By default, this will start a sync from genesis without bootstrapping from a sna
## Coming Soon
- Syncing from a snapshot
- State Sync (if possible)
- Dockerize/k8 Cloud deployment
- Make Cloud deployment resilient to binary crashes
- Security improvements

## FAQ / Common Issues
- Downloading snapshot is too slow
Expand Down
4 changes: 2 additions & 2 deletions build-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ fi

go version

# Check for version is greater than 1.23
MIN_GO_VERSION="1.23"
# Check for version is greater than 1.22
MIN_GO_VERSION="1.22"
GO_VERSION=$(go version | awk '{print $3}' | tr -d "go")
if [[ $(echo "$MIN_GO_VERSION $GO_VERSION" | tr " " "\n" | sort -V | head -n 1) != "$MIN_GO_VERSION" ]]; then
echo "Error: Go version $GO_VERSION is installed, but version $MIN_GO_VERSION or higher is required."
Expand Down

0 comments on commit 4744ab2

Please sign in to comment.