Skip to main content

New answers tagged

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 ...
aurexav's user avatar
  • 11.2k
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-...
CocDap's user avatar
  • 750
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<...
Deepak Chaudhary's user avatar
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/...
aurexav's user avatar
  • 11.2k
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 ...
bkchr's user avatar
  • 11.8k
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 ...
aurexav's user avatar
  • 11.2k
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 ...
Shubham Gupta's user avatar
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.
splagov's user avatar

Top 50 recent answers are included