Skip to main content

Questions tagged [staking]

Questions about Proof-of-Stake systems built on top of Substrate.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Is destroying a nomination pool not working?

From what I can tell destroying of a nomination pool isn't working correctly on Polkadot. After setting the state to destroying. Unbonding + withdrawing all member's dot. Halting nomination of all ...
polka.dom's user avatar
0 votes
0 answers
27 views

Pallet staking using assets pallet?

I'm trying to make pallet staking works with assets pallet. Lockable trait has already been implemented in a customized version of assets pallet but main issue remaining is that staking pallet issue ...
Xavier's user avatar
  • 415
0 votes
1 answer
24 views

What is the formula of calculating the era points in polkadot?

I've been delving into the era points system on Polkadot, but I'm encountering confusion regarding how the total points for validators are calculated. There are currently 297 active validators, and in ...
Arunjot Singh's user avatar
0 votes
0 answers
43 views

Polkadot.js extension detected but "no accounts has been injected" message

I am using chrome browser (ver. 122.0.6261.129) with polkadot.js extension. Been able to access my account without issues for over 2.5 years to view my daily increases from staking polkadot. For ...
user5236's user avatar
1 vote
1 answer
15 views

Is it possible to allow vesting balances to participant in staking and/or democracy

Is there any prior work on allowing vesting accounts to participate in staking/democracy pallets? To be clear, I would like to use a locked balance from the vesting pallet to vote/stake.
Drew Stone's user avatar
  • 1,194
0 votes
1 answer
37 views

Oracle pallet - Choosing Source of Stake

Staking is an essential component when designing an on-chain Oracle for a layer 1 Substrate NPOS chain. There are two competing staking designs: Create new staking/sessions modules for the Oracle. ...
RavenMan's user avatar
  • 101
0 votes
1 answer
29 views

Identifying all Kusama blocks with era payouts

I am trying to find all the blocks at which an era payout has occurred on Kusama. For that I have queried both these events, staking.erapaid and its predecessor staking.erapayout, which contain the ...
roydreamticket's user avatar
0 votes
1 answer
46 views

Staking with polkadot js api

I try to make a stake with polkadot js api. Here is my commands: const info = await api.tx.staking .bond(amount, {Controller: receiver}) .paymentInfo(sender); ...
Марина Онищенко's user avatar
0 votes
1 answer
35 views

How to stake asset instead of currency?

I would like to customize POS by staking the asset balance instead of currency balance. After switching the consensus from PoA to PoS by changing AURA to BABE, I need to change the configuration of ...
MinhK's user avatar
  • 125
0 votes
0 answers
23 views

The displayed bonded amount is lower than the bonded amount itself in the targets

I'm encountering an issue with staking. When I bond an amount of 100, the explorer displays 92 in the targets, but the account section shows the entire amount. For the example the validator present in ...
Arunjot Singh's user avatar
0 votes
1 answer
61 views

How to define the connection between pallets?

In susbtrate, how to use a component of a pallet in other pallets, how to refer them? For example, How is the Balance in pallet-balances used in pallet-staking? Or in a custom pallet template? And ...
MinhK's user avatar
  • 125
1 vote
0 answers
37 views

How to implement multi-currency staking?

I was wondering what would be the best way to achieve multi-currency staking given: It's on a solo chain Foreign assets are bridged (like Eth or BTC, pallet-asset can be used) No conversion from ...
Leouarz's user avatar
  • 353
3 votes
1 answer
89 views

What needs to be done to change the consensus from POA to POS through a runtime upgrade?

Currently my chain(solo-chain) is on production which is working on POA. Now I have integrated the staking pallet after then when i am going to upgrade that code in the old prod chain by runtime ...
Pankaj's user avatar
  • 2,021
3 votes
0 answers
45 views

Error in integration of pallet-session in chain-spec

I'm trying to add parachain-staking pallet in the solochain which is based on POA with Aura. For that I need to integrate pallet session but in the integrating of pallet-session in chain spec I'm ...
Deepak Chaudhary's user avatar
2 votes
1 answer
88 views

Integrating Parachain-Staking Pallet in Solochain: Transitioning from POA to Proof of Stake

Is it possible to integrate the parachain-staking pallet into my solochain? I want to transition my chain's consensus mechanism from POA to proof of stake using a parachain-staking pallet in my ...
Ajit's user avatar
  • 827
0 votes
1 answer
52 views

Multisig wallet staking via Polkadot-JS UI failed

I created a 2/3 multisig wallet and staked 500 DOT with it, but I received this error message. This could mean your nomination has not been applied to any validator in the active set by the election ...
robinwen's user avatar
  • 101
0 votes
1 answer
51 views

Can we use AccountId20 with babe and other pallets?

As frontier now integrate natively the AccountId20 type, I wonder if it is compatible with all other pallets like BABE, Staking, ... Is there a place where we can check it or do we know some ...
Dubs's user avatar
  • 294
2 votes
0 answers
35 views

How to use staking proxy signing the proxied stash's unbond action?

You know the controller account is deprecating, and the proxy account function is introduced. I set up a proxy with my validator, but I can't nominate(or other staking functions) if I only have the ...
Purson Chan's user avatar
1 vote
1 answer
230 views

Why is it required to have 405.1869 DOT in solo staking?

I am currently using Ledger Nano S to stake Dot but I am unable to receive rewards. I checked Polkadot's official website which says the minimum amount to receive rewards is 120Dot (My current bonded ...
Amin Memariani's user avatar
0 votes
0 answers
28 views

Staking Proxy and proxying it in turn

I see that staking controller accounts cannot be created anymore, and instead Staking Proxy accounts are introduced. Should a Staking Proxy, when staking on behalf a Stash account, post the staking ...
grg's user avatar
  • 51
5 votes
1 answer
40 views

ModuleError, BadState

Setup I'm currently integrating staking functionality into my pallet. Here is a snipped of the relevant part: let who = ensure_signed(origin.clone())?; let required_stake = T::RequiredStake::get(); ...
Mathis Wellmann's user avatar
3 votes
1 answer
69 views

Error AssetNotFound - How to send XCM Instruction::Transact?

I have a couple of questions related to sending XCM messages. More specifically, I am trying to send a message from an Astar node to the Polkadot relay chain. The XCM message contains the Instruction::...
Snowmead's user avatar
  • 625
2 votes
1 answer
75 views

Does Polkadot expose nomination pool extrinsics via XCM?

Is it possible to control a nomination pool via XCM from a Parachain and is there any related documentation for this.
Snowmead's user avatar
  • 625
1 vote
1 answer
53 views

Per session payout

