Skip to main content

Questions tagged [polkadot-sdk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
59 views

Which one is the latest release polkadot-v1.12.0 or release-polkadot-v1.12.0 or release-crates-io-v1.12.0?

I want to upgrade my chain to latest polkadot version. When I checked the Polkadot-SDK repo. I found two branches: release-polkadot-v1.12.0 and polkadot-v1.12.0. When I compare both branches, release-...
Boleng's user avatar
  • 523
0 votes
0 answers
24 views

Error E0433: Failed to Resolve metadata_ir in the Crate Root When Using decl_runtime_apis! Macro

When upgrading polkadot-sdk from v1.2.0 to v1.3.0 I am getting the following compile error. I am encountering a compile error upgrading polkadot-sdk from v1.2.0 to v1.3.0 . The error message is as ...
Yatusabes's user avatar
  • 776
1 vote
1 answer
24 views

How to run substrate-parachain-template as parachain testnet?

everyone. Could you please help me on deploying my substrate-parachain-template as testnet? https://docs.substrate.io/test/set-up-a-test-network/ I am following this reference. But I receive this ...
Chris's user avatar
  • 11
0 votes
0 answers
11 views

Contract Reverted?

I was deploying WebAssembly (WASM) contracts on the Polkadot SDK version release-polkadot1.1.0. My codebase utilized unified address mapping. However, when I attempted to deploy the contract using the ...
Ipsa Gupta's user avatar
1 vote
1 answer
22 views

Error: could not compile `sc-network` when bumping to v1.11.0

I'm encountering an issue with cargo build --release after updating a solo chain to Polkadot-SDK v1.11.0. The error message appears when compiling 'sc-network' in the file located at: https://github....
Mateo Baldassarre's user avatar
0 votes
0 answers
14 views

Unable to build substrate-parachain-template?

As i was building substrate-parachain-template on tag polkadot-v1.0.0, I encountered the following error Can anyone guide me through this.
Ipsa Gupta's user avatar
0 votes
1 answer
64 views

Implementing Load Balancing for Multiple Validator Nodes on AWS: Seeking Suggestions

I've set up two instances on AWS, each running a validator node for a blockchain project. Here’s a quick breakdown of my configuration: First Server: Runs a validator node and a reverse proxy. It's ...
Humayun Ahmad Rajib's user avatar
0 votes
0 answers
13 views

Unfortunately error when submitting transactions in polkadot

In my project when I submit the transaction I'm getting [error: polkadotxcm.filtered]
Preethi M's user avatar
0 votes
2 answers
22 views

Unable to connect to polkadot node running on wsl to polkadot js app

I am running polkadot-sdk on wsl I start the node: ./target/release/polkadot --dev and then when I try connecting it to polkadotjs app on browser in windows it doesn't connect It just says - "...
Rishi's user avatar
  • 1
0 votes
1 answer
34 views

I want to Send data to relaychain from parachain?

I want to send JSON or normal String Message from Parachain to relay chain but i new in the substrate and I am finding it difficult. I am using the Polkadot-sdk template for relaychain and substrate-...
manish singh's user avatar
0 votes
0 answers
28 views

Parachain Not Compiling

We are updating parachain template in v1.6.0,when building by using cargo build --release, we're getting weird error. Can someone suggest what we are doing wrong? Github repo ErrorFile Link ...
go11li's user avatar
  • 1,241
0 votes
0 answers
18 views

Not able to add any crates in substrate-node-template

I am working on substrate.where I want to use some of create like pinata_sdk,Openssl etc but I am not able to import or add in cargo.tmol file where I add I get this error: ` --- stderr Compiling sp-...
manish singh's user avatar
2 votes
1 answer
57 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\...
Alberto Nicolas Penayo's user avatar
0 votes
1 answer
23 views

number out of range on configuring balances

I would like to replace the 1u64 << 60 with x.1 since endowed_accounts is a tuple with the AccountId and the Balance so x1 in the balance for the account ids but after building when i start the ...
go11li's user avatar
  • 1,241
0 votes
1 answer
25 views

how do i calculate the nomination pool address?

Im trying to replicate the addresses for a nomination pool so that i can remove it from a snapshot. const { u8aConcat, bnToU8a, stringToU8a } = require('@polkadot/util'); const { blake2AsU8a } = ...
Ramsey - Decentration's user avatar
1 vote
0 answers
25 views

Setting Gas fees for substrate chain which has frontier integrated in it

I am deploying the default smart contract in remix ide to local substrate chain using Metamask to connect with the chain. The local chain uses frontier for EVM. But fees comes quite high. I want to ...
Rohitas_atr894's user avatar
1 vote
1 answer
48 views

Setting collection metadata

I'm trying to set metadata for a collection of the NFTS pallet. I'm doing this from a custom pallet. To structure the metadata I'm using this guide: https://wiki.polkadot.network/docs/learn-nft-...
Arjan van Eersel's user avatar
0 votes
1 answer
99 views

Cumulus parachain (branch=release-polkadot-v1.5.0) with the pallet-contracts given this error:"StorageDepositNotEnoughFunds/BadOrigin"

Rust version:rustc 1.77.0-nightly (3d0e6bed6 2023-12-21) Zombienet-linux-x64 version:1.3.87 Polkadot SDK version:polkadot 1.5.0-a3dc2f15f23 I have created a simple Cumulus Parachain based in the new ...
Evil Kyle's user avatar
  • 149
1 vote
3 answers
63 views

Call without gas fees

In a custom pallet I wrote an entry point that's supposed to be called by root. The purpose of the function is to create a collection with specific metadata at the NFTs pallet. I am using dummy data ...
Arjan van Eersel's user avatar
1 vote
3 answers
96 views

Testing NFT metadata

I'm writing a custom pallet that interacts with the NFTs pallet. In particular my custom pallet mints an NFT with metadata. Here is how the token is minted and metadata is set in the custom pallet: T::...
Arjan van Eersel's user avatar
0 votes
1 answer
67 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: ...
Gonzalo Cerro's user avatar
0 votes
1 answer
149 views

Failed to load source for dependency `frame-benchmarking`

I'm trying to upgrade a repo based on the Node template at Developer Hub. This template hasn't been updated and dependencies refer to the archived SDKs instead of polkadot-sdk. I tried to change that ...
Arjan van Eersel's user avatar
0 votes
1 answer
51 views

Downgrading from polkadot-v1.4.0 to polkadot-v1.3.0 gives Parachains DB has a future version (expected 3, found 4)

Steps to reproduce Start a node with Polkadot version 1.4.0 and no specific arguments. Stop the node Replace the binary with version 1.3.0 Start the node again The node don't start and prints the ...
Jonathan's user avatar
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 = ...
Matthias Hutter's user avatar
0 votes
1 answer
46 views

getting error while building substrate blockchain?

I have cloned polkadot-sdk version 1.1.0. When I try to build binary it is throwing error. Can you please tell why I am getting error as I have not changed anything in codebase yet. rust versions ...
Karanvir Singh's user avatar
0 votes
1 answer
42 views

What are the differences between these polkadot binaries: polkadot, polkadot-parachain, polkadot-prepare-worker, polkadot-execute-worker?

In the old polkadot repo release page prior to the polkadot-sdk repository merge, polkadot had only one binary called polkadot (there is also staking-miner but it has been moved to its own repo: ...
btwiuse's user avatar
  • 291
2 votes
1 answer
42 views

Error on Simulate parachains in a test network

I am trying to Simulate parachains in a test network and following this tutorial but I am getting this error. Someone please advice what I am doing wrong? Error: Error: Command failed with exit ...
go11li's user avatar
  • 1,241
0 votes
1 answer
41 views

What is the new label in polkadot-sdk to track runtime migrations?

We used to have E0-runtime-migration labels to track storage migrations of FRAME pallets but I can't see anything on the new repo. Has one not been created yet?
Purple_Turtle's user avatar