-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to bond extra #6984
Comments
It is this line failed polkadot-sdk/substrate/frame/staking/src/pallet/impls.rs Lines 167 to 169 in 88d900a
Relevant state at block 23965893
So it failed because |
The same logic is implemented when calling diff --git a/substrate/frame/staking/src/asset.rs b/substrate/frame/staking/src/asset.rs
index 23368b1f8fc..b939987ae72 100644
--- a/substrate/frame/staking/src/asset.rs
+++ b/substrate/frame/staking/src/asset.rs
@@ -41,7 +41,7 @@ pub fn total_balance<T: Config>(who: &T::AccountId) -> BalanceOf<T> {
///
/// This includes balance free to stake along with any balance that is already staked.
pub fn stakeable_balance<T: Config>(who: &T::AccountId) -> BalanceOf<T> {
- T::Currency::free_balance(who)
+ T::Currency::total_balance(who)
}
/// Balance of `who` that is currently at stake. |
Address: 14DsLzVyTUTDMm2eP3czwPbH53KgqnQRp3CJJZS9GR7yxGDP
This tx failed: https://polkadot.subscan.io/extrinsic/23965894-2
It is trying to bond extra 1 dot and I have 30+ transferable DOT and the bond failed
And I am able to transfer 1 DOT out of this account: https://polkadot.subscan.io/extrinsic/23966216-2
The text was updated successfully, but these errors were encountered: