Questions tagged [polkadot]

Questions about the Polkadot Relay Chain

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Can you recover the Mnemonic or secret keys from a Polkadot.js JSON backup?

I want to add my polkadot account to the Trust wallet. There is no option to use the json. Is there a way to recover the private keys from the raw json backup?
  • 101
0 votes
0 answers
12 views

How to migrate data from running node with PoA to PoS

How can we migrate data from running/live chain with PoA where aura is used for block production and grandpa for block finality, now wanted to switch to NPoS with Babe as block producer and grandpa as ...
  • 175
1 vote
1 answer
98 views

What is Contract Terminate?

Is contract terminate means stop the currently executed smart contract or delete it from Blockchain?. If terminate means stop, then will it be resume later and If terminate means delete from ...
  • 169
0 votes
0 answers
15 views

Blockchain development under 200GB?

I'm trying to make meaningful code contributions to Substrate/Polkadot ecosystem in the hopes of becoming a Blockchain developer one day. I tried the Substrate approach and discovered that it takes ...
1 vote
1 answer
35 views

How to find mentorship to become a substrate developer and land the first job? [closed]

My aim is to become a core blockchain developer (not just the smart contract developer). So I can create custom blockchain for companies to meet their business needs. I am good with rust and ...
2 votes
2 answers
34 views

Polkadot - tests fail out-of-the-box

How can I make the tests pass? Steps to reproduce: git clone https://github.com/paritytech/polkadot cd polkadot cargo build cargo test $ cargo test ⚡ Found 3 strongly connected components which ...
4 votes
2 answers
40 views

ParaChain blocks are not producing and finalising with Relay chain ( when using with custom specs)

Hope you are doing well. I would need your valuable insights on an issue. Currently I m facing a problem with para-chain(rococo-local) set-up locally with relay chain(rococo-local). I have setup Relay-...
0 votes
0 answers
21 views

Add hyperledger Fabric as a parachain to relaychain in polkadot

Is it possible to connect hyperledger fabric to relaychain as one of the parachain...
  • 11
2 votes
1 answer
33 views

Retrieve block index after transaction is sent

I am a developer integrating Polkadot JS to my app. I am creating an offline transaction which I am sending via the Polkadot Api RPC. In return I get the txid, but it does not help me to retrieve the ...
0 votes
0 answers
15 views

Getting error: Found argument '--target-signer' while running parity bridges common

Error: Getting error while following the Parity Bridges common code on github. Got this error while trying to send message. Error Error: error: Found argument '--target-signer' which wasn't expected, ...
0 votes
1 answer
24 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?
  • 313
0 votes
0 answers
26 views

how can test and check TPS in substrate?

I gonna to check and test TPS and bottleneck in substrate . what should i do for that and how can i do that in local ? please guide me for that .
  • 125
-1 votes
1 answer
23 views

Can't Connect to Chain through websocket

My Polkadot-JS explorer UI does not load when i connect to the local chain and gives a websocket error. API-WS: disconnected from ws://127.0.0.1:9944: 1006:: Abnormal Closure It just started this ...
2 votes
1 answer
156 views

Recovering From No Space on Device

Whilst running a Polkadot node, the VPS ran out of disk space. After re-sizing the box, restarting the service gives a DB version error: 0: Backend error: Database version cannot be read Is this ...
  • 167
1 vote
1 answer
25 views

Is the Westend deployment process same as Rococo?

Rococo is testnet for Kusama and Westend is testnet for Polkadot. To prepare parachain for Kusama, we have to test our application on Rococo. Likewise, we should test our parachain on Westend before ...
  • 67
3 votes
1 answer
36 views

What is the parachain validation function (PVF)?

I would like to better understand what the parachain validation function is and how it is used throughout Polkadot. In The Polkadot Parachain Host Implementers' Guide, it says that the parachain ...
  • 5,464
2 votes
0 answers
26 views

Error importing blocks after upgrading to v0.9.32

After upgrading the node to v0.9.32 I started seeing this error message: 2022-11-11 14:03:44 💔 Error importing block 0x2062a73f1dee2fd35ad6ac25c641b08bf94cf6390b9fc7a8480d7b8ea9412eab: consensus ...
0 votes
1 answer
22 views

connect Polkadot{js} API correctly

Your API has not been initialized correctly and is not connected to a chain the API is successfully connected and return value, but all ContractPromise cause this error. Anyone know how to solve this?
  • 51
0 votes
1 answer
34 views

Polkadot/Substrate estimate tx fee from Rust

In the polkadot js/ts library there is a method to estimate tx fee: const info = await api.tx.balances .transfer(recipient, 123) .paymentInfo(sender); We want to do the same (estimate tx fee) ...
5 votes
2 answers
129 views

How do I know in which Polkadot release a Substrate PR (hence change) got in?

I am trying to figure out in which Polkadot release the Deposit and Withdraw events were introduced. I was looking at the corresponding PR, Add Deposit and Withdraw Events to Balances Pallet in the ...
  • 1,148
0 votes
1 answer
20 views

Polkadot Transaction flow using relaychains and bridges [closed]

how to describe the transactional flow of polkadot using relaychains and bridges using sequence diagram describing any usecase can anyone help in doing so...
  • 11
0 votes
1 answer
32 views

How can I use sp-core v7.0.0

I have an error while cargo build -- release on polkadot v0.9.31 error: failed to select a version for `parity-util-mem`. ... required by package `sp-core v6.0.0` ... which satisfies ...
0 votes
2 answers
36 views

failed to select a version for `parity-util-mem` when upgrade polkadot version to 0.9.31

I am developing polkadot version from 0.9.25 to 0.9.31. When I run cargo build --release, it shows Any body has experience about this?
2 votes
2 answers
29 views

Accessing historical data for validators from the API

I have been trying to pull the validator-level data for Polkadot for a project I am working on. I am using this API and have been unable to find a command I need. Ideally, the request URL would either ...
1 vote
1 answer
24 views

how does work offchain in substrate ( pokadot ) [closed]

I Wanna know about off-chain in the substrate ( Polkadot ) how does work? How is it mine from the onchain ( main chain in Polkadot )? maybe somebody wants to hack the off-chain and they do it a ...
0 votes
1 answer
22 views

Not able to fetch historical blocks with Role: Authority

I am using polkadot v0.9.25 and run it on dev mode, it's role is authority and after 256 block when I try to fetch the data of 1 block it shows error Unable to retrieve the specified block details. -...
0 votes
0 answers
35 views

Error building the parachain template - 2 [duplicate]

I was compiling the runtime by cloning this source, https://github.com/szout/substrate-parachain-template, but at the moment I met this issue. I tried to solve this issue by referencing these QAs, ...
  • 37
0 votes
0 answers
7 views

The system_unstable_networkState endpoint returns listening endpoints on the connected nodes while --in-peers and --in-peers-light is set to 0

When I run a Polkadot full node(v0.9.27) with the --in-peers and --in-peers-light CLI settings set to 0, the node still seems to establish mainly incoming connections when querying the network state ...
1 vote
1 answer
32 views

The crate "pallet-contracts-rpc" does not exists for the branch "polkadot-v0.9.31". Is there any replacement?

Branch(polkadot-v0.9.31) https://github.com/paritytech/substrate/tree/polkadot-v0.9.31/frame/contracts Branch(polkadot-v0.9.30) https://github.com/paritytech/substrate/tree/polkadot-v0.9.30/frame/...
1 vote
1 answer
33 views

Unexpected epoch change

I run the tutorials to prepare a local relay chain form Substrate: https://docs.substrate.io/tutorials/connect-relay-and-parachains/prepare-a-local-relay-chain/ And it worked as expected. However if ...
0 votes
0 answers
34 views

Some RPC not shown in polkadot explorer

I was checking the rpc methods in polkadot explorer and I see a lot of rpc shown as output when queried rpc-> methods. But I don't see some of them inside the rpc field. for example rpc methods ...
  • 37
-2 votes
2 answers
52 views

expected enum `Result<_, pallet::Error<T>>` [closed]

I write codes for add item in storage but when I run this command cargo build --release it show me this error : error[E0308]: `match` arms have incompatible types --> /home/kianoush/projects/...
0 votes
1 answer
40 views

How to add smart contracts support in parachain?

I am using Cumulus SDK for my parachain. Works well, but I need to be able to upload smart contracts into my parachain. How can I do this, Cumulus polkadot-parachain does not have smart contracts.
  • 317
2 votes
1 answer
43 views

Why is 5MB the limit for the block length?

The length limit for each block in Polkadot is set to 5Mb as seen in the code. But why exactly 5Mb? Could you point me to the decision process or the benchmark results for that exact value? Thanks!
1 vote
1 answer
46 views

'window is not defined' issue when I integrate polkadot{js} extension into my dapp

ReferenceError: window is not defined I reload my browser, I get the error shown in the attached image. However, once I disable bellow imports, the screen works fine. And also error message say that ...
  • 51
2 votes
1 answer
86 views

Is it possible to transfer balance from multiple accounts to the same receiver in a single Extrinsic?

I am working on a system that allows users to send and receive on the Polkadot network. The system tracks the amount of DOT controlled by a user, and this may be spread across multiple Polkadot ...
  • 167
1 vote
2 answers
55 views

How to configure chain specs for parachains and relay chain

I want to run two parachains (parachain A and parachain B) and a relay chain with two validators Alice and Bob. I need to implement the use-case below: For parachain A the chain spec is newSpec.json ...
  • 11
3 votes
2 answers
75 views

Can we convert a solochain to a relay chain?

I want to know is it possible to convert solochain to a relaychain so that parachain can connect with the chain but I was not able to see any tutorial, i came across this tutorial which converts a ...
0 votes
1 answer
39 views

How to calculate block memory size(MB,GB...) for each transaction block?

Is there any API to calculate each block? How much size does it occupy?
1 vote
0 answers
32 views

a blank page when deplying substrate smart contract [duplicate]

am using the guide here https://docs.substrate.io/tutorials/smart-contracts/prepare-your-first-contract/ To deploy the flipper after filling the second form as required i the page goes blank The ...
  • 111
1 vote
3 answers
82 views

Where can I find more information of Gov2 specifications/documentation?

Other than the information presented (shown below), is there a way to keep track of the Gov2 technical specifications? https://polkadot.network/blog/gov2-polkadots-next-generation-of-decentralised-...
  • 113
2 votes
2 answers
43 views

What's the size of the current state trie?

Approximately, what is the size of the state trie (in example on Polkadot for a recent block)? For example how many nodes are in the trie? Even better would be the total bytes of node partial keys, ...
-2 votes
1 answer
52 views

What is Polkadot? [closed]

I am new to blockchain and I would like to understand what Polkadot is. Are there any resources that can be helpful for me to learn? Thank you
  • 11
2 votes
1 answer
130 views

In polkadot staking what's the difference between Validators and Para Validators?

In Polkadot staking, validators are identified as either Relaychain validators or Para Validators. This appears to mean that a validator has is started with arguments that allow it to validate (...
  • 338
0 votes
1 answer
47 views

When there is a new Chain Spec version how do we know where to add things?

We're updating our relay chain test and its time to create a chain spec. When i generate a plain chain spec (from polkadot repo) it seems i still get some raw output: ./target/release/polkadot build-...
0 votes
2 answers
39 views

No slash after the validator is offline

There is a condition in the substrate for the validators like if the validator misbehaves for example if the validator goes to offline than the stake of the validator will be slash, I setup a network ...
4 votes
1 answer
42 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
35 views

How could I get that reward amount of the nominator

As a developer,I want to use the interface to search this information: which can get the amount which nominator has been rewarded at every era and staking?
  • 55
0 votes
1 answer
31 views

panic_with_hook in session change

We are dealing with a runtime panic. We are looking for advice on how to best debug and are looking for help to get past it. At the change of an epoch we want a function to scan for a specific asset ...
  • 53
4 votes
1 answer
27 views

getting Error's while adding pallet_evm to runtime " the trait bound `pallet_evm::Pallet<Runtime>: Callable<Runtime>` is not satisfied in `Call`"

I am trying to add Evm pallet to my substrate runtime i am using Polkadotv0.9.25 for both substrate and frontier but getting error of trait bound for almost every pallet. error:- within Call, the ...

1
2 3 4 5 6