Questions tagged [authorship]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers
139 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 ...
Pawan Bisht's user avatar
6 votes
1 answer
96 views

When are you required to change the `authoring_version` for forkless runtime upgrades?

In the Substrate documentation here and the Substrate reference documentation here it says the authoring_version "is the version of the authorship interface. An authoring node will not attempt to ...
Luke Schoen's user avatar
  • 2,262
2 votes
1 answer
38 views

What are uncles?

Coming across a few pallets like Authorship, one finds a frequent mention of Uncles or UncleGenerations. What are uncles?
Purple_Turtle's user avatar
1 vote
2 answers
44 views

Heartbeats are not sent from authority nodes

I was looking into the code of im-online pallet and found the following function here, if false is returned, a heartbeat is sent else AlreadyOnline Error is returned; fn is_online_aux(authority_index: ...
Shubham Gupta's user avatar
1 vote
0 answers
23 views

How to get the author of specific block in a custom pallet using Aura and pallet_authorship?

I wonder if it's possible to get the peerid of the author node of a specific block in a custom pallet, I implemented the authorship pallet for the runtime in this way.
viac92's user avatar
  • 87
1 vote
0 answers
31 views

pallet_authorship implementation doesn't work with Aura consensus

I'm trying to get the authors of the blocks using the pallet_authorship but when I inspect the authorship on the polkadot.js app I get none as result. This is my implementation of the ...
viac92's user avatar
  • 87
0 votes
1 answer
32 views

How to use frame support FindAuthor trait in a custom pallet

I'm trying to use frame_support::traits::FindAuthor in my pallet for a custom logic. I imported the traits and I tried to loose coupling it. this is my config: #[pallet::config] pub trait Config: ...
viac92's user avatar
  • 87