Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Generic AuthorId in author-inherent pallet #93

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

nanocryk
Copy link
Contributor

Make author-inherent pallet generic over the type of the author id, instead of forcing using AccountId. This can be useful for chains having authors without an AccountId.

Breaking changes

Adds a new associated type AuthorId. Existing implementors should simply add type AuthorId = AccountId in their impl.

@librelois librelois merged commit 7779f7b into main Jun 19, 2023
4 checks passed
@librelois librelois deleted the jeremy-generic-author-inherent-id branch June 19, 2023 15:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants