Feat: Upgrade Prover to SP1 v5, Integrate Morph-Reth as STF, and Replace zkTrie with MPT#886
Feat: Upgrade Prover to SP1 v5, Integrate Morph-Reth as STF, and Replace zkTrie with MPT#886
Conversation
|
Important Review skippedToo many files! This PR contains 181 files, which is 31 over the limit of 150. ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (181)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
prover/bin/host/src/lib.rs
Outdated
| #[cfg(feature = "network")] | ||
| let client = ProverClient::builder() | ||
| .network_for(NetworkMode::Mainnet) | ||
| .rpc_url("https://rpc.mainnet.succinct.xyz") |
There was a problem hiding this comment.
Improved. There is indeed some overhead in constructing a ProverClient for each proof generation, so it has been moved into the BatchProver struct for reuse.
Code reviewFound 1 issue:
The new fn code_by_hash_ref(&self, hash: B256) -> Result<Bytecode, Self::Error> {
Ok(self.bytecode_by_hash.get(&hash).map(|code| (*code).clone()).unwrap())
}Commit morph/prover/crates/storage/witness-db/src/lib.rs Lines 76 to 79 in e3fa8a0 Recommended fix: Replace Additionally, morph/prover/crates/storage/rpc-db/src/basic_rpc_db.rs Lines 181 to 184 in e3fa8a0 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
A TrieDBError has been added for the return value in witness-db. |
This PR introduces the following key updates to enhance system performance and scalability: