Questions tagged [block]

The tag has no usage guidance.

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

manually creating new blocks with Babe

Currently my consensus engine is Babe, and my finality gadget is Grandpa. But for testing environments I'm wondering if that there is a way to manually force the engine to produce a new block when I ...
user avatar
4 votes
2 answers
204 views

Why could we find the same transaction hash in 3 different blocks?

We found that this transaction 0xf35238b1ef440e2a04576c8264ca8288100091a3d4c71069f0336c72078f366b was included into the following three different blocks : 10219793 10219254 10218427 Could you ...
user avatar
  • 721
1 vote
2 answers
39 views

What is an empty block's size?

Could you please help me to understand how much space in a node does an empty block with no extrinsics/transactions take up?
user avatar
0 votes
1 answer
47 views

Get a byte size of single extrinsic/transaction

I am trying to calculate how many transactions can fit into a single block. I have a block limit of 5mb. How can i learn the byte size of a single submitted transaction so i can estimate how many ...
user avatar
0 votes
0 answers
22 views

Custom Transaction type

I'm trying to create a layer 2 blockchain. In this blockchain, I do some computing to add to a transaction. Basically, I want to add a custom type to store in the block alongside Extrinsics. Are there ...
user avatar
  • 583
6 votes
2 answers
191 views

Transactions lifecycle

I was wondering what is the process of a transaction being removed or dropped from a transaction pool. When a transaction is submitted to the network, It is validated by a node and then gossiped to ...
user avatar
  • 616
6 votes
1 answer
60 views

How can I get a deeper / lower level insight into how my transaction is processed with sidecar?

How can I see in more detail what operations are executed when my transaction is submitted ? If there is a way to see all operations/extrinsics/calls that happened in a specific block then that could ...
user avatar
  • 721
5 votes
1 answer
34 views

fee economics around remark

From looking at the source code, it looks like system pallet's remark extrinsic has null weight. Even though remarks don't add anything in terms of block execution, one could argue it's still having ...
user avatar
3 votes
1 answer
51 views

How to compute the fees of a block

Having a block with all the extrinsics/events, what code should I write (preferably using polkadotJs) to compute the total amount of fees paid?
user avatar
  • 546
5 votes
1 answer
34 views

Is it clear what is behind the block time slow down we're seeing in Kusama Parachains, and how close is it to being solved?

We've seen a significant slow down of block time on Kusama. It seems that this may be related to the deployment od client v0.9.16. It is clear what is behind the slow down? If so, how close are we to ...
user avatar
6 votes
2 answers
64 views

What is the internal logic of `--force-authoring` flag?

From where do I get the internal logic of --force-authoring flag? Here is my scenario: I've added a custom chain-spec that is similar to the default one where we are setting the environment for --dev ...
user avatar
0 votes
1 answer
19 views

How to retrieve the block author of a specific block using Polkadot JS API?

In their docs, they showed how to get the author of the newest blocks, but I want to get the author of a specific block. How can I do that?
user avatar
2 votes
3 answers
82 views

Can we query blocks by (extrinsics) timestamp?

Can we query block data by timestamp? If so what time is the correct one to use? For a typical block object, there's a time property that seems to always be undefined, but the first extrinsic (index 0)...
user avatar
  • 335
8 votes
4 answers
104 views

How to configure a Substrate Network with Injected Block History from a snapshot or database backup?

Is it possible to use the chain specification file or some other mechanism to configure a Substrate network with injected block history? In this case, the motivation is CI/CD/testing, but I can see ...
user avatar
4 votes
2 answers
57 views

Can the metadata of Polkadot change?

As far as I know, the metadata of Polkadot is version 14. Assuming that the metadata version is not updated, Can the metadata of the recent block be different? ex) Block(#9135844)'s metadata != Block(#...
user avatar
  • 415