mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(execution): state change size based commits (#2494)
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user