risc0 / zeth

A "Type 0" zkEVM. Prove validity of Ethereum blocks using RISC Zero's zkVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deterministic cache files

Wollac opened this issue · comments

Currently, the files containing the cached RPC calls are not stored in a deterministic way. Especially for cached files in the repository, this leads to changed files even though the content is identical:
The FileProvider stores the contents of each HashMap as an (unsorted) list. This should instead be sorted and stored in a way that preserves backwards compatibility with existing files.