Skip to content

Which hashes are heading for a precompile, and is leanVM-b the path? #268

Description

@aryaethn

Following the pivot away from Poseidon for L1, I have been trying to work out from public material which byte-oriented hash leanVM is heading toward, and I could not.

What I can see from the repos:

  • leanVM exposes POSEIDON, DOT_PRODUCT and MULTILINEAR_EVAL. No SHA or BLAKE instruction.
  • leanVM-b is a 192-bit binary field on WHIR/Ligerito and already carries BLAKE2S, benchmarked at 434,176 compressions/s.

Two questions:

  1. Which hash or hashes are expected to become instructions in leanVM?
  2. Is leanVM-b the intended path, or an experiment running alongside leanVM? Byte-oriented hashes are cheap in a binary field and expensive over Koala-Bear, so from the outside these look like the same question, but I would rather ask than assume.

Happy to help with implementation or spec work on whichever hashes end up in scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions