feat: us prebuilt nimble to avoid koch

This commit is contained in:
darshankabariya 2026-04-29 03:22:02 +05:30
parent b92a0ef262
commit a9f241e032
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22
2 changed files with 8 additions and 4 deletions

View File

@ -75,10 +75,16 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Nimble ${{ env.NIMBLE_VERSION }}
# Use the prebuilt Windows binary instead of `nimble install nimble@...`,
# which triggers a koch self-bootstrap that races Windows Defender on
# bin\nim.exe and fails with "Access is denied".
run: |
export PATH="$GITHUB_WORKSPACE/.nim_runtime/bin:$PATH"
cd /tmp && nimble install "nimble@${{ env.NIMBLE_VERSION }}" -y
mkdir -p "$HOME/.nimble/bin"
curl -fsSL -o /tmp/nimble.zip \
"https://github.com/nim-lang/nimble/releases/download/v${{ env.NIMBLE_VERSION }}/nimble-windows_x64.zip"
unzip -o /tmp/nimble.zip -d "$HOME/.nimble/bin"
echo "$HOME/.nimble/bin" >> $GITHUB_PATH
"$HOME/.nimble/bin/nimble.exe" --version
- name: Patch nimble.lock for Windows nim checksum
# nimble.exe uses Windows Git (core.autocrlf=true by default), which converts LF→CRLF

View File

@ -7,8 +7,6 @@ import ../waku_keystore
# Acceptable roots for merkle root validation of incoming messages
const AcceptableRootWindowSize* = 50
const DummyConstant* = 50
# RLN membership key and index files path
const RlnCredentialsFilename* = "rlnCredentials.txt"