I want a more extended than usual era period (it's pretty costly to change validators often), so it can take months on the single era. Still, it's not cool to bond validators without pay for such a ...
Yurtur's user avatar
  • 23
5 votes
1 answer
48 views

Consensus algorithm selection

We are looking to build private blockchain on Substrate. It should be scalable up to 300 validators. Like start with 3 and scale it to 300 later on. Does standard AURA suitable for this? Can AURA ...
Alex 's user avatar
  • 83
1 vote
1 answer
135 views

Unclaimed rewards

during the staking process, validators, nominators and nomination pool members earn rewards, but they are not assigned automatically. Participants have to trigger payouts to get it. Is there a way to ...
CryptoScientist's user avatar
2 votes
1 answer
113 views

Don’t receive rewards even I have rebaged and movedup my account

I have way more than the minimum staking limit on Polkadot. But I suddenly stopped reviewing rewards a few months ago. So I added some mode $Dots to my account and went through this process: 1- Bond ...
Amin Memariani's user avatar
2 votes
1 answer
71 views

Calculate total staked & rewarded for validation per era/block

Is there an elegant way to get the total amount staked & rewarded for each era/block? Right now I get a list of staking.Bonded data from Subscan: { "code": 0, "message": &...
Begley Brothers Inc's user avatar
0 votes
1 answer
49 views

Liquid Staking Unclaimed Reward via Polkadot.js

we would like to know if there is any solution to get the amount of the unclaimed rewards for nominationPool via Polkadot.js extrinsics. Please help. Thanks!
Mars Captain's user avatar
1 vote
1 answer
243 views

Why unbonding period of polkdot is 28 era(28 days) and why not 27 eras or some other number?

I`m curious about whether 28 era is a particular number, why not 26 or 27 or some else?
Michael.Andromeda's user avatar
2 votes
1 answer
45 views

Is there a way to determine a Polkadot nominator's stake amount?

For example, through Polkadot.js API? Thank you in advance.
grg's user avatar
  • 51
1 vote
1 answer
59 views

Is a "fast_unstake" call (eg. in Polkadot.js) equivalent to a "chill" followed to "unbond" (for the full stake in the stash)?

I want to unstake the sum on a stash account. The classic way is to chill the account first, then to unbond the sum (and possibly to call "withdrawUnbonded" before "unbond", to ...
grg's user avatar
  • 51
1 vote
1 answer
57 views

Number of staked tokens

I'm thinking which events/calls (or whatever) should I take into account to get a number of staked in the protocol? I did this exercise for Reef protocol (but this should be similar for all Substrate ...
CryptoScientist's user avatar
2 votes
1 answer
70 views

How do withdraw or transfer tokens from the custom predefined accounts in a private network?

I've created a custom network from node-template with more pallets (staking, babe,...) I've generated a custom chain_specs.json following this tutorial chain_specs.json { ... "genesis"...
Hoang Viet Nguyen's user avatar
0 votes
1 answer
59 views

Fixed Validator Rewards in an NPoS Substrate chain

Is it possible to have fixed validator rewards on each epoch in a NPoS consensus based substrate chain. This suggests that the rewards are based on inflation and stake rate, and I've not seen any ...
Discardo's user avatar
  • 436
0 votes
1 answer
28 views

Staking & slashing between Relay Chains

How do we stake token TA (minted on one relay chain, say RA) on another relay chain, say RB, such that RB can slash TA?
Begley Brothers Inc's user avatar
0 votes
1 answer
31 views

How to regenerate the voterlist

Since I have an issue with the voterlist in a solo chain, what would be the correct way to trigger unsafe_regenerate from the bagslist pallet instance in the staking pallet ? https://paritytech.github....
Leouarz's user avatar
  • 353
0 votes
1 answer
44 views

No new era planned after changing validator count

I have submitted a proposal for setting the validator count to 3 which was earlier 5 through custom spec. My proposal got approved . The validator count decreased to 3. So now 2 nodes should be ...
Ipsa Gupta's user avatar
1 vote
1 answer
193 views

Is it possible to start a substrate BABE blockchain with no Grandpa authorities and BABE validators?

I'm trying to implement a PoS network on substrate using substrate provided pallets - pallet_session, pallet_staking, pallet_babe, etc. The current Runtime and chain spec implementation is similar to ...
Kofi's user avatar
  • 143
2 votes
1 answer
81 views

Nomination Pool Question

We would like to know What parameter should we pass in as “extra” for bondExtra(extra)? And what does it mean for the type “PalletNominationPoolsBondExtra” Thank you, the Starfish team
Mars Captain's user avatar
1 vote
1 answer
49 views

Polkadot-JS wallet staking automation

We are trying to achieve staking automation to nominationPool. Is there any solution to get the number of bonded & unbound (unlocked) funds using the Polakdot-JS API? We would like to fetch the ...
Mars Captain's user avatar
1 vote
0 answers
41 views

tokens stuck in unbonding state after unbonding period can't withdraw funds

"Withdraw unbonded funds" button remains disabled, blocks goes to negative number
zain's user avatar
  • 11
2 votes
1 answer
100 views

Help for Staking Pallet! Preventing oversubscription on validator nodes

Does anyone know the difference between maxNominatorsCount and maxNominatorRewardedPerValidator in Staking pallet? Which one is responsible for causing oversubscription on validator nodes?
Josh's user avatar
  • 425
0 votes
0 answers
83 views

build NPOS EVM commpatible chain

What's the best project setup to build an NPoS and EVM Compatible chain at this moment? Which version/branch of polkadot release to use? such as polkadot-v0.9.22 or polkadot-v0.9.18? Use ORML or ...
Muhammad Talha Dar's user avatar
1 vote
2 answers
218 views

Substrate change node template from PoA to PoS

Is there any documentation on how to change Substrate from PoA to PoS?
Mohamad Al Zohbie's user avatar
2 votes
1 answer
33 views

Failure of election for next session

Just a clarification, suppose that the pallet_session::rotate_session is not able to retrieve the next validation set due to an election failure inside the pallet_staking::new_session function. Is ...
mr_bovo's user avatar
  • 171
2 votes
0 answers
160 views

When a vested transfer is sent to an account with vested and staked funds, the rewards become transferable. Is this expected?

Here is the scenario: You get X DOT in vested transfer (with schedule A) and you stake them and compound the rewards (transferable = 0). After some time, you have X + Y staked and you get another Z ...
michalis's user avatar
  • 101
1 vote
1 answer
101 views

What is the difference between minimum nominator bonding amount and minimum active bond?

In the Polkadot Staking Dashboard it says: But then under Nominate it specifies the minimum active bond as 171.832 DOTs: What is the difference between the 10 DOT minimum and the minimum active bond?...
Bruno's user avatar
  • 8,365
0 votes
2 answers
87 views

What is the `numSlashingSpans` meaning at `staking::withdrawUnbonded`? [duplicate]

What is the numSlashingSpans meaning at staking::withdrawUnbonded?
Rose's user avatar
  • 305
0 votes
1 answer
28 views

Why two unbond transactions is becoming an unbonding transaction?

I send two unbond transactions, but the explore is showing that is an unbonding transaction? https://westend.subscan.io/account/5Crhv9SAQsvtnMDNQZekEk9oQEcSjWepdguCA3NP9VKddkr4?tab=unbonding
Rose's user avatar
  • 305