Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add some doc
  • Loading branch information
kianenigma committed Sep 12, 2022
commit bb1a7521dfd7a8f47e62149e946be87b00378ac7
1 change: 1 addition & 0 deletions frame/nomination-pools/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5245,6 +5245,7 @@ mod fuzz_test {
});
System::reset_events();

// trigger an era change, and check the status of the reward agent.
if iteration % ERA == 0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some smol doc please.

CurrentEra::mutate(|c| *c += 1);
BondedPools::<T>::iter().for_each(|(id, _)| {
Expand Down