From 367fc2cb853fdf7f0febfe24ce4d32e2355c6baa Mon Sep 17 00:00:00 2001 From: David Meister Date: Sat, 15 Aug 2026 07:39:07 +0000 Subject: [PATCH] chore: remove submodule-era residue This repo has no submodules: no `.gitmodules`, no root `lib/`, and `git ls-files --stage` reports zero gitlinks. `foundry.toml` sets `libs = ['dependencies']` and `soldeer.lock` is the live lockfile. - delete `foundry.lock`, the git-submodule lockfile, whose 6 pins all name `lib/` paths that do not exist and contradict `soldeer.lock` (forge-std 1801b054 = v1.14.0 vs soldeer 1.16.1, plus a `lib/rain.math.fixedpoint` pin with no soldeer counterpart). It made `forge build` emit 6 `Dependency '...' not found at expected path` warnings on every build. - drop the `foundry.lock` and `.gitmodules` annotation paths from `REUSE.toml`. - drop `.gitmodules`, `/foundry.lock` and `/lib` from `.soldeerignore`. - fix `.coderabbitai.yaml` -> `.coderabbit.yaml` in `.soldeerignore`; the misspelling meant a real CodeRabbit config would be published to soldeer rather than ignored. Matches rainlang.interface and rain.tofu.erc20-decimals. Closes #258 Co-Authored-By: Claude Opus 5 (1M context) --- .soldeerignore | 5 +---- REUSE.toml | 2 -- foundry.lock | 20 -------------------- 3 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 foundry.lock diff --git a/.soldeerignore b/.soldeerignore index a52b4914..bdbe04bd 100644 --- a/.soldeerignore +++ b/.soldeerignore @@ -1,11 +1,10 @@ .DS_Store -.coderabbitai.yaml +.coderabbit.yaml .envrc .gas-snapshot .git .github .gitignore -.gitmodules .pre-commit-config.yaml .prettierignore .soldeerignore @@ -19,9 +18,7 @@ CLAUDE.md /docs /flake.lock /flake.nix -/foundry.lock /foundry.toml -/lib /node_modules /out /package.json diff --git a/REUSE.toml b/REUSE.toml index aaf481c9..3aedd8e2 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -12,7 +12,6 @@ path = [ "Cargo.lock", "Cargo.toml", ".gitignore", - ".gitmodules", "package-lock.json", "package.json", "scripts/**/", @@ -27,7 +26,6 @@ path = [ "remappings.txt", "slither.config.json", "REUSE.toml", - "foundry.lock", "soldeer.lock", ] SPDX-FileCopyrightText = "Copyright (c) 2020 Rain Open Source Software Ltd" diff --git a/foundry.lock b/foundry.lock deleted file mode 100644 index 5c0234aa..00000000 --- a/foundry.lock +++ /dev/null @@ -1,20 +0,0 @@ -{ - "lib/forge-std": { - "rev": "1801b0541f4fda118a10798fd3486bb7051c5dd6" - }, - "lib/rain.datacontract": { - "rev": "3bff30782e408386f73b9353c5122e2e0ab24df2" - }, - "lib/rain.deploy": { - "rev": "ccfdb378d2ab1ed95461ecf1355682250e487e4c" - }, - "lib/rain.math.fixedpoint": { - "rev": "8308cbb6da0e231c6f3437f1861e66eff7ea2b00" - }, - "lib/rain.sol.codegen": { - "rev": "dfe95884edfde3d4faf51046dc392aa9221bb0a7" - }, - "lib/rain.string": { - "rev": "488f237cd59874e4eb91b5a4f747bd57578fec7f" - } -} \ No newline at end of file