Skip to content

Normalize Solidity imports to public prefixes#143

Merged
eric-ships merged 1 commit into
mainfrom
will/test-import-fix
Jun 5, 2026
Merged

Normalize Solidity imports to public prefixes#143
eric-ships merged 1 commit into
mainfrom
will/test-import-fix

Conversation

@eric-ships
Copy link
Copy Markdown
Collaborator

Use base-std/ and base-std-test/ for base-std's internal Solidity imports so downstream consumers can import base-std-test helpers with the two public remappings only, instead of carrying compatibility remappings for raw src/ and test/ paths. Add matching local Foundry remappings so the same public prefixes resolve inside this repo.

Validation: forge fmt --check; forge test; raw src/test import scan.

Use base-std/ and base-std-test/ for base-std's internal Solidity imports so downstream consumers can import base-std-test helpers with the two public remappings only, instead of carrying compatibility remappings for raw src/ and test/ paths. Add matching local Foundry remappings so the same public prefixes resolve inside this repo.

Validation: forge fmt --check; forge test; raw src/test import scan.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

Interface Coverage

✅ All interface functions have test coverage.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

📊 Forge Coverage (src/lib/)

🟢 ≥99% across all metrics.

File Lines Stmts Branches Funcs
🟢 B20FactoryLib.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockActivationRegistry.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockActivationRegistryStorage.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockB20.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockB20Asset.sol 100.00% 100.00% 100.00% 100.00%
🟡 MockB20Factory.sol 98.95% 99.08% 100.00% 100.00%
🟢 MockB20Stablecoin.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockB20Storage.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockPolicyRegistry.sol 100.00% 100.00% 100.00% 100.00%
🟢 MockPolicyRegistryStorage.sol 100.00% 100.00% 100.00% 100.00%
Total 99.86% 99.88% 100.00% 100.00%

Full report: download artifact. To browse locally: make coverage (runs forge coverage + genhtml + opens the HTML report).

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

✅ Fork tests: all 602 passed

base/base is fully in sync with the base-std spec.

@eric-ships eric-ships merged commit 9db8f39 into main Jun 5, 2026
13 of 16 checks passed
@eric-ships eric-ships deleted the will/test-import-fix branch June 5, 2026 20:29
@eric-ships eric-ships requested review from 0x00101010, amiecorso, ilikesymmetry and stevieraykatz and removed request for 0x00101010 June 5, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants