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
0 votes
0 answers
7 views

Kusama 1.2 - How to associate stash accounts with host via RPC/JS/shell

this key previously worked with Kusama until the recent metadata update (with beefy key) const keys = await api.query.session.nextKeys(address.address); const keysHex = keys.toHex(); const result = ...
0 votes
1 answer
93 views

Get Network Peers and Node type

Is there an API to get the complete Peer List with what type of node it is from somewhere in the Polkadot/Kusama networks?
2 votes
1 answer
66 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 ...
0 votes
1 answer
21 views

Call: failed decoding staking.bond

I am getting the following error when I try to decode unsigned transaction rawTxId "message": "createType(Extrinsic):: createType(ExtrinsicV4):: createType(Call):: Call: failed ...
2 votes
1 answer
53 views

Error upgrading parachain on Kusama: `parachainSystem.ProhibitedByPolkadot`

As a sudo of a parachain on Kusama, i am making the first runtime upgrade. Initially, i made the upgrade as a sudo unchecked weight and setCode without checks. The transaction looked successful it ...
1 vote
1 answer
67 views

kusama upload/download bandwidth speed so low

I'm running a Kusama node with a actual network speed ranging from over 100MB/s to 500MB/s on both sides. However, I'm facing issues with slow block propagation time and low upload/download bandwidth ...
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:...
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 ...
1 vote
0 answers
65 views

My implementation wont let me batch more than 4 transfer calls

My implementation wont let me batch more than 4 transfers. Am I doing something wrong? I know the code is a bit complex because its normally not in one func but i has to be in this way. I am suprised ...
13 votes
3 answers
763 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 ...
6 votes
1 answer
79 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....
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 ...
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'...
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 ...
3 votes
1 answer
30 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 ...
8 votes
1 answer
85 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 ...
1 vote
1 answer
39 views

Where can I find the videos and materials from Polkadot Decoded 2022?

https://decoded.polkadot.network/ 2022 had a lot of great speakers to talk about many things relevant to Substrate and Polkadot builders, users, and enthusiasts. It was hosted on the hopin platform ...
4 votes
3 answers
262 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?
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?
1 vote
1 answer
28 views

Public Tor dot Onion addresses for Polkadot, Kusama and Edgeware nodes

Hello Polkadot Ecosystem! There are several public node operators, however, I was not able to find one that had support for .onion addresses. Public .onion nodes is something that has been in the ...
1 vote
0 answers
28 views

Kusama/Polkadot (v0.9.37) is having memory-leak-like pattern on GCP VMs [closed]

We are using polkadot-v0.9.37 and we are experiencing some memory-leak-like issue on the polkadot/kusama nodes. We also host polkadot/kusama nodes on other providers (for example AWS), but it did ...
0 votes
1 answer
10 views

Polkadot.js ui displays orange branding for Kusama

When connecting to my own RPC server the polkadot.js displays an orange branding. https://polkadot.js.org/apps/?rpc=wss://ibp-rpc.metaspan.io/kusama#/explorer/node It should just show the default ...
1 vote
1 answer
26 views

What is the kusama block production reward distribution mechanism?

I am writing a custom pallet for distribution of rewards to different stake holders. The idea is to distribute block production reward in the stakeholders of my system and a portion it will go to the ...
0 votes
0 answers
28 views

Our on_initialize function takes approximately 5 seconds, this breaks the parachain eventually

We need to run an on-initialize function that runs for 5 to 6 seconds. The error we run into when we do this is "Block production took too long". We have tried to increase the ...
2 votes
1 answer
35 views

How to use polkadot{.js} substrate methods in itraction with kusama's gov2

