Skip to main content

Questions tagged [authorship]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers

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?
Vitthal agarwal's user avatar
1 vote
2 answers

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
0 votes
1 answer

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
  • 107
2 votes
0 answers

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
  • 107
1 vote
0 answers

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
  • 107
6 votes
1 answer

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,332
7 votes
2 answers

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
3 votes
1 answer

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