Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

port consolidated security fixes for 1.8.4 to develop; add unit tests associated with consolidated security fixes for 1.8.1 #7983

Merged
merged 2 commits into from
Sep 25, 2019

Conversation

arhag
Copy link
Contributor

@arhag arhag commented Sep 24, 2019

Change Description

Port consolidated security fixes for 1.8.4 to develop

Consolidated Security Fixes ported from 1.8.4 to develop

  • WebAssembly checktime fixes

Co-Authored-By: Matt Witherspoon 32485495+spoonincode@users.noreply.github.com

Add unit tests associated with consolidated security fixes for 1.8.1

The consolidated security fixes for 1.8.1 (#7619) fixed a consensus protocol regression bug introduced in v1.8.0-rc1 (transitioning from v1.7.x to v1.8.1 avoids this unintended consensus change). The producer_to_last_produced map within block_header_state was incorrectly setting a block number within the map that was one less than the intended block number during the normal case when a pending schedule was not promoted to active.

This PR now brings in an augmentation to an existing unit test to check for the expected values in the producer_to_last_produced map.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

arhag and others added 2 commits September 24, 2019 13:07
- WebAssembly checktime fixes

Co-Authored-By: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com>
… produced block numbers in block_header_state
@arhag arhag merged commit b5ea54b into develop Sep 25, 2019
@arhag arhag deleted the port-security-fixes-to-develop branch September 25, 2019 03:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants