This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
dev: impl get_state_updates
using re_execute_transactions
#1594
Labels
enhancement
New feature or request
What is the problem?
State updates used to be stored directly onto the disk for each block.
They are not anymore since #1580, meaning the RPC won't work anymore.
What to do?
Replace the current implementation with a call to
re_execute_transactions
adding the option to have theStateDiff
.Execute all the tx on the same CachedState, and at the end, return the
StateDiff
Remove
state_diff
andget_state_diff
andcairo_job
andupdate_cairo_job
fromcrates/client/db/src/da_db.rs
. I think we should keep thelast_proved_block
logic for now.The text was updated successfully, but these errors were encountered: