Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show block author #1438

Open
victormunoz opened this issue May 24, 2024 · 3 comments
Open

Show block author #1438

victormunoz opened this issue May 24, 2024 · 3 comments
Labels

Comments

@victormunoz
Copy link

I have created a new substrate blockchain using the frontier node template.
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Falice.ekratos.cat#/explorer
Everything works, but in the Polkadot portal, the recent blocks only show the block number and hash, but do not show the block author (like I see in all other networks). Why?

@koushiro
Copy link
Collaborator

koushiro commented May 26, 2024

@victormunoz I think this is caused by polkadot-apps, you need to register your chain as ethereum type

See https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/settings/ethereumChains.ts for details.

Hmm, I see you already use the frontier-template as the runtime name for your chain(although I don't recommend doing this), so polkadot-apps has treated your chain as ethereum chain . That's weird.

@koushiro
Copy link
Collaborator

koushiro commented May 26, 2024

The current frontier template also has this problem, now I'm not sure if it's caused by some configs of polkadot-apps.

@victormunoz
Copy link
Author

My question is why I don't see the block author in the recent blocks table. Are you sure you are answering this?
In stackexchange someone answered that this is related to the authorship-pallet that is missing: https://substrate.stackexchange.com/questions/11470/show-block-author/
This makes more sense to me, but I still don't know how to add this pallet to Frontier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants