From fad37bbcd9b25c174ad3bd628cfd230c53af25fc Mon Sep 17 00:00:00 2001 From: David Meister Date: Mon, 21 Sep 2026 11:22:56 +0000 Subject: [PATCH] docs: state both routes the tests take into the library `TestCloneFactory` exposes only the four `ICloneableFactoryV4` entry points, so the library's internal pure and view units are unreachable through it and are called directly. Co-Authored-By: Claude Opus 5 (1M context) --- CLAUDE.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0254931..d43d207 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -27,8 +27,9 @@ SPDX headers. Nix + Foundry. Enter the shell with `nix develop`, then run rainix tasks: `rainix-sol-static` (Slither), `rainix-sol-legal` (REUSE), `rainix-sol-prelude` (deps, run first), `rainix-sol-test`, and `forge build` / `forge test` directly. -Tests exercise the library through `TestCloneFactory`, a pure-delegation -concrete, with OZ `Clones` as foreign EIP1167 oracle. +Tests call the library directly, and through `TestCloneFactory` where +`msg.sender`/`address(this)` must be real. OZ `Clones` is the foreign EIP1167 +oracle. ## Architecture