New answers tagged substrate-node-template
0
votes
Issues with Dependency Version Mismatch and Rust Toolchain Version for Frontier polkadot-v1.8.0 Branch
Don't delete the Cargo.lock and use cargo .. --locked to prevent the dependencies update.
If you go the "downgrade" approach and see use of unstable library feature 'error_in_core', try ...
0
votes
error[E0152]: duplicate lang item in crate `sp_io` (which `sp_application_crypto` depends on): `panic_impl`
pallet-contracts = { version = "38.0.0", default-features = false } .
This is compatible version in the template (https://github.com/paritytech/polkadot-sdk-solochain-template)
Note:
pallet-...
1
vote
Resolving Sandbox Host Function Access After Deprecation in Polkadot v0.9.35
Thank you @bkchr for the response.
In our case, we are implementing the Sandbox trait by using the FunctionExecutor struct like this:
struct FunctionExecutor {
sandbox_store: Rc<RefCell<...
0
votes
no matching package named `orml-vesting` found
Because it's using Cargo.dev.toml. Without a Cargo.toml, cargo can't find the package.
You can use it from crates.io directly.
https://github.com/open-web3-stack/open-runtime-module-library/blob/...
1
vote
Resolving Sandbox Host Function Access After Deprecation in Polkadot v0.9.35
You can create an Extension.
sp_externalities::decl_extension! {
struct SandboxExt(TheRealExtension);
}
TheRealExtension being some struct that contains your actual sandbox logic.
Then you can ...
0
votes
How to burn total issuance
Use sudo like Shubham said. Or you can use governance to get the root origin.
And I think using burn is better than force_set_balance.
Also, you can write migration code by calling burn_from in the ...
0
votes
How to burn total issuance
You can set balance of a particular account using force_set_balance method of balances pallet. It sets a new free balance for a particular account you just need to pass the amount you want that ...
0
votes
Accepted
Substrate: Transfers Work Only for Genesis Accounts, Not New Wallets
Got the solution. ExistentialDeposit should not be 0. I just set it 1 (the smalest unit). And problem solved.
Top 50 recent answers are included
Related Tags
substrate-node-template × 632polkadot × 81
pallet × 79
rust × 70
substrate-node × 69
polkadot-js × 48
substrate-parachain-template × 43
substrate-contracts-node × 29
runtime × 26
pallet-contracts × 21
parachain × 19
offchain-worker × 17
substrate-front-end × 17
rpc × 16
nodes × 16
storage × 14
blockchain × 14
block-production × 14
consensus × 13
relay-chain × 13
frontier × 12
docker × 12
evm × 11
polkadot-sdk × 11
babe × 10