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

remove useless NimbusBlockImport #43

Merged
merged 5 commits into from
Nov 22, 2024
Merged

remove useless NimbusBlockImport #43

merged 5 commits into from
Nov 22, 2024

Conversation

RomarQ
Copy link
Contributor

@RomarQ RomarQ commented May 10, 2024

This change was authored by @librelois and is part of the work related to the transaction pool improvements on moonbeam.

Historically aura was overcharging fork strategy for parachain at block import, but it's seems no longer necessary.

@JoshOrndorff
Copy link
Contributor

Won't parachain nodes import blocks as best this way? Is that desired now?

@librelois
Copy link
Collaborator

It was a suggestion from parity but for some reasons it doesn't work

@librelois librelois closed this Aug 26, 2024
@JoshOrndorff
Copy link
Contributor

What are you trying to do? Maybe I can share an idea or two.

@RomarQ RomarQ reopened this Nov 19, 2024
@RomarQ
Copy link
Contributor Author

RomarQ commented Nov 19, 2024

What are you trying to do? Maybe I can share an idea or two.

Context for the change: paritytech/polkadot-sdk#4333 (comment)

@crystalin
Copy link
Collaborator

A bit more context to @JoshOrndorff (if you are still around, "Hi" btw :p). Right now import is done from blocks marked as "best" by the relay, but that is slow for user interaction (tx take like 18s to be "validated") so we are now using the "imported" block directly.

@RomarQ
Copy link
Contributor Author

RomarQ commented Nov 20, 2024

@girazoki Are you fine with the changes included in this PR?

@RomarQ RomarQ merged commit 5b507ef into main Nov 22, 2024
10 checks passed
@RomarQ RomarQ deleted the remove-nimbus-block-import branch November 22, 2024 10:29
RomarQ added a commit that referenced this pull request Nov 22, 2024
* remove useless NimbusBlockImport

* fix format

* remove use of new_with_delayed_best_block from template

* keep but deprecate old behaviour

---------

Co-authored-by: Éloïs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants