Skip to content

Commit

Permalink
Fix inflation rewards bench
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk committed Dec 31, 2024
1 parent b0f366f commit 9785935
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pallets/inflation-rewards/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ mod mock;
#[cfg(test)]
mod tests;

use tp_traits::AuthorNotingInfo;
#[cfg(any(test, feature = "runtime-benchmarks"))]
use tp_traits::BlockNumber;
use {
dp_core::ParaId,
frame_support::{
Expand All @@ -45,7 +46,8 @@ use {
Perbill,
},
tp_traits::{
AuthorNotingHook, DistributeRewards, GetCurrentContainerChains, MaybeSelfChainBlockAuthor,
AuthorNotingHook, AuthorNotingInfo, DistributeRewards, GetCurrentContainerChains,
MaybeSelfChainBlockAuthor,
},
};

Expand Down

0 comments on commit 9785935

Please sign in to comment.