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.
115 questions
0
votes
0
answers
8
views
How to unlock parachain lease after expiration
We ran a Kusama parachain where the node and runtime was pretty ancient. Recently the lease expired and afair, previously the locked amount for the lease was returned to the admin wallet automagically....
1
vote
0
answers
22
views
Calculating reserved amount on Kusama asset hub
I'm looking for a way to calculate the reserved amounts on the Kusama Asset Hub. I've written some code to calculate the reserved amounts for Uniques deposit.
api.query.uniques.class.entries()....
0
votes
1
answer
14
views
How to determine the maximum number of batch methods in a single transaction?
How many batch methods can I add in a single transaction? Is there a byte limit, or should I calculate it another way? I get a signature error when I try to send transactions larger than 285 bytes (...
1
vote
0
answers
33
views
DOT, KSM transfer sign payload order
I want to know the scale codec order for sign payload cause currently I can't transfer WND, KSM right now
currently my codec order is
method call -> era -> nonce -> tip -> specVer -> ...
0
votes
1
answer
33
views
KSM, WND transfer transaction fail, but DOT success
I used the same program, the same fullnode version, and the same Substrate API sidecar version to submit transfer transactions for DOT, KSM, and WND. Only DOT was successful. Two months ago, DOT, KSM, ...
0
votes
1
answer
31
views
the trait bound `Runtime: frame_system::pallet::Config` is not satisfied the trait `frame_system::pallet::Config` is not implemented for `Runtime` [closed]
The ranked_collective pallet has been updated to include AddOrigin and RemoveOrigin, my intention it to update the various collectives in the kusama and Polkadot runtimes to include these but I keep ...
0
votes
1
answer
29
views
How to add new collator to a running parachain at runtime?
I have a parachain with kusama as relay chain and it is live. I am looking for the right set of steps to add new collators to the running chain in runtime. The initial chainspec does not have any info ...
0
votes
1
answer
32
views
Do I need to create a proposal on OpenGov in order to open an HRMP channel?
I'm not sure if this is the right question to ask, but do I need to create a proposal on OpenGov in order to open an HRMP channel between Kusama AssetHub and my Parachain?
Any insights or resources ...
0
votes
0
answers
19
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
72
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
46
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 ...
1
vote
1
answer
45
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?
...
1
vote
1
answer
30
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
88
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
28
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 ...
1
vote
1
answer
56
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
149
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
73
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
77
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
19
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
53
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
108
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
186
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
40
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
28
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
32
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
37
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
79
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
270
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
60
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
28
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
89
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
67
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
42
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
285
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
211
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
23
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
114
views
Unable to deregister paraId on Kusama [closed]
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
133
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
52
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
36
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
344
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
94
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
190
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
74
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 ...