You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since we can persist GlobalState to sled db now, we can
(1) add a field PersistOption { dir: String, persist_every_n: usize }, if !dir.is_empty(), for every l2 block, if block_id % persist_every_n == 0, we dump the GlobalState to $dir/$block_id.db.
(2) set persist_every_n = 1, then run bash tests/global_state/test.sh and backup all the $dir/**.db
(3) rerun tests/global_state/test.sh.
(4) dump dbs in (2)(3) as txt json file, to check whether they are consistent. If not, great, we reproduced the bug. We can debug now...
thread 'main' panicked at 'l2 block generation must be deterministic!', src/bin/main.rs:132:17
The text was updated successfully, but these errors were encountered: