Skip to content

Commit

Permalink
sort l2 updates (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszaaa authored Feb 11, 2024
2 parents e06b4d1 + 4c81d20 commit 21e135d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pallets/rolldown/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,9 @@ impl<T: Config> Pallet<T> {
},
};
}

update.results.sort_by(|a, b| a.requestId.partial_cmp(&b.requestId).unwrap());

update
}

Expand Down

0 comments on commit 21e135d

Please sign in to comment.