I read the answer of Shawn about locked and reserved balances. What is the difference between Free Balance, Reserved Balance, Locked Balance, Vesting Balance, etc...?
He pointed out, that locked funds (
WithdrawReasons::TRANSFER) can still be reserved.
So if an account has a lock for 100 units with WithdrawReasons::Transfer, it cannot make a transfer which brings its free balance lower than 100 units. However, this account will be able to perform another operation like reserve taking its free balance below 100 units.
I tried this, but
pallet_balances returns the
LiquidityRestrictions error when I try to reserve locked funds.
Shouldn't be a reserve allowed while having it locked at the same time or is it correct as it is?
I mean the
free_balance after a lock is still untouched. This could indicate that a
reserve can happen.