Questions tagged [blockchain]
The blockchain tag has no usage guidance.
53
questions
4
votes
0
answers
68
views
Genesis Sync and History: Are Archive Nodes Indispensable?
I've been exploring the intricacies of node types in Polkadot and other Substrate-based networks and came across a scenario that has left me curious. I understand that full nodes and archive nodes ...
1
vote
0
answers
23
views
how to solve mismatched type error in substrate?
I have been integrating paritytech frontier(0.9.43) version with the substrate 0.9.43 version . while integrating when i added frontier changes in rpc.rs and service.rs file i am facing this error. ...
1
vote
1
answer
59
views
while building an application logic (use macros in a custom pallet)
[][in build an application logic im facing this error im new to substrate please help me fix this.]
0
votes
0
answers
22
views
Build a blockchain
I'm following substrate documentation in that build a blockchain tutorial while following the monitoring node metrics tutorial.
I got stuck while installing prometheus on my ec2 instance is there any ...
5
votes
1
answer
71
views
Extrinsics In Genesis Block
All the Substrate-based chains that I know of have no transactions in the genesis block.
The genesis block is the same data structure as all other blocks and therefore does have a body and a Vec<...
0
votes
1
answer
39
views
council execution giving bad origin error?
I am using substrate blockchain which is on polkadot-v0.9.36 . I have made proposal through council which is of balance.forcetransfer, and did majority voting in aye.After completion , when I close ...
1
vote
1
answer
27
views
I got this error while building a blockchain (building a local blockchain)
when i run node template without --ws external its producing blocks but when i run with --ws external its giving me error please help me fix this im new to substrate.
1
vote
1
answer
37
views
Incorrect transaction fee estimation when payout
I have been working on payout in my L0 relay chain blockchain .While making payout I have observed the transaction fee that is deducted from my account and the actual fee that is been deducted are ...
1
vote
1
answer
40
views
polkadot explorer getting stuck while using utility and sudo pallet from extrinsics
I am trying to do a runtime upgrade of my blockchain that is layer 0 chain running on version polkado-v0.9.36 . I also have (ethereum virtual machine integrated to it ).
When I do runtime upgrade ...
1
vote
1
answer
45
views
Getting schedular overweight error while doing runtime upgrade
I am trying to do a runtime upgrade through democracy referenda and the steps I performed are as follows:
create pre-image.
submit pre-image through democracy .
endorse
voting .
After this I am ...
5
votes
1
answer
104
views
After doing runtime upgrade getting contract not found in substrate contracts ui
I am doing runtime upgrade of substrate blockchain from 0.9.36 --> 0.9.37 --->0.9.43 . And i have some contracts deployed on the running blockchain which is running on 36 version . After doing ...
0
votes
1
answer
27
views
While authorizing specific nodes in building a blockchain i got the following error
I got this error while authorizing specific nodes in building a blockchain.
It gives me error like this.
error: failed to select a version for `bounded-collections`.
... required by package `sp-...
0
votes
0
answers
44
views
Unable to verify WASM contract in Substrate Astar
I'm encountering difficulties while attempting to verify my WASM smart contract through Astar's Subscan tool. Despite multiple attempts using various options, the verification process remains ...
0
votes
0
answers
74
views
Getting error after doing runtime upgrade to substrate v1.0.0
I am trying to do runtime upgrade of substrate blockchain which is running on 0.9.36 version to substrate version v1.0.0 . While doing runtime upgrade chain stops working and getting this error in ...
0
votes
0
answers
20
views
Collator starts after more than 10 hours on Azure cloud
I am migrating from AWS to Azure Cloud. I have two parachain collators running. One on AWS (yet to migrate) and another on Azure Cloud (migrated).
Whenever I restart the service on AWS, it hardly ...
0
votes
1
answer
12
views
Do you know any ready-to-start substrate based blockchain that I can take as fundament for my blockchain?
Is there any ready open blockchain to start? I need the one with staking and with opportunity to make new tokens. To send tokens with other users in this blockchain. Or maybe someting close to this.
I ...
2
votes
1
answer
116
views
how to solve the sys error in substrate polkadot branch (polkadot-v0.9.43)
I have been integrating EVM(43 version) in 43 version of substrate. while adding files to runtime module i am getting sys error while building it .I want to know how to solve
this error
1
vote
1
answer
53
views
I got this error while building a blockchain
Encountered the following error while simulating a network when running the command:
./target/release/node-template purge-chain --base-path /tmp/alice
--chain local
I got error indicating
/tmp/...
0
votes
1
answer
53
views
I got this error while doing simulating a network when building a blockchain
I encountered the following error while simulating a network when running the command:
./target/release/node-template purge-chain --base-path /tmp/alice --chain local
i got error indicating /tmp/...
2
votes
2
answers
117
views
How to start substrate-node-template and substrate-front-end-template remotely?
I want to start my own blockchain. I try to start substrate-node-template and substrate-front-end-template remotely, but there is guide instructions only for local machine. I installed and compiled ...
1
vote
1
answer
191
views
Is parachain a data structure?
In Polkadot docs, Parachain is defined as:
A parachain is an application-specific data structure that is globally
coherent and can be validated by the validators of the Relay Chain.
Why have they ...
3
votes
0
answers
29
views
ink dapp asking to sign transactions everytime i reload
so i am building a dapp with ink
it has messages to get data and put data
and on FE when i logged in with the polkadot-js extension wallet
everytime i reload the page it asks me to sign the ...
3
votes
1
answer
47
views
How can I sign and execute transactions using custom origin(20 bytes address) in PolkadotJS
I have a pallet which ensures a particular custom origin of H160(20 bytes). Actually, this pallet is to ensure that the Origin is that of an ethereum address(20 bytes).
I am therefore writing ...
3
votes
1
answer
245
views
What happens in epoch of a blockchain?
I have been working on a substrate blockchain. I want to know about the events and process happening in each epoch of blockchain and what are the concepts behind the epoch?
4
votes
2
answers
36
views
Modifying substrate-node-template for voting system use case
As a major project for my college, we are trying to modify the substrate node template for the voting system use case. Can anyone guide us on what would be the most important modules, palettes, and ...
5
votes
1
answer
196
views
what problems does the relay chain solve? general questions about blockchain interoperability
why would blockchains interoperate, what are some real world problems with real scenarios blockchain interoperability solve?
i keep hearing easier transfer of value from one blockchain to another but ...
5
votes
0
answers
29
views
eip-681 equivalent for Polkadot to generate qrcodes
I'm developing an app and there I have the possibility to generate qrcodes to ask for payments in multiple blockchains using multiple tokens. For EVM blockchains I do have the eip681 to guide me (...
1
vote
0
answers
94
views
how i can pay transaction fees through custom token
i am currently using substrate full node . and i have created non native custom tokens through assets like of name KAR . when i transfer these custom tokens i.e KAR from one account to another the ...
2
votes
1
answer
91
views
Error when building libsecp256k1 for Rust
I am trying to use the libsecp256k1 library in a no-std environment and I get the following error when building the contract:
[wasm-validator error in module] unexpected true: memory max >= ...
3
votes
1
answer
75
views
Chatbot Trained on Substrate-based Chains and Repositories for General Reference and Help [closed]
I'd like to propose an idea for creating a general reference and help tool utilizing a chatbot trained on data from Substrate-based chains (e.g., Polkadot, Kusama, Parachains) and their associated ...
1
vote
1
answer
30
views
Is there a way to set a fixed Local Peer ID in a Substrate blockchain?
I am currently working with a Substrate blockchain and I was wondering if there is a way to set a fixed Local Peer ID, instead of it being generated dynamically every time the node starts up. I have ...
1
vote
1
answer
73
views
how to Decrease the unbonding Time in substrate?
i am working on substrate blockchain its era time and epoch are set too 2 minutes and when i changed unbonding duration to 4 min in blockchain it is working fine . when i have added evm base to to ...
0
votes
1
answer
34
views
is there any api for get substrate api client verison?
all.
Currently sidecar owns a api "/node/version" for get polkadot node version.
But is there any api could return sidecar api version for us?
7
votes
1
answer
228
views
usage parity-db instead of rocksdb
in the substrate-node-template case , I don't want to compile rocks-db at all. how it would be possible compile parity-db instead of rocks-db?
3
votes
1
answer
272
views
build failed with substrate chain on rocksdb in linux
I followed this tutorial https://docs.substrate.io/tutorials/get-started/build-local-blockchain/. I got the below error when run cargo build --release. How can I fix it?
cargo build -v --release
...
0
votes
0
answers
15
views
Blockchain development under 200GB?
I'm trying to make meaningful code contributions to Substrate/Polkadot ecosystem in the hopes of becoming a Blockchain developer one day. I tried the Substrate approach and discovered that it takes ...
3
votes
1
answer
63
views
How can a full node reconstruct the entire chain state using just block headers?
Reading the docs, something confused me :
Although older blocks are discarded, full nodes retain all of the block headers from the genesis block to the most recent block to validate that the state is ...
1
vote
0
answers
34
views
a blank page when deplying substrate smart contract [duplicate]
am using the guide here https://docs.substrate.io/tutorials/smart-contracts/prepare-your-first-contract/
To deploy the flipper after filling the second form as required i the page goes blank
The ...
2
votes
1
answer
41
views
How to get the Hash's length?
I'm trying to get the length of hash. Currently, I tried to make use of len_bytes() like in this docs. But I encountered an error like the below image.
Please help to solve this.! Thanks in advanced.
7
votes
1
answer
142
views
The purpose of epochs in staking
What problem do epochs in staking solve? Why don't stakers win stakes by something as simple as generating data from history + the latest block (so that precomputing stakes is not possible), and then ...
0
votes
0
answers
84
views
Getting error unable to author blocks while starting blockchain
I am building a blockchain using substrate framework and after adding the required pallets, and compiling them successfully getting a runtime error Unable to author block in slot 413737816,. ...
1
vote
1
answer
50
views
Substrate-based PoW Public Blockchains
Are there any public Substrate-based running PoW chains out there except Kulupu?
If you know, please share some links.
0
votes
2
answers
63
views
How to create a subscription pallet?
As the title is descriptive, I would like to create a subscription pallet. A user needs to subscribe first and the receiver can receive the payment every month.
Any idea how to design this pallet?
1
vote
0
answers
51
views
Guidelines for Substrate based standalone blockchain with POS consensus
what are the guidelines to create a standalone substrate blockchain with POS consensus mechanism and people can join the network as validators and get rewards?
4
votes
1
answer
54
views
Are there ways to suppress blockchain growth rate (in terms of storage)?
So during my testing I found out that with just 1 node running, on an npos consensus, my chain grew from 110 Mb to 990 Mb within two days. Is this expected? Are there strategies for controlling the ...
4
votes
2
answers
209
views
How to build prefixed key for rocksdb
I would like to know how can the key for the state System Events storage can be built for a given block hash/height
2
votes
1
answer
214
views
Automate discovery of new peer node
I was trying to automate peer discovery of my newly launched substrate network, and can't find any documentation related to that, it would be really helpful if someone can point to any available ...
11
votes
2
answers
232
views
What is sealing in a blockchain?
What is meant by terms like Sealing, InstantSeal, ManualSeal, etc. (please add them here if you know more kinds of seals).
6
votes
1
answer
493
views
How do you add new validators for your blockchain testnet?
I have a launched a Rococo staging style relay chain testnet.
I am currently the sudo and I would like to go through the process of inviting other people to become validators.
What steps do I need to ...
4
votes
1
answer
69
views
polkadot canvas testnet contract deploy error "contracts.contractTrapped"
I'm trying to deploy basic erc20 example contract on rococo canvas but "contracts.ContractTrapped" error popped on deployment? most probably its a problem in INK release version I'm using ...