Skip to content

Revert: add EIP-8130 ITransactionContext and INonceManager interfaces (#148)#156

Merged
chunter-cb merged 1 commit into
mainfrom
hh/revert-eip-8130-interfaces
Jun 10, 2026
Merged

Revert: add EIP-8130 ITransactionContext and INonceManager interfaces (#148)#156
chunter-cb merged 1 commit into
mainfrom
hh/revert-eip-8130-interfaces

Conversation

@chunter-cb

Copy link
Copy Markdown
Contributor

Summary

Reverts #148 (squash commit 9031f26), which added the EIP-8130 ITransactionContext and INonceManager Solidity interfaces and wired them into StdPrecompiles.

Opening as a draft per request to revert that change while the EIP-8130 precompile work is still in flight.

This removes:

  • src/interfaces/ITransactionContext.sol
  • src/interfaces/INonceManager.sol
  • the corresponding constants/handles in src/StdPrecompiles.sol

Test plan

  • forge build (clean; only a pre-existing unrelated lint warning)
  • forge fmt --check
  • Fork tests / interface coverage

@github-actions

Copy link
Copy Markdown

Interface Coverage

✅ All interface functions have test coverage.

@github-actions

Copy link
Copy Markdown

📊 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.96% 99.10% 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).

@chunter-cb chunter-cb marked this pull request as ready for review June 10, 2026 18:03
@chunter-cb chunter-cb merged commit 2b1e9b6 into main Jun 10, 2026
10 checks passed
@chunter-cb chunter-cb deleted the hh/revert-eip-8130-interfaces branch June 10, 2026 18:03
@github-actions

Copy link
Copy Markdown

✅ Fork tests: all 610 passed

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

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.

1 participant