I'm trying to learn how to use the staking pallet in a game I'm building as a way to learn substrate, linked here, and I'd like to implement staking an amount when challenging another player.
However, I'm using Frame 4.0.0-dev, and I'm unable to find enough resources to help me understand how to mock BalanceOf
for writing tests.
Could someone point me to some?
I've been looking at lockable currency, but that pallet doesn't have any tests.
Could someone help me here?