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.
109
questions
0
votes
0
answers
15
views
Get lock details from convictionVoting (even after deleting votes)
How can we see the lock duration for Referenda (convictionVoting) if the votes are deleted?
On Polkadot and Kusama, if you delete your Referenda Votes it's not possible to see the details of the ...
2
votes
1
answer
49
views
How to run a `polkadot-dev` or `kusama-dev` node?
Since the removal of the polkadot and kusama runtimes from the polkadot-sdk, running one of those chains with -dev or -local runs a rococo node.
How can I get a polkdadot-dev\-local or kusama-dev\...
0
votes
1
answer
38
views
i need to find a faster way to load/show all my assets on Polakdot testnet Westend
I use Polakdot.js library to show all of my assets on the Westend testnet in my dapp.
It takes around 5 seconds to load/show all my assets.
For now it seems to me that this library doesn't have the ...
0
votes
1
answer
38
views
Where is the plain chain spec for kusama that i can use with a kusama runtime locally?
How to run polakdot/kusama runtime + node with a full functionality locally? what chain spec can I use? where the plan chain spec are located for just a ready to start for local env with 2 nodes?
...
0
votes
1
answer
24
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 ...
0
votes
1
answer
55
views
Build fast-runtime for kusama on PolkadotSDK
Im quite a newbie in the new polkadot-sdk, can sm1 guide me how can I build a fast-runtime kusama polkadot image?
When I try to run a polkadot build with fast-runtime with kusama-local spec it tells:
...
0
votes
0
answers
20
views
subsquid: extrinsic fee not populated in block.extrinsics
What config is needed in order to see the fee for each extrinsic?
While following the Transfers example, I try to see the extrinsic.fee
in processor.ts
export const processor = new ...
0
votes
0
answers
13
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
38
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 ...
3
votes
1
answer
117
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:...
1
vote
0
answers
70
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 ...
1
vote
1
answer
74
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
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
50
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
102
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 ...
3
votes
1
answer
180
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
0
answers
35
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
13
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
27
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
29
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 ...
1
vote
1
answer
32
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 ...
2
votes
1
answer
78
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 ...
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/...
1
vote
1
answer
249
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
59
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
27
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
81
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
65
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 ...
2
votes
2
answers
39
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 ...
4
votes
1
answer
60
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,...
0
votes
1
answer
270
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 ...
0
votes
1
answer
199
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 ...
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 ...
3
votes
1
answer
86
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 ...
0
votes
1
answer
129
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 ...
1
vote
0
answers
54
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?
3
votes
1
answer
51
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 ...
1
vote
0
answers
35
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 ...
4
votes
3
answers
316
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?
1
vote
1
answer
89
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.
...
1
vote
1
answer
173
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 ()...
3
votes
1
answer
65
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 ...
3
votes
1
answer
76
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'...
0
votes
1
answer
104
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?
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/...
2
votes
1
answer
114
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 ...
3
votes
1
answer
119
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 ...
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 ...
2
votes
1
answer
258
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-...