0xPolygonZero / plonky2

Apache License 2.0
755 stars 278 forks source link

Interpreter GenerationInputs #1455

Closed LindaGuiga closed 8 months ago

LindaGuiga commented 8 months ago

This PR adds an initilization method to the interpreter based on GenerationInputs. Given a new state, it updates it following apply_metadata_and_tries_memops on the STARK side. It also updates the rlp and withdrawal prover inputs, as well as the MPT roots, as is done when initializing a GenerationState on the STARK side.

This should make running a variety of EVM tests easier on the interpreter side.

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud