From 019301549da8ff18bde7d48d8a2bef6dfbefb7a1 Mon Sep 17 00:00:00 2001 From: aniket-prajapati Date: Wed, 31 Jul 2024 10:30:06 +0530 Subject: [PATCH] updated workflwo --- build_geth_fhevm.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/build_geth_fhevm.sh b/build_geth_fhevm.sh index 2008f3f23..7953615b6 100755 --- a/build_geth_fhevm.sh +++ b/build_geth_fhevm.sh @@ -71,11 +71,22 @@ build_fhevm() { log INFO "Building FHEVM components..." git submodule update --init --recursive gitlfs - git submodule update --init --recursive fhevm-go-gitlfs log INFO "TFHE keys available in $FHEVM_GO_KEYS_DIR" - log DEBUG "Entering fhevm-go-gitlfs directory..." - cd fhevm-go-gitlfs || { log ERROR "fhevm-go-gitlfs directory not found"; exit 1; } + log DEBUG "Updating fhevm-go-gitlfs submodule..." + git submodule update --init --recursive fhevm-go-gitlfs + + log DEBUG "Fetching Git LFS objects for fhevm-go-gitlfs..." + cd fhevm-go-gitlfs + git lfs install + git lfs pull + cd .. + + log DEBUG "Copying fhevm-go-gitlfs to fhevm-go..." + cp -R fhevm-go-gitlfs fhevm-go + + log DEBUG "Entering fhevm-go directory..." + cd fhevm-go || { log ERROR "fhevm-go directory not found"; exit 1; } # log DEBUG "Checking out release/0.2.x..." # if git checkout release/0.2.x; then