feat(execution): state change size based commits (#2494)

This commit is contained in:
Roman Krasiuk
2023-05-05 19:57:16 +03:00
committed by GitHub
parent a00ba2ad7b
commit 09f1a5b640
16 changed files with 479 additions and 180 deletions

View File

@ -800,8 +800,8 @@ mod tests {
// Clone and sort to make the test deterministic
assert_eq!(
post_state.account_changes(),
&BTreeMap::from([(
post_state.account_changes().inner,
BTreeMap::from([(
block.number,
BTreeMap::from([
// New account
@ -815,8 +815,8 @@ mod tests {
"Account changeset did not match"
);
assert_eq!(
post_state.storage_changes(),
&BTreeMap::from([(
post_state.storage_changes().inner,
BTreeMap::from([(
block.number,
BTreeMap::from([(
account1,