Skip to content

Conversation

@foriequal0
Copy link
Contributor

@foriequal0 foriequal0 commented Dec 4, 2019

Related issue: #1884

remagpie and others added 20 commits November 26, 2019 13:54
`block_number_if_term_changed` was returning the current block
number if the term changed, which could be calculated in the outer
scope.
`term_params` should be snapshot every `on_term_close`
`on_open_block` is called when the block is created, before
processing any transactions included in the block.
At `on_term_close`, the term_common_params is not updated to the
new parameters yet. But the parameters in the current block's
state is updated, so we should get the `era` from there.
@foriequal0 foriequal0 added the do-not-merge Do not merge (for mergify.io) label Dec 4, 2019
@foriequal0 foriequal0 mentioned this pull request Dec 4, 2019
@foriequal0
Copy link
Contributor Author

foriequal0 commented Dec 5, 2019

I'll close this. I'll make two PRs, refactors and introduce the era.

Refactor to introduce the snapshot sync #1916
Introduce Era #1917

@foriequal0 foriequal0 mentioned this pull request Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Do not merge (for mergify.io) experimental

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants