Skip to content

Commit

Permalink
chore: fix wonky test (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Mar 14, 2024
1 parent 9fa302c commit 250edd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/revm/src/db/states/state.rs
Expand Up @@ -465,10 +465,11 @@ mod tests {
]));

state.merge_transitions(BundleRetention::Reverts);
let bundle_state = state.take_bundle();
let mut bundle_state = state.take_bundle();

// The new account revert should be `DeleteIt` since this was an account creation.
// The existing account revert should be reverted to its previous state.
bundle_state.reverts.sort();
assert_eq!(
bundle_state.reverts.as_ref(),
Vec::from([Vec::from([
Expand Down

0 comments on commit 250edd8

Please sign in to comment.