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
3 votes
2 answers
65 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
1 vote
0 answers
59 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 ...
Jozzy's user avatar
  • 33
1 vote
1 answer
62 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 ...
jay p's user avatar
  • 61
3 votes
1 answer
16 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
26 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
8 votes
1 answer
72 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
3 votes
1 answer
151 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
  • 529
1 vote
0 answers
25 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 ...
YujunZhang's user avatar
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 ...
DerekC's user avatar
  • 205
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 ...
Syed Kamran's user avatar
0 votes
0 answers
27 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 ...
shibshib's user avatar
  • 117
1 vote
1 answer
24 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 ...
flipchan's user avatar
  • 269
2 votes
1 answer
50 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
  • 117
0 votes
0 answers
16 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 ...
vivek sharmapoudel's user avatar
0 votes
0 answers
21 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] ...
Boleng's user avatar
  • 393
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 ...
Heindrick's user avatar
  • 183
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/...
user3612's user avatar
0 votes
1 answer
177 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] 💔...
Sebastian's user avatar
0 votes
1 answer
55 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 ...
Rodrigo Quelhas's user avatar
0 votes
1 answer
37 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?
bun's user avatar
  • 373
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 ...
Mo Elshami's user avatar
0 votes
1 answer
69 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 ...
Heindrick's user avatar
  • 183
2 votes
1 answer
59 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,326
2 votes
2 answers
38 views

How to restart network from parachain data that was left on the disk?

I am trying to restart our network using data left by previous collators. How do I apply that data to start a new ( or the same ) network without losing data? I am looking for a solution similar ...
Zoltan75's user avatar
4 votes
1 answer
54 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
0 votes
1 answer
180 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 ...
Akash Singh's user avatar
0 votes
1 answer
160 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 ...
Akash Singh's user avatar
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 ...
vivek sharmapoudel's user avatar
3 votes
1 answer
75 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
0 votes
1 answer
104 views

Past reward history in polkadot.js

api.query.staking.erasRewardPoints(era) query returns reward history for selected era. And only last 84 eras reward history is available. I want to get reward history from first era. How can I get ...
Heindrick's user avatar
  • 183
1 vote
0 answers
49 views

Get reward amount in polkadot.js/api

I want to get reward for specific address in polkadot.js/api. Especially for kusama. Is polkadot.js providing such api to get reward for specific validator address? also for specific block height?
Heindrick's user avatar
  • 183
3 votes
1 answer
48 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
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 ...
Decentration's user avatar
  • 1,326
4 votes
3 answers
237 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,326
1 vote
1 answer
62 views

How Polkadot transition Sudo into On chain governance?

From my understanding, Polkadot has sudo governance in the initial phase. Currently, Polkadot completely changed into on-chain governance by pallet_democracy, pallet_membership, pallet_collective. ...
CocDap's user avatar
  • 561
1 vote
1 answer
118 views

Using polkadot.js api, how can we list the members of a Kusama nomination pool?

According to the documentation, api.query.nominationPools.poolMembers should yield details about pool members. The result should be a Map so we should be able to iterate the .entries / .keys. (async ()...
DerekC's user avatar
  • 205
2 votes
1 answer
50 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 ...
Decentration's user avatar
  • 1,326
3 votes
1 answer
71 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
0 votes
1 answer
77 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?
Santiago Balaguer's user avatar
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/...
Ayush Mishra's user avatar
2 votes
1 answer
89 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
3 votes
1 answer
99 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
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 ...
Nuke's user avatar
  • 1,802
2 votes
1 answer
201 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
0 votes
1 answer
42 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?
Ayush Mishra's user avatar
2 votes
1 answer
57 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
  • 527
0 votes
1 answer
29 views

How to get test tokens for Kusama

I read this https://guide.kusama.network/docs/kusama-claims/#third-party-claims-processes but I don't have DOT token when you had your Genesis block. So, how can I get test tokens now? I'm joining ...
ratib90486'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
1 vote
1 answer
272 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 [...
Ayush Mishra's user avatar
1 vote
2 answers
52 views

How to signAndSend() without a MNEMONIC

I'm trying to allow users on the client side send an api.tx.system.remark( 'message' ); with PolkadotJS. I run into issues on signing and sending the transaction, as I will not have their secret key. ...
rarara's user avatar
  • 141