Skip to main content

Questions tagged [polkadot]

Questions about the Polkadot Relay Chain

Filter by
Sorted by
Tagged with
2 votes
1 answer
85 views

Polkadot multisig - LiquidityRestrictions error to initiate a call from an account with < 20 DOT

The Polkadot account 1vSN9CPVLXJWsY3JbdRU9KjAFFAx88yvEVpU1ayjnhSephy is a proxy, controlled by a multisig (13oHAjv9gNbdVKFk6uosaiyRAm2ybC48VnJ47Ss8F8pY7NgR). All attempts to initiate an extrinsic with ...
bLd's user avatar
  • 182
2 votes
1 answer
177 views

how to add contract pallet into polkadot-v0.9.31

I want to add contract pallet into polkadot-v0.9.31, but there is no tutorial in [official documentation][1], and it seems that pallet-contracts-rpc-runtime-api not exists. How can I add contract ...
Briza's user avatar
  • 55
2 votes
1 answer
44 views

How to premine DOT on a local private network (local devnet)

I'm setting up a local-testnet with multiple nodes and would like to know if there is a way to premine DOT without using the UI Here is a copy of my docker-compose from following the steps on https://...
light yagami's user avatar
2 votes
1 answer
37 views

Distribution of nominated stake?

Does anyone happen to know without having to spend time on source searching: A Polkadot nominator with stake N DOT nominates X validators. How the stake is distributed between them for the purpose of ...
grg's user avatar
  • 51
2 votes
1 answer
86 views

Hybrid Pow/Pos Consensus Node Blocks are not being finalized?

i am following this tutorial https://substrate.recipes/hybrid-consensus.html trying to make a Hybrid pow/pos based consensus node i also watched Joshy Orndorff demonstration on hybrid consensus with ...
Amit Kumar Yadav's user avatar
2 votes
1 answer
46 views

How to add parachains to parity signer?

I'm setting up a metadata site for parachains. I have the github pages site working, and am currently adding parachains. I just have a few questions to make sure I do this properly. For rpc_endpoint ...
ZeroPhase's user avatar
  • 123
2 votes
1 answer
84 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 ...
Dario Tsvetanoff's user avatar
2 votes
1 answer
72 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 ...
Boleng's user avatar
  • 523
2 votes
2 answers
349 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 ...
Amrith's user avatar
  • 31
2 votes
1 answer
100 views

Test Case failing on on_initialize hook!

I'm writing a test case for the on_initalize hook! #[pallet::hooks] impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> { fn on_initialize(_now: T::...
sachin murali's user avatar
2 votes
1 answer
133 views

How to change inflation rate of a substrate based chain?

I want to change inflation rate of a substrate based chain, the method for inflation is written in frame/staking/reward-curve and it being initialised in bin/node/runtime/lib.rs ...
Shubham Gupta's user avatar
2 votes
1 answer
62 views

Do I need to write migration script if upstream pallet's storage has been changed?

I have my substrate blockchain application based on Polkadotv0.9.16. I want to upgrade it to latest Polkadot version v.0.9.21. I will be doing this step by step, version by version to avoid big ...
Ayush Mishra's user avatar
2 votes
1 answer
104 views

Can we write bridge smart contract using ink?

I was reading about ink smart contracts and was curious is it possible to make bridge using ink, as there is already parity-common-bridges present. It would be very helpful if someone knows about this ...
Karanvir Singh's user avatar
2 votes
1 answer
248 views

XCM BuyExecution Fail: TooExpensive when transferring Native Token from your parachain to clone parachain

I am setting up the integration tests to transfer Asset from Parachain A to Parachain B (clone Parachain A). The XCM execution went successfully on Parachain A, the balance was deducted successfully, ...
jpcoder's user avatar
  • 98
2 votes
1 answer
67 views

Which event should I listen to in order to get contract instantiation data?

I'm trying to index the names and decimals of tokens in moonbeam, I think I should listen for a contract instantiation event to get that data. Which event and module should I listen for? Or is there ...
user2395's user avatar
2 votes
1 answer
42 views

How the democratic voting system in the document is decided?

What is the default voting system after submitting a democratic proposal? https://wiki.polkadot.network/docs/learn-governance#tallying
99kies's user avatar
  • 753
2 votes
1 answer
67 views

How to get the value of a "transfer_all" transaction?

my question is regarding Polkadot, I need to get the value of any "transfer" transactions and there's no problem with it with "transfer_keep_alive" and "transfer" ...
Old Man's user avatar
  • 21
2 votes
1 answer
49 views

The necessity of bitfields in Polkadot, and potential replacement with threshold signatures

My question is related to the usage of bitfields in data availability system, described in https://spec.polkadot.network/chapter-anv. Polkadot uses bitfields to know if a relay-chain block is stored ...
Oguzhan Ersoy's user avatar
2 votes
0 answers
34 views

how can we add external links on the proposal?

I have created a custom chain using Substrate version 0.9.36, and I've been using the governance module. When adding a proposal, there's a default column for external links set to "none." I ...
Gagandeep Dogra ATR594's user avatar
2 votes
0 answers
84 views

How should I add offchain worker(OCW) in frontier when using AccountId20?

In order to add an offchain worker with using AccountId20 as the runtime account type I did following things. add associated type type AuthorityId: AppCrypto<Self::Public, Self::Signature>; in ...
xiao liang's user avatar
2 votes
0 answers
42 views

Polkadot wallet signature verification

I am looking for a way to validate a signature from any Polkadot wallet in Node.js. Preferably it would be some lightweight library which supports this since @polkadot-util/crypto is a bit too heavy ...
CasualCoder's user avatar
2 votes
0 answers
36 views

What is the rationale behind the node architecture (Runtime + Host)

Is the separation of the Runtime business logic from the host intended solely for enabling forkless upgrades, or does it also aim to facilitate compatibility with different hosts?
user2862's user avatar
  • 309
2 votes
0 answers
46 views

Someone suggest me some resources of NFT Pallet frontend react implementation?

I am using nft-pallet for nft creation. I have implemented in substrate node. Now I wan't to write my own code not polkadotjs to create with nft using nft pallet using react frontend. Someone please ...
go11li's user avatar
  • 1,241
2 votes
1 answer
79 views

I'm using Polkadot js api to fetch the westmint nft pallet collection and their details but i got an error it dosen't show me the instance id

I tried to figure out the collection id from the api i got an hex value but when i tried to convert that hex to numbers i got an undefined value here is my code i think the hex value which is outside ...
Ashutosh singh's user avatar
2 votes
0 answers
55 views

Accepting new connection 1/nnn

Which crate is logging Accepting new connection 1/100? Is it in tokio? jsonrpsee? In the logs, there is no way to distinguish between new connections for the node vs for the relay. I would like to ...
Robert La Ferla's user avatar
2 votes
0 answers
29 views

Polkadot websocket API doesn't emits changes in stats like system_health or system_syncState

