Questions tagged [polkadot-sdk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
15 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
33 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
88 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
1 answer
39 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
83 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
51 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
54 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
34 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
11 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
40 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
33 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
  • 281
1 vote
1 answer
34 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 ...
Ganesh11's user avatar
  • 1,207
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