0xMiden / 0xMiden/miden-vm

Precompile prover memory budget

Abierto
#3,749 0 comentarios 0 reacciones 1 asignado Reclamado por @Nashtare Ver en GitHub
prover
Lenguaje dominante
Rust
Estrellas
772
Forks
352
Merge medio
1 d 12 h
PR fusionados (30 d)
93

Descripción

`Prover::with_max_prover_memory_bytes` only covers the VM trace. Add a precompile memory limit to `Prover` for building and proving precompile traces.

The issue is complete when:

- `Prover` applies the limit in `prove_full` and `prove_precompile`.
- the prover checks an estimated peak before large trace allocations.
- an over-limit request returns a typed error with the estimate and limit.
- tests cover the exact limit and a request one byte over it.
- the default limit accepts the standard precompile benchmark.

Keep deferred hash and MSM input-cost limits in [#3378](https://github.com/0xMiden/miden-vm/issues/3378).

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.