mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-03 11:34:57 -05:00
fix(transaction): block poststate range zip (#2808)
This commit is contained in:
@@ -807,7 +807,8 @@ where
|
||||
// iterate in reverse and get plain state.
|
||||
|
||||
// Bundle execution changeset to its particular transaction and block
|
||||
let mut block_states: BTreeMap<BlockNumber, PostState> = BTreeMap::new();
|
||||
let mut block_states =
|
||||
BTreeMap::from_iter(block_bodies.iter().map(|(num, _)| (*num, PostState::default())));
|
||||
|
||||
let mut plain_accounts_cursor = self.cursor_write::<tables::PlainAccountState>()?;
|
||||
let mut plain_storage_cursor = self.cursor_dup_write::<tables::PlainStorageState>()?;
|
||||
|
||||
Reference in New Issue
Block a user