solidity-lean/scripts/check_shared_interaction_hashes.py
Dan Robinson 7d60021a13 keccak from EVMYulLean pin b08573c; alphabet imports via EvmInteraction.* modules
- evmyul pin 3c5c44a6 -> b08573c: the package now provides the pure total
  Keccak-256 sponge as the Lean body of ffi.keccak256 (@[extern]-accelerated).
  SolidCore/Solidity/Keccak.lean becomes pure re-exports (names unchanged);
  the repo-owned implementation is deleted — source semantics and EVM/Yul
  target semantics now share ONE keccak definition, so lowering seams need no
  keccak-equality hypothesis. keccakParity retained as native-vs-Lean-body
  witness (11 cases OK).
- Interaction.lean bridge imports move to EvmInteraction.Simulation.* (the
  evm-interaction package's new module paths; namespaces unchanged).
- check_shared_interaction_hashes.py repurposed: byte-identity between two
  live copies -> single-source assertion (evm-compiler stubs re-export the
  package; real sources only in evm-interaction).

Verified: lake build green (1107 jobs); keccakParity OK; AST audit
rendered_sources=182 render_failures=0; FULL REPLAY GREEN:
forge_interpreter_compare=pass status=0 cases=189 paired_cases_passed=yes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dy3P966aQiG3jen2yKuNeu
2026-07-09 14:42:24 -07:00

41 lines
2 KiB