using the following code , package main import ( "fmt" "github.com/gorilla/websocket" "log" ) type Message struct { Id int `json:"id"` Jsonrpc ...
M.abdelrhman's user avatar
2 votes
0 answers
123 views

Rococo collator running on aws eks fails and restart every few minutes

I have a rococo collator running on aws eks that keeps failing, here are the logs: 2023-04-23 01:49:19 [Parachain] 💤 Idle (0 peers), best: #0 (0x3865…1210), finalized #0 (0x3865…1210), ⬇ 0 ⬆ 0 ...
Sebastian's user avatar
  • 411
2 votes
0 answers
19 views

How to use Polkadot.js to parse the "aca to dot" bridge transaction?

The transaction is like this: https://polkadot.subscan.io/extrinsic/14760951-1?event=14760951-43 , I want to get information as follows: (1) from and to account address, (2) the transfer money, (3) ...
Rose's user avatar
  • 305
2 votes
1 answer
113 views

Don’t receive rewards even I have rebaged and movedup my account

I have way more than the minimum staking limit on Polkadot. But I suddenly stopped reviewing rewards a few months ago. So I added some mode $Dots to my account and went through this process: 1- Bond ...
Amin Memariani's user avatar
2 votes
0 answers
260 views

Substrate run benchmarking error - 'setjmp.h' file not found

Working on substrate-node-template , When I run benchmark I get the below error. It says 'setjmp.h' file not found. I am working on Macbook pro cargo build --release --features runtime-benchmarks ...
Neo's user avatar
  • 323
2 votes
0 answers
116 views

Parsing Balance Transfer Data

I'm writing a client in Go that needs to scan balance transfers in Substrate chains - initially focused on Polkadot. My current objective is to determine all balance transfers in a given block, and to ...
csknk's user avatar
  • 227
2 votes
2 answers
298 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-...
Anuj Dhiman's user avatar
2 votes
0 answers
58 views

What is the difference between the four attribute values between full, fast, fast-unsafe,warp for --sync? [duplicate]

polkadot network sync mode: --sync Blockchain syncing mode. [default: full] [possible values: full, fast, fast-unsafe,warp] What is the difference between these four attribute values? What is the ...
shiwei ren's user avatar
1 vote
2 answers
155 views

Polkadot archive node running on docker uses a lot of space

I'm running a Polkadot and a Kusama node on (separate) docker containers. Both are archive nodes, so it takes some more space (according to the wiki 15 to 20 Go). I was counting on the fact that 1) ...
Cromm's user avatar
  • 321
1 vote
1 answer
95 views

What is the use of this prefix https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json

I was going through ss58 documentation and trying to find out the relationship between ss58 and public key. I want to know what is the use of this prefix https://github.com/paritytech/ss58-registry/...
Ayush Mishra's user avatar
1 vote
3 answers
102 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-...
Josh's user avatar
  • 425
1 vote
4 answers
273 views

Is there a way to integrate polkadot wallet with unity?

I am making an application in C# unity and trying to integrate polkadot wallet in the application. I want to know whether it's possible to use the polkadot wallet browser extension to sign personal ...
Tejas's user avatar
  • 21
1 vote
2 answers
61 views

how to fetch list of all nomination pools using polkadot js API

fetch list of all nomination pools using polkadot js API. details like poolID, address etc
muddlebee's user avatar
1 vote
1 answer
243 views

Why unbonding period of polkdot is 28 era(28 days) and why not 27 eras or some other number?

I`m curious about whether 28 era is a particular number, why not 26 or 27 or some else?
Michael.Andromeda's user avatar
1 vote
1 answer
164 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 ...
go11li's user avatar
  • 1,241
1 vote
1 answer
151 views

Collator nodes are not working

I recently got a parachain ie, 4058 via subport issues request form When I was starting my parachain-collator-template with the following command ./target/release/parachain-collator --bob --collator ...
Mojo's user avatar
  • 95
1 vote
2 answers
503 views

Bulding polkadot (release-v0.9.24) fails while compiling a dependency (prost-build v0.10.4)

I'm trying to build Polkadot as a relay chain for a tutorial but compiling one of its dependencies fails! I may be missing some tools. Could you help? Platform: MacOS (Intel) Compiling prost-build v0....
stano's user avatar
  • 238
1 vote
2 answers
85 views

Get result of extrinsics balance transfer using block's extrinsics

I'm new to polkadot. I am working on checking received transactions to my wallets. I have used below code & able to get hash, from, to & amount etc. but I am not able to get result & fee ...
kunal's user avatar
  • 113
1 vote
1 answer
56 views

Can you speed up the crowdloan period?

If the current lease period is 20, and we make a lease period from lease 20 to 27, because we don't want to compete with the chains that will renew their lease for lease 21 (essentially giving up a ...
Ramsey - Decentration's user avatar
1 vote
1 answer
55 views

How can i update polkadot js metadata from inside my app?

i need to check in my dapp when the metadata of my wallet is expired and show a popup telling the user that he needs to update his metadata by clicking an update button on that popup. i need to do ...
Nikola Grujičić's user avatar
1 vote
1 answer
120 views

Parachains not producing blocks with polkadot release-v1.4.0

I am running a local zombienent network with zombienet version 1.3.86 The config.toml file: [settings] timeout = 1000 [relaychain] chain = "westend-local" default_command = "./polkadot&...
Szegoo's user avatar
  • 682
1 vote
1 answer
305 views

What is chain decimal?

I saw token decimal has different value like 12, 10, 6 in different substrate chain, What exactly it means and what is the use of it?
go11li's user avatar
  • 1,241
1 vote
1 answer
302 views

TypeError: api.tx.balances.transfer is not a function substrate contracts node

api.tx.balances.transfer was working perfectly some time ago. I tried to re-run my testcase today and I'm getting this error. const rawTX = api.tx.balances.transfer(alice.address, 30) ...
Anmol Bansal's user avatar
1 vote
2 answers
147 views

Why Substrate, Cumulus and Polkadot repositories are going to be merged into a mono-repo?

It might not be the best place to ask this question, but I'm not sure there are other place, especially since others could be interested in the answer. Why do the 3 repositories (Cumulus, Substrate ...
Cromm's user avatar
  • 321
1 vote
1 answer
174 views

Polkadot - westend/westmint: how to create a pool using the asset conversion pallet?

We want to create a pool and we need to provide asset1 and asset2 values to the function, we are not sure what those asset1 and 2 are exactly (we are not sure what it represents or where to find it). ...
Nikola Grujičić's user avatar

1
3 4
5
6 7
11