Questions tagged [authorship]

The tag has no usage guidance.

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

How to access keystore from pallet?

I want to add keys from a pallet in the keystore so that these keys can participate in the consensus[validation/block authorisation]. Is it possible to perform? If yes how?
1 vote
2 answers
67 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: ...
6 votes
1 answer
118 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 ...
0 votes
1 answer
38 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: ...
2 votes
0 answers
29 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.
1 vote
0 answers
36 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 ...
7 votes
2 answers
181 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 ...
3 votes
1 answer
44 views

What are uncles?

Coming across a few pallets like Authorship, one finds a frequent mention of Uncles or UncleGenerations. What are uncles?