Questions tagged [kusama]

Kusama is a scalable network of specialized blockchains built using Substrate and nearly the same codebase as Polkadot. The network is an experimental development environment for teams who want to move fast and innovate on Kusama, or prepare for deployment on Polkadot.

Filter by
Sorted by
Tagged with
17 votes
4 answers
238 views

What is the best tutorial to convert a substrate-based standalone chain to a parachain?

What is the best tutorial to convert a substrate-based standalone chain to a parachain?
Songhua Hu's user avatar
13 votes
3 answers
765 views

How do I become a Substrate Developer? [closed]

I would like to become a Substrate Blockchain Developer. What is the recommended path? I have 4 months of Rust programming experience and 3 years of Python programming experience. I am just starting ...
Udit's user avatar
  • 155
10 votes
2 answers
69 views

Why stakers tend to stake more on DOT than KSM? [closed]

right now there is no oversubscribed validator on Kusama but a lot of validators on Polkadot are already oversubscribed, why stakers do not stake Kusama instead and insist nominating oversubscribes?
Kami's user avatar
  • 537
10 votes
1 answer
107 views

Why only top 256 nominators are rewarded for an oversubscribed validator on Polkadot?

According to the Wiki article - https://wiki.polkadot.network/docs/learn-nominator#oversubscribed-validators only the top 256 nominators of an oversubscribed validator receive rewards. It also ...
DrW3RK's user avatar
  • 956
8 votes
1 answer
96 views

Why is the Rococo `maxCodeSize` too small to do adequate incremental runtime upgrades? [closed]

If we want to connect a parachain to Rococo's 'rococo-local' relay chain we follow this Cumulus tutorial using polkadot-launch. Part of the pre-launch steps mentioned here is to minimize your runtime ...
Luke Schoen's user avatar
  • 2,292
8 votes
1 answer
86 views

What are the best practices for keeping chain specifications for Devnet, Testnet, and Mainnet environments?

can anybody help me to understand what questions I should address before choosing the approach for keeping the runtime configuration for Devnet/Testnet/Mainnet environments in a substrate-based ...
Yahor Tsaryk's user avatar
7 votes
2 answers
159 views

What is Gossamer and how does it compare to Substrate?

Gossamer is a Go-lang implementation of the Polkadot host. What does this mean, and how does this compare to Substrate? Could Gossamer be the Go-variant of Substrate for developers exploring ...
q9f's user avatar
  • 307
6 votes
3 answers
218 views

How do I check what metadata version a chain is running?

I'm quite new at this, but I'm having trouble understanding the "metadata version". My confusion stems from the fact that I know that Polkadot/Kusama has upgraded to v14 a while back, but I ...
Werner S's user avatar
  • 629
6 votes
3 answers
100 views

Teach me history: Kusama, Society and huge payouts

I guess this is not quite programming related, but does fit into the general "Substrate ecosystem" discussions. I broad terms, I believe I know what the Kusama society does - it forms a ...
RosaryBeads's user avatar
6 votes
1 answer
189 views

How can a project prolong a parachain slot lease in Kusama?

I believe, some of the Kusama based projects have done that already. What exactly did they do and what are the options if a project wants to prolong or renew the parachain slot?
Peter Streelman's user avatar
6 votes
2 answers
70 views

Does the auction happen automatically during Crowd Loan?

During an auction crowdloan for propsective parachain, does the auction run automatically? Or do we need to manually make a bid? If it is manual then why doesn’t everyone go all in at the beginning of ...
Decentration's user avatar
  • 1,356
6 votes
1 answer
75 views

Democracy rework in Substrate

Am I correct in understanding that the governance portion of Polkadot/Kusama/Substrate is undergoing a small revolution in terms of code? Based on what I've seen/heard: Democracy is undergoing a re-...
Barto's user avatar
  • 584
6 votes
1 answer
67 views

Substrate connect & JS API

This question came to the forefront after reading the question about the connect extension and the usage thereof on live networks. From the comments it is apparent that I can use the JS API to connect ...
Barto's user avatar
  • 584
6 votes
1 answer
79 views

What criteria do blockchains consider when deciding on Existential Deposit?

At the time of asking this question, the ED on Polkadot is 1 DOT and Kusama is 0.0000333333 KSM. Polkadot, and most Substrate-based chains, use an existential deposit (ED) to prevent dust accounts ...
DrW3RK's user avatar
  • 956
6 votes
1 answer
80 views

types bundle for kusama

While fetching blocks from kusama, I get the following message in the block range [1, 461692]: Unable to map u16 to a lookup index I suppose this has to do with the types being used in the old blocks....
Naveen's user avatar
  • 273
6 votes
2 answers
151 views

How can I get my parachain to produce blocks? (sanity checklist)

On launch of a parachain it can be a challenge to debug why a parachain cannot produce blocks. List answers as to what to look for and sanity checks for debugging a parachain that cannot produce ...
Decentration's user avatar
  • 1,356
