Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Jul 8, 2023
1 parent 90bb239 commit 6dd7148
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/mandala/src/benchmarking/liquid_crowdloan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.

use crate::{
AccountId, GetLiquidCurrencyId, LiquidCrowdloan, LiquidCrowdloanCurrencyId, PolkadotXcm, Runtime, RuntimeOrigin,
System,
AccountId, GetLiquidCurrencyId, GetStakingCurrencyId, LiquidCrowdloan, LiquidCrowdloanCurrencyId, PolkadotXcm,
Runtime, RuntimeOrigin, System,
};

use super::utils::{set_balance, STAKING};
Expand All @@ -37,7 +37,7 @@ runtime_benchmarks! {
set_balance(STAKING, &LiquidCrowdloan::account_id(), amount);
}: _(RawOrigin::Signed(caller), amount)
verify {
System::assert_last_event(module_liquid_crowdloan::Event::Redeemed { amount }.into());
System::assert_last_event(module_liquid_crowdloan::Event::Redeemed { currency_id: GetStakingCurrencyId::get(), amount }.into());
}

transfer_from_crowdloan_vault {
Expand Down

0 comments on commit 6dd7148

Please sign in to comment.