Until now, to follow the referendums through the polkadot.js api, I was using storage methods that are part of the default Substrate runtime (located here: https://polkadot.js.org/docs/substrate/...
0 votes
0 answers
17 views

Polkadot fast sync mode not fast enough [duplicate]

I tried running a parachain, which requires syncing relaychain before syncing parachain. On quick exploration I found out there is a "fast" sync mode that speeds up the chain sync process ...
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?
0 votes
0 answers
22 views

Problem in syncing with Rococo: Getting Database Block import error [duplicate]

I have been trying to connect my parachain with rococo. Initially it works fine after starting the node but after few hours, it stops syncing and gives below error 2022-12-17 15:29:54 [Relaychain] ...
0 votes
0 answers
38 views

Get block number range for selected era in polkadot.js/api [duplicate]

I want to get block number range for selected era. So, I want to get start, end block number for specific era. How can I get them using polkadot.js/api? I can know from explorer, I need to get from ...
1 vote
1 answer
201 views

Collator node starts failing to import blocks with "database" and "block has an unknown parent" errors after its been running for a while

I'm running collators for both kusama and polkadot network, and both started failing to import blocks after running for a while, these are the logs that I'm getting: 2022-12-13 22:49:39 [Relaychain] 💔...
0 votes
1 answer
57 views

Kusama parachain auction scheduling

Is Kusama parachain auction scheduling broken? Looking at Auction schedule, the current action should be 65. Auction #65 is in progress on Kusama, which started on Tue Dec 13 2022 and ends on Mon Dec ...
0 votes
1 answer
39 views

About the total mint token in polkadot and kusama

How many tokens are minted in Polkadot and Kusama in the past year? Is there any way to find out?
2 votes
1 answer
26 views

Equivocations error causing some nodes to crash (Follow up question)

We've been investigating an issue that's most likely related to this post, and this issue. But unsure if the underlying cause is the same, I'm looking for some help to confirm my understanding of this ...
0 votes
1 answer
71 views

Get Block hash from transfer in polkadot.js/api

I created kusama transfer function using polkadot.js/api. I followed https://polkadot.js.org/docs/api/examples/promise/make-transfer. I can get extrinsic hash from above. I want to get extrinsic ...
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 ...
0 votes
1 answer
172 views

The election failed. No new era is planned

I set up the private network of 8/10, everything is working fine, all the validators validate the blocks but after the an era I am facing an issue that the staking.StakingElectionFailed. The election ...
0 votes
1 answer
225 views

Block finalization stopped

I had setup the private network of 3/3 validators with 3 nodes(one node for one validator), after that I connected the fourth node to that private network and added the fourth validtor which goes in ...
1 vote
0 answers
33 views

Does setBalance always overwrite?

We are uploading balances to a parachain. And there are some errors, so we would like to overwrite all ~20k balances. Is setBalance safe enough to overwrite, or is there a cleaner way such as reaping ...
1 vote
0 answers
22 views

How did kusama and Polkadot integrated their respective ledger nano app via Polkadot ui?

Polkadot and kusama respectively have integrated their platform with ledger hardware wallet. After reading documentation I came to know that integrating a blockchain with ledger requires a nano app ...
0 votes
1 answer
62 views

How to claim tokens from crowdloan after winning a Parachain slot

We created a crowdloan campaign. We recently won the parachain slot. Now we want to know how users can claim their tokens which they contributed in crowdloan?
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-...
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 ...
1 vote
1 answer
299 views

Getting error `The bootnode you want to connect provided a different peer ID than the one you expect` while connecting with main validator

I am running 4 collator nodes V1, V2, V3, and V4. V2 and V3 look good and connected perfectly with V1. I am getting the below logs for V2 and V3. Jun 20 16:44:40 testnet-2: 2022-06-20 16:44:40 [...
0 votes
1 answer
27 views

Is it ok to use the same PotId as in the Substrate parachain template?

While configuring our parachain, in pallet_collator_selection, we used the same PotId as in the Substrate parachain template https://github.com/substrate-developer-hub/substrate-parachain-template/...
0 votes
0 answers
84 views

Getting error unable to author blocks while starting blockchain

I am building a blockchain using substrate framework and after adding the required pallets, and compiling them successfully getting a runtime error Unable to author block in slot 413737816,. ...
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?
1 vote
1 answer
43 views

Do we need to resubmit a crowdloan, if we don't win the slot?

I have opened a crowdloan to get enough funds to win a parachain slot on Kusama. I just want to know what to do if I don't get enough funds and I don't win the slot: Do I need to resubmit the ...
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 ...
3 votes
2 answers
44 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 ...
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 ...