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

grandpa digest #1854

Merged
merged 9 commits into from
Oct 31, 2023
Merged

grandpa digest #1854

merged 9 commits into from
Oct 31, 2023

Conversation

turuslan
Copy link
Contributor

@turuslan turuslan commented Oct 24, 2023

Referenced issues

Description of the Change

  • remove DigestTracker and ConsistencyKeeper
  • refactor AuthorityManagerImpl to use Indexer
  • fix crash offchain submit tx libp2p thread

Benefits

Possible Drawbacks

Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
@turuslan turuslan requested a review from xDimon October 24, 2023 15:51
@turuslan turuslan changed the title indexer (no forced) grandpa digest (no forced) Oct 24, 2023
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>

# Conflicts:
#	core/consensus/grandpa/impl/authority_manager_impl.cpp
#	core/network/impl/protocols/propagate_transactions_protocol.cpp
#	test/core/consensus/grandpa/authority_manager_test.cpp
@turuslan turuslan changed the title grandpa digest (no forced) grandpa digest Oct 28, 2023
@turuslan turuslan marked this pull request as ready for review October 28, 2023 06:23
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
@turuslan turuslan requested a review from kamilsa October 30, 2023 06:59
core/consensus/grandpa/impl/authority_manager_impl.cpp Outdated Show resolved Hide resolved
core/consensus/grandpa/impl/authority_manager_impl.cpp Outdated Show resolved Hide resolved
Comment on lines +102 to +103
outcome::result<std::shared_ptr<const primitives::AuthoritySet>>
AuthorityManagerImpl::authoritiesOutcome(const primitives::BlockInfo &block,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need in-comment explanation (m.b. illustrated) how it works

core/consensus/grandpa/impl/authority_manager_impl.cpp Outdated Show resolved Hide resolved
test/core/consensus/grandpa/authority_manager_test.cpp Outdated Show resolved Hide resolved
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
@turuslan turuslan merged commit 6856585 into master Oct 31, 2023
13 checks passed
@turuslan turuslan deleted the grandpa/indexer branch October 31, 2023 08:43
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.

3 participants