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

Take genesis_storage by ref #4617

Merged
merged 1 commit into from
Jan 14, 2020
Merged

Take genesis_storage by ref #4617

merged 1 commit into from
Jan 14, 2020

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Jan 14, 2020

Instead of having these weird implementation of BuildStorage for &ChainSpec we should just take the genesis_storage by ref. The
BuildStorage trait changed some time ago to take a self ref anyway,
instead of a self value.

Also fixes warnings in frame-staking

Instead of having these weird implementation of `BuildStorage for
&ChainSpec` we should just take the `genesis_storage` by ref. The
`BuildStorage` trait changed some time ago to take a self ref anyway,
instead of a self value.

Also fixes warnings in frame-staking
@bkchr bkchr added A0-please_review Pull request needs code review. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). labels Jan 14, 2020
@bkchr bkchr merged commit b443dda into master Jan 14, 2020
@bkchr bkchr deleted the bkchr-build-storage-by-ref branch January 14, 2020 10:18
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. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants