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

Fix fast sync on Kusama #1367

Merged
merged 91 commits into from
Nov 3, 2022
Merged

Fix fast sync on Kusama #1367

merged 91 commits into from
Nov 3, 2022

Conversation

Harrm
Copy link
Contributor

@Harrm Harrm commented Oct 11, 2022

Referenced issues

Part of #1164

Description of the Change

  • Unknown authorities are ignored
  • When we are unable to finalize a block with justification, we just move forward
  • Some minor changes in authority manager

Benefits

Kusama can be fast sync'ed.

Possible Drawbacks

None expected.

Alexander Krutikov and others added 30 commits August 4, 2022 14:41
apply sync state and start validating (#1164)

move syncState call into babe (#1164)
recursive fast sync call (#1164)
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
* feature: change logging level over RPC

Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
core/consensus/authority/impl/authority_manager_impl.cpp Outdated Show resolved Hide resolved
core/consensus/authority/impl/authority_manager_impl.cpp Outdated Show resolved Hide resolved
core/consensus/authority/impl/schedule_node.hpp Outdated Show resolved Hide resolved
core/consensus/babe/types/slot.hpp Outdated Show resolved Hide resolved
core/consensus/grandpa/CMakeLists.txt Outdated Show resolved Hide resolved
core/consensus/grandpa/impl/vote_crypto_provider_impl.cpp Outdated Show resolved Hide resolved
core/network/impl/stream_engine.hpp Outdated Show resolved Hide resolved
core/primitives/babe_configuration.hpp Outdated Show resolved Hide resolved
core/runtime/common/runtime_environment_factory.cpp Outdated Show resolved Hide resolved
core/runtime/common/runtime_environment_factory.cpp Outdated Show resolved Hide resolved
core/network/impl/stream_engine.hpp Show resolved Hide resolved
@xDimon xDimon enabled auto-merge (squash) November 3, 2022 08:03
@xDimon xDimon force-pushed the feature/kusama-fast-sync-fix branch from 84f7095 to 715f0c9 Compare November 3, 2022 08:17
@xDimon xDimon disabled auto-merge November 3, 2022 08:17
@xDimon xDimon enabled auto-merge (squash) November 3, 2022 08:18
@xDimon xDimon merged commit e47d231 into master Nov 3, 2022
@xDimon xDimon deleted the feature/kusama-fast-sync-fix branch November 3, 2022 09:17
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.

5 participants