Skip to content

fix(state)!: ProcessProposal should get CoreChainLockedHeight from block - #625

Merged
lklimek merged 5 commits into
v0.12-devfrom
fix/CoreChainLockedHeight
Apr 28, 2023
Merged

lklimek merged 5 commits into
v0.12-devfrom
fix/CoreChainLockedHeight

Conversation

@lklimek

@lklimek lklimek commented Apr 26, 2023 •

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

CoreChainLockedHeight is executed in the same block as proposed. Right now, ProcessProposal receives old value.

What was done?

ProcessProposal reads CoreChainLockedHeight from proposed block, not from state.

How Has This Been Tested?

  • unit tests pass
  • integrated into Platform v0.25

Breaking Changes

Core chain lock behavior changed.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@lklimek
lklimek marked this pull request as ready for review April 27, 2023 14:44

@shotonoff shotonoff left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@lklimek
lklimek merged commit 5ffc653 into v0.12-dev Apr 28, 2023
@lklimek
lklimek deleted the fix/CoreChainLockedHeight branch April 28, 2023 09:54
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.

2 participants