6 votes
2 answers
46 views

What's a great way to see what parachain auctions are happening right now?

What's a great way to see what parachain auctions are happening at the moment for kusama and polkadot?
Squirrel's user avatar
  • 3,759
6 votes
1 answer
54 views

Is it clear what is behind the block time slow down we're seeing in Kusama Parachains, and how close is it to being solved?

We've seen a significant slow down of block time on Kusama. It seems that this may be related to the deployment od client v0.9.16. It is clear what is behind the slow down? If so, how close are we to ...
Matt Moroz's user avatar
5 votes
2 answers
59 views

What is required to integrate a Parachain into Kusama?

I just integrated our parachain into Rococo. Our testing is completed now we are ready to integrate into Kusama. I just want to understand what is the process for Kusama integration. Because Rococo ...
Ayush Mishra's user avatar
5 votes
2 answers
128 views

Speed up kusama-local onboarding

We are using rococo-local in our CI/CD but we would like to move to kusama-local because we need to test some xTokens pallet ( upwards / downards transfers ) functionalities with Kusama. We are using ...
Gonzalo Cerro's user avatar
5 votes
1 answer
79 views

How can I fetch the bagsList?

I need to find my account's rank in the semi sorted bagsList hence I look for an API to do fetch that. why is it SEMIsorted that then needs to a rebag call that cost a fee? why it is not sorted at ...
Kami's user avatar
  • 537
5 votes
1 answer
100 views

How to compute the starting and ending of a lease period?

For a given lease period, how can we know when the lease period starts and ends (as date time)?
Cromm's user avatar
  • 321
5 votes
0 answers
153 views

Parachain nodes become idle

The following nodes are Subsocial parachain nodes. We use polkadot-v0.9.16 as our dependencies version. Gonna upgrade soon, but we need to solve the collators issues before. Occasionally some of the ...
F3Joule's user avatar
  • 63
4 votes
3 answers
263 views

How do i find the address of the treasury?

I have implemented pallet_treasury just like Kusama, how do i find the resulting address?
Decentration's user avatar
  • 1,356
4 votes
2 answers
87 views

failed decode in Kusama

I get the following error while trying to fetch block #1375921 on Kusama chain: RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: createType(SignedBlock):: Struct: failed on block: {"header&...
Naveen's user avatar
  • 273
4 votes
1 answer
56 views

How can I transfer ownership of Parachain?

Let's say that team A has successfully won a parachain slot on a relay chain, and they did so with an account hold by a team member (not a multisig). After some time, this team member decides to leave,...
Santiago Balaguer's user avatar
3 votes
1 answer
107 views

api.rpc.chain.subscribeFinalizedHeads missing blocks

I'm currently building a listener for KSM blocks. I used the api.rpc.chain.subscribeFinalizedHeads method with the RPC node wss://kusama-rpc.polkadot.io. As a simple test, I had the callback simply ...
cooper jones's user avatar
3 votes
2 answers
91 views

How to decide lease period for crowdloan compaign?

I was trying to add a crowdloan campaign for Kusama auction. I went through all these videos https://www.youtube.com/playlist?list=PL5iFq6rVsyFa1WyBzKOSuntzTrxma-vba. I am not able to decide: What ...
Ayush Mishra's user avatar
3 votes
2 answers
62 views

Why does deregistering a parathread fail while a crowdloan is open?

We registered a parathread to start crowdloan on kusama. The crowdloan just ended recently and we failed to get a slot. So I just used the same account to deregister, but it always fails with "...
tinydjp's user avatar
  • 31
3 votes
1 answer
94 views

Historic balances on Kusama

I'm having trouble retrieving the historic balances on Kusama. On Polkadot the exact same code works, so I'm not sure where the issue lies. /* Kusama address, api init above */ const query_addr = &...
RosaryBeads's user avatar
3 votes
1 answer
31 views

Get extrinsic fee using Polkadot.js/api

I want to get extrinsic fee using polkadot.js/api. I am checking kusama chain. https://kusama.subscan.io/extrinsic/17981827-3 I need to get 0.00053835621 fee from above extrinsic. Which api can I use ...
Heindrick's user avatar
  • 183
3 votes
1 answer
156 views

How to migrate from Kusama to Polkadot?

I want to migrate my production parachain from Kusama or Polkadot. How can I achieve this?
sea212's user avatar
  • 539
3 votes
1 answer
50 views

How do i verify total token mint and total token reserved are the same after a transfer between kusama parachains?

Scenario: Transfer token A from parachain_1 to parachain_2 I can verify the amount of token A issued on parachain_2 by looking at token A's total issuance on parachain_2 but how can i find the total ...
Sam G's user avatar
  • 31
3 votes
1 answer
85 views

List IP addresses of all validators

Is it possible to determine all of the IP addresses of validators on the network? I imagine it is necessary to be able to, but is there a direct call that can be made to a running validator node? Edit:...
CrackerJack9's user avatar
3 votes
1 answer
73 views

RPC deployment Guideline

I have a question in regard to RPC node for Polkadot or Substrate. RPC node configuration - I don't see too many information about this. Is there public information on how to setup a RPC, if there isn'...
stken99's user avatar
  • 31
3 votes
1 answer
323 views

Cannot sign with a locked key pair Error

I create my signer wallet as follows: const seed = bip39.mnemonicToSeedSync(WALLET_MNEMONIC, WALLET_PASSWORD); const privateKeyBuffer = bip32 .fromSeed(seed) .derivePath(`m/44'/434'/0'/0/0`)....
kamaci's user avatar
  • 161
3 votes
3 answers
113 views

Different representation of the same address between polkadot-js and an explorer

I am trying to create an address for Kusama. Here is my code: const seed = bip39.mnemonicToSeedSync(WALLET_MNEMONIC, WALLET_PASSWORD); const privateKeyBuffer = bip32 .fromSeed(seed) ....
kamaci's user avatar
  • 161
3 votes
1 answer
85 views

Is Kusama still running on 0.9.17?

Rococo is running on 0.9.18 but from Polkadot js UI, it looks like Kusama is still running on 0.9.17. I am preparing for Kusama deployment. Can someone please point me to the right JSON file for ...
Ayush Mishra's user avatar
3 votes
2 answers
45 views

Can we use same WASM and State files for registering parathread on Kusama, which we used for Rococo?

We generated WASM and State files to submit on Rococo. It went fine and we get successfully registered as parachain on Rococo. Can we use the same WASM and State files for registering parathread on ...
Ayush Mishra's user avatar
3 votes
1 answer
17 views

Where is the implementation of `MinRankOfClass::convert`?

In substrate ranked-collective pallet, we can see the function call. let min_rank = T::MinRankOfClass::convert(class); Check the code here. In the polkadot repo, I can only find the configuration for ...
Leo's user avatar
  • 67
3 votes
1 answer
81 views

Unable to deregister paraId on Kusama

We have a paraID locked after a completed Crowdloan, the auction has concluded in a no-winning state, and the parathread is still owned by the account manager. Any explanation as to why the deposit is ...
Mo Elshami's user avatar
2 votes
1 answer
51 views

What is the relay-chain name for Kusama for chain-spec?

Working on final touches for chain-spec to create a parathread on kusama. What is the relay-chain name for kusama? kusama or kusama-native?
Decentration's user avatar
  • 1,356
2 votes
1 answer
70 views

How to get caller and block number using Polkadot/Kusama Runtime modules and SubSquid

I'm trying to make my very first indexer. I want to pull the caller (initiator's address) of a runtime system.remark, as well as the block number. What is the best way to do this via hooking into the ...
rarara's user avatar
  • 141
2 votes
1 answer
41 views

Constant `MaxNominations` is removed from the Kusama runtime starting from 9170

I just noticed that staking.MaxNominations constant is removed from Kusama's runtime metadata starting from 9170. However, I did not find any proper replacement neither in constants nor in storage. ...
Valentun's user avatar
  • 220
2 votes
1 answer
67 views

Update parathread WASMs during auction

If a parathread is part of an auction but is not yet a parachain, would it be possible to update its genesis-state and genesis-wasm by deregistering it and re-registering with the updated files? This ...
shibshib's user avatar
  • 127
2 votes
1 answer
61 views

Is InstantAllowed true required to fastTrack referendum?

I am trying to fast track a referendum but the runtime has InstantAllowed set to false. When i try to execute the extrinsic I get a democracy.InstantNotAllowed error. Also, the votingPeriod and Delay ...
Decentration's user avatar
  • 1,356
2 votes
1 answer
58 views

How can a recoverable account get notified when someone is initiated a recovery for it?

One of the interesting features of (social) account recovery in Kusama is that "If some one tries to initiate recovery for your recoverable account, you can close the process and kind of punish ...
Kami's user avatar
  • 537
2 votes
1 answer
108 views

Is it necessary to execute `collator-selection>> set_invulnerables` to make collator eligible to produce blocks?

Our parachain is live now on Kusama. Now some collators want to join the network and produce blocks. However, these collators are not part of chain_spec and invulnerable list. To add any extra ...
Ayush Mishra's user avatar
2 votes
1 answer
225 views

How to verify `runtime-upgrade` using `try-runtime

I am trying to verify a simple runtime-upgrade using try-runtime. I followed https://docs.substrate.io/reference/how-to-guides/tools/use-try-runtime/ and https://docs.substrate.io/reference/command-...
Ayush Mishra's user avatar
2 votes
2 answers
59 views

api.derive.crowdloan.contributions: Expected hex value to convert, found '0x'

Context: I'm trying to fetch datas from an ended crowdloan. The crowdloan is on kusama, for parachain id 2113. I first connect: async function connect() { let endpoint = config.endpoint; ...
Nathan's user avatar
  • 464