-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
import emission reward ranges #2499
Conversation
Pull Request Test Coverage Report for Build c32976dc-11e5-4a02-9327-e351a3e81b9d
💛 - Coveralls |
fed99fe
to
e935246
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ayrat555 PR checklist👮 is here. You introduced a new ENV VAR and didn't add to the list of PRs in corresponding MD file. I would suggest not to clear checklist but look over it and add necessary marks.
Also, it is hard to tell how the solution works without description. Please, clarify how the solution works. It will help to find possible bugs in the logic before we published it into production.
@vbaranov done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please set master
for Version column. Because we cannot know for sure, that it will be a part of 2.0.3 release. I will update the version before release.
All you need to do is set CHAIN_SPEC_PATH env var with parity chain specification or create a similar specification with emission reward ranges and genesis account balances.
- Should it be a local file?
- absolute/relative path?
- Could it be a link to a chain spec on Github, for instance
I think we should support both options (local file/link). For public chains, it is preferable to use the latter option since spec is published in Github.
@vbaranov currently it only supports absolute path. I'll implement fetching from url now |
@vbaranov I added the ability to fetch from remote url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- which DB tables do you fill with data from chain spec?
- Where do you write genesis balances?
@ayrat555 |
@vbaranov |
@vbaranov |
I created an issue #2546 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vbaranov will you create a separate issue? |
sounds good to me |
a part of #2493
fixes #2489
closes #2080
Changelog
Upgrading
All you need to do is set
CHAIN_SPEC_PATH
env var with parity chain specification or create a similar specification with emission reward ranges and genesis account balances.I'll abstract this logic for POA Network in the next PR