Questions tagged [blockchain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
14 views

Rpc call showing empty in evm integrated chain?

i have been working on polkadot layer 0 chain. i have integrated evm frontier on layer 0 chain and everything is working fine .when i try to call rpc (eth.getcode) it is showing empty . can some ...
Karanvir Singh's user avatar
1 vote
0 answers
18 views

parachain not producing blocks?

I am using relay chain of polkadot with branch 1.1.0 of polkadot sdk. i have my relay chain running with era and epoch time of 2 minutes each . while changing lease period to 10 minutes and keeping ...
Karanvir Singh's user avatar
1 vote
0 answers
49 views

how can i achieve 10000 tps in layer zero polkadot based chain

I have my blockchain deployed on production . i want some addition in my chain. i want my chain to have 10000 tps .How can i achieve that in my current layer0 chain without using multiple parachains ....
Karanvir Singh's user avatar
0 votes
0 answers
36 views

Updating SLOT_DURATION on Mainnet - Seeking Assistance!

We are facing a challenge regarding our mainnet and we need the guidance and expertise of the community. Currently, we are looking to update the SLOT_DURATION to optimize the performance of our ...
Lucas Cardeal's user avatar
0 votes
1 answer
83 views

Solochain mainnet experiencing problems finalizing blocks after a few months

We are operating a custom Solochain NPOS blockchain with Substrate. After running a stable testnet for months, we promoted to mainnet version 1. Initially the mainnet was operating normally, with ...
Lucas Cardeal's user avatar
0 votes
1 answer
23 views

does substrate chain use longest chain or ghost protocol for fork chioce rule?

i have been going through documentation of substrate . i came through the point of select chain method for forking concept and find out that their are two methods for chain selection Ghost and ...
Karanvir Singh's user avatar
5 votes
0 answers
141 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 ...
ALeSD's user avatar
  • 489
1 vote
0 answers
26 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. ...
Karanvir Singh's user avatar
1 vote
1 answer
62 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.]
Preethi M's user avatar
0 votes
0 answers
34 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 ...
Preethi M's user avatar
5 votes
1 answer
89 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<...
JoshOrndorff's user avatar
  • 1,181
0 votes
1 answer
54 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 ...
Karanvir Singh's user avatar
1 vote
1 answer
37 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.
Preethi M's user avatar
1 vote
1 answer
41 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 ...
Karanvir Singh's user avatar
1 vote
1 answer
44 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 ...
Karanvir Singh's user avatar
1 vote
1 answer
49 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 ...
Shubham Gupta's user avatar
5 votes
1 answer
119 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 ...
Karanvir Singh's user avatar
0 votes
1 answer
48 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-...
Preethi M's user avatar
0 votes
0 answers
60 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 ...
Tom Rowbotham's user avatar
1 vote
0 answers
100 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 ...
Karanvir Singh's user avatar
0 votes
0 answers
24 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 ...
Nitesh B.'s user avatar
  • 101
0 votes
1 answer
24 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 ...
Марина Онищенко's user avatar
2 votes
1 answer
179 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
Karanvir Singh's user avatar
1 vote
1 answer
64 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/...
Preethi M's user avatar
0 votes
1 answer
60 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/...
Preethi M's user avatar
2 votes
2 answers
202 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 ...
Марина Онищенко's user avatar
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 ...
Karanvir Singh's user avatar
3 votes
0 answers
31 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 ...
rahul's user avatar
  • 133
3 votes
1 answer
67 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 ...
dharjeezy's user avatar
  • 419
3 votes
1 answer
281 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?
Karanvir Singh's user avatar
4 votes
2 answers
41 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 ...
Akansha Banerjee's user avatar
5 votes
1 answer
276 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 ...
Dante's user avatar
  • 51
5 votes
0 answers
33 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 (...
Valhalla Hero's user avatar
1 vote
0 answers
99 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 ...
Karanvir Singh's user avatar
2 votes
1 answer
141 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 >= ...
statisticalanomaly's user avatar
3 votes
1 answer
77 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 ...
ALeSD's user avatar
  • 489
1 vote
1 answer
41 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 ...
Gabriel Martinez's user avatar
1 vote
1 answer
94 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 ...
Karanvir Singh's user avatar
0 votes
1 answer
38 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?
Bomax GoGo's user avatar
7 votes
1 answer
262 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?
kayvan jam's user avatar
3 votes
1 answer
308 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 ...
kayvan jam's user avatar
0 votes
0 answers
20 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 ...
amab8901's user avatar
3 votes
1 answer
74 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 ...
Purple_Turtle's user avatar
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 ...
kenn's user avatar
  • 111
2 votes
1 answer
43 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.
shyoski's user avatar
  • 21
7 votes
1 answer
165 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 ...
The Quantum Physicist's user avatar
0 votes
0 answers
94 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,. ...
Shubham Gupta's user avatar
1 vote
1 answer
58 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.
CREESTL's user avatar
  • 474
0 votes
2 answers
66 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?
P.E's user avatar
  • 181
1 vote
0 answers
57 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?
Immanuel John's user avatar