Skip to main content

Questions tagged [polkadot-sdk]

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

"overflows indirect symbol table" when compiling polkadot

Only happens when compiling the polkadot-sdk/polkadot with release profile using my macbook... Simplly cd polkadot-sdk/polkadot and cargo build --release, using latest rustc stable (1.83.0), gives the ...
Kailai's user avatar
  • 383
0 votes
1 answer
19 views

Can't find substrate-node-template

I'm new to substrate.I'm following the a tutorial on youtube https://www.youtube.com/watch?v=G897F8Gw1PM&list=PL5dTjWUk_cPYdb4j2RH8BHEAK3z_ZME1j&index=2 and the substrate docs to build a local ...
Deepu Harry's user avatar
0 votes
1 answer
19 views

Latest zombienet and polkadot sdk parachain node produce only 3 blocks on parachain side

https://github.com/paritytech/polkadot-sdk/blob/717bbb24c40717e70d2e3b648bcd372559c71bd2/templates/parachain/README.md Latest zombienet and polkadot sdk parachain node produce only 3 blocks on ...
rust.dev's user avatar
  • 539
0 votes
1 answer
28 views

How to enable js features in substrate? [duplicate]

I am trying to compile my substrate node but it is giving me the issue regarding js features: error: the wasm*-unknown-unknown targets are not supported by default, you may need to enable the "js&...
go11li's user avatar
  • 1,253
6 votes
1 answer
92 views

More errors after upgrade to SDK 1.13

After solving frame-support-procedureal and pined some crates still have build issues for my SDK 1.13 upgrade. This time it is a duplicate definition: error[E0152]: duplicate lang item in crate `std`...
Simson's user avatar
  • 1,275
0 votes
0 answers
13 views

Signers from extension-dapp and ui-keyring expect different data types?

Can both @polkadot/extension-dapp and @polkadot/ui-keyring work together on the frontend somehow? I am helping develop a dapp that needs to sign an external message composed of bytes, but signer....
Shiba Tales's user avatar
1 vote
1 answer
71 views

frame-support cannot find vec when upgrade to SDK 1.13

error[E0432]: unresolved import `frame_support` --> /home/simson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-system-35.0.0/src/lib.rs:257:1 | 257 | #[frame_support::pallet] ...
Simson's user avatar
  • 1,275
0 votes
0 answers
15 views

how to use substrate-rpc-client query storage

I am trying to use substrate-rpc-client for querying a storage item in our chain, the documentation is very sparse on how to go about this. just says client.storage(StorageKey(vec![]), Some(H256::...
Emmanuel Thomas's user avatar
2 votes
1 answer
47 views

Size of Relay Chain state proof becomes big after enabling async backing

our team has tested our own Relay Chain(forked from polkadot-release-1.10) with async backing feature based on the wiki. Our Relay Chain has two operating parachains. However, it seems like Relay ...
Raf's user avatar
  • 139
1 vote
1 answer
26 views

How to check the ordering of extrinsic payload for SCALE encoding in polkadot-sdk?

Below is something which I found in the polkadot-js api code describe('ExtrinsicPayload', (): void => { it('has a sane inspect', (): void => { // we don't expect this to fail, however it ...
muddlebee's user avatar
0 votes
0 answers
9 views

Enable metadata-hash on polkadotSDK 1.6 based parachain. But version 15 of sp-api-proc-macro is yanked

I'm trying to add the feature of metadata hashing on my chain which is updated to Polkadot SDK 1.6 but cargo fails configure: Updating crates.io index error: failed to select a version for `sp-api-...
Simson's user avatar
  • 1,275
0 votes
0 answers
7 views

cannot transmute between types of different sizes, or dependently-sized types

I found this issue already present here, I did recheck and I have added std flags. But still I can't figure out the issue. error[E0512]: cannot transmute between types of different sizes, or ...
go11li's user avatar
  • 1,253
1 vote
1 answer
61 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
  • 557
0 votes
0 answers
28 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
  • 778
1 vote
1 answer
28 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
14 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
28 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
15 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
65 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
14 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
27 views

Unable to connect to polkadot node running on wsl to polkadot js app [closed]

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
36 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,253
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
65 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
34 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,253
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
55 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
69 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
98 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
81 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
164 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
58 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
48 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
46 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
  • 301
2 votes
1 answer
43 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,253
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