Questions tagged [local]
The local tag has no usage guidance.
12
questions
0
votes
1
answer
40
views
Failing to create an asset on Trappist parachain
I cloned the trappist repo, and I successfully run cargo build --release.
After running ./target/release/trappist-node --dev I tried to create an asset by using the create extrinsic placed inside the ...
2
votes
1
answer
36
views
Added ROC token on local Rococo account created using cumulus
I have Alice, bob and so on accounts created by cumulus itself. However, these account's have only 1 MUnit and I want to add more of them. I already tried !drip in faucet but that account is not added ...
2
votes
1
answer
57
views
Replacing Endowed Account Address in a Local Substrate Blockchain: A Tutorial
Hello Substrate community!
If you have been following the tutorial on building a local blockchain using Substrate, you may have noticed that your address is hard-coded in a JSON file.
To replace your ...
2
votes
1
answer
70
views
Is it possible to write-access Local Storage from the Node?
My use case is this:
an Offchain Worker sends Http requests to certain endpoints.
These endpoints are hardcoded on chain under current implementation.
I would like to be able to configure those ...
2
votes
0
answers
78
views
Offchain cache/view of on-chain storage data
I am implementing a pallet, that stores in on-chain storage (aka StorageNMap's) some user provided data. Pallet is performing offchain computations by iterating on-chain storage from offchain-worker ...
2
votes
1
answer
39
views
can't use BTreeMap with custom key struct for offchain Local Storage
I'm trying to use sp_std::collections::btree_map::BTreeMap for offchain worker Local Storage.
While
let foo = StorageValueRef::persistent(b"bar::foo");
foo.get::<BTreeMap<u32, u32>&...
2
votes
1
answer
76
views
How to fix slow parachain block time on rococo-local?
Hello valuable Substrate community,
I started two rococo-local relaychain validators and one custom parachain. The target block time of the parachain is 12 seconds, but the actual block time is 24 ...
4
votes
1
answer
122
views
How to verify that a signed payload of an unsigned extrinsic is signed by a local account?
I've been following the how-to guide to implementing unsigned extrinsic call with a signed payload.
My pallet defines the following KeyTypeId:
pub const KEY_TYPE: KeyTypeId = KeyTypeId(*b"ver!&...
2
votes
0
answers
29
views
No new blocks with dockerized local RPC node
I want to run the substrate node locally(with docker) to use it as an RPC provider(via ws). I want to use "author.pendingExtrinsics" method as well as "chain.subscribeNewHeads" and ...
1
vote
1
answer
47
views
Extend parachain lease on local testnet
I have a local testnet running and it works until the first lease period is up. Once the first lease period finishes the chain stops producing blocks. I am looking for an easy way to submit some ...
1
vote
1
answer
69
views
Not able to build local blockchain as per documenation tutorial
Getting the following error and not able to build my first local blockchain using the documentation tutorial:
3 warnings generated.
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ...
5
votes
2
answers
103
views
Run parachain as local regular chain
Working on a parachain, the executable that is build is a collator node. It will run both the parachain and the relay-chain nodes.
For pallet development (pure product, unrelated to the chain being a ...