Skip to content

Commit

Permalink
trying with wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
yashnevatia committed Dec 4, 2024
1 parent a4c6d33 commit dce6eac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 31 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/solidity-wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,17 @@ jobs:
with:
prod: "true"

# - name: Run native compile and generate wrappers
# run: make wrappers
# working-directory: ./contracts
# env:
# FOUNDRY_PROFILE: ccip

- name: Run native compile and generate wrappers
run: make wrappers
run: make wrappers-all
working-directory: ./contracts
env:
FOUNDRY_PROFILE: ccip
# env:
# FOUNDRY_PROFILE: ccip

- name: Assume role capable of dispatching action
uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # [email protected]
Expand Down
30 changes: 2 additions & 28 deletions tools/bin/setup_zksolc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ set -e

# Specify the version of zksolc you want to install
VERSION="1.5.6"
# ASSET_NAME="zksolc-linux-amd64-gnu-${VERSION}"
# ASSET_NAME="zksolc-macosx-arm64-v1.5.6"

# # Define the GitHub repository and URL for the release
# Define the GitHub repository and URL for the release
REPO="matter-labs/era-compiler-solidity"
GITHUB_URL="https://api.github.com/repos/$REPO/releases/tags/$VERSION"

# ASSET_NAME2="zksolc-linux-amd64-gnu-v${VERSION}"
# ASSET_NAME2="zksolc-macosx-arm64-v1.5.6"
# ASSET_NAME="zksolc-macosx-arm64-v${VERSION}"
ASSET_NAME="zksolc-linux-amd64-gnu-v${VERSION}"
# Fetch the release info using GitHub API and get the download URL for the asset
Expand All @@ -33,27 +29,5 @@ sudo curl -L "$ASSET_URL" -o /usr/local/bin/zksolc
echo "Giving permission to execute"
sudo chmod +x /usr/local/bin/zksolc

echo "Testing"
echo "Testing zksolc"
zksolc --version

# # Make the downloaded file executable
# chmod +x ./$ASSET_NAME

# # Move it to a directory in your PATH (e.g., ../tools/bin)
# sudo mv ./$ASSET_NAME /usr/local/bin/zksolc

# echo "zksolc has been installed successfully"

# ZKSOLC_VERSION="v1.5.6"
# ZKSOLC_URL="https://github.com/matter-labs/era-compiler-solidity/releases/download/${ZKSOLC_VERSION}/zksolc-linux-amd64-gnu-${ZKSOLC_VERSION}"

# echo "Downloading zksolc from ${ZKSOLC_URL}..."
# curl -L "${ZKSOLC_URL}" -o "zksolc"
# echo "Extracting zksolc..."
# tar -xvzf zksolc.tar.gz
# mv zksolc /usr/local/bin/zksolc

# # Clean up
# rm zksolc.tar.gz

# echo "zksolc installation complete."

0 comments on commit dce6eac

Please sign in to comment.