Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@stanislav-tkach
Copy link
Contributor

Closes #1365.

@stanislav-tkach stanislav-tkach added the A3-in_progress Pull request is in progress. No review needed at this stage. label Jan 14, 2019
@parity-cla-bot
Copy link

It looks like @DarkEld3r signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch 3 times, most recently from 8896dec to c0dd7c7 Compare January 17, 2019 21:44
@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch 16 times, most recently from e01b9b3 to 3296f8d Compare January 31, 2019 10:24
@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch 7 times, most recently from 25edc90 to 1223ae5 Compare February 5, 2019 12:03
/// Authorities API.
pub trait AuthoritiesApi {
/// Returns the authorities at the given block.
fn authorities() -> Vec<AuthorityIdFor<Block>>;
Copy link
Contributor

Choose a reason for hiding this comment

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

AuthorityIdFor is not likely to stick around that much longer. We probably will need AuthoritiesApi to become generic in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rphmeier I hope it can be done outside the scope of this pull request?

@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch from 2e8c27a to db6c584 Compare March 29, 2019 15:09
@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch from 853bc7f to a529be1 Compare March 29, 2019 15:48
@stanislav-tkach stanislav-tkach force-pushed the stas-1369-move-authorities-from-core branch from a529be1 to d7b95a0 Compare March 29, 2019 16:06
@gavofyork gavofyork merged commit 1b98eaf into master Mar 29, 2019
@gavofyork gavofyork deleted the stas-1369-move-authorities-from-core branch March 29, 2019 16:41
MTDK1 pushed a commit to bdevux/substrate that referenced this pull request Apr 12, 2019
* Move authorities interface from Core to consensus

f

* notify all caches of block insert + create with up-to-date best_fin

* merged authorities_are_cached from light_grandpa_import2

* Add ProvideCache trait

* Create helper function for 'get_cache'

* Fix some formatting

* Bump impl version

* Resolve wasm conflicts

* Apply review comments

* Use try_for_each

* Move authorities interface from Core to consensus

f

* notify all caches of block insert + create with up-to-date best_fin

* merged authorities_are_cached from light_grandpa_import2

* Add ProvideCache trait

* Create helper function for 'get_cache'

* Fix some formatting

* Bump impl version

* Resolve wasm conflicts

* Apply review comments

* Use try_for_each

* Move authorities interface from Core to consensus

f

* notify all caches of block insert + create with up-to-date best_fin

* merged authorities_are_cached from light_grandpa_import2

* Add ProvideCache trait

* Create helper function for 'get_cache'

* Fix some formatting

* Bump impl version

* Resolve wasm conflicts

* Apply review comments

* Use try_for_each

* Increment impl_version

* Update lib.rs
liuchengxu pushed a commit to liuchengxu/substrate that referenced this pull request May 31, 2023
Add infrastructure support for the core domain testing
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants