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

IS-929: Fix a bug on PRepEngine._reset_block_validation_penalty #392

Merged

Conversation

goldworm-icon
Copy link
Member

@goldworm-icon goldworm-icon commented Dec 2, 2019

  • Change the target prep list to reset the block validation penalty from engine.preps to context.preps
  • Change the condition to pick up the P-Reps to reset the block validation penalty
  • Rename PRepEngine._release_block_validation_penalty() to RepEngine._reset_block_validation_penalty()
  • Add a unittest to prep/test_engine.py

@goldworm-icon goldworm-icon self-assigned this Dec 2, 2019
@cow-hs cow-hs self-requested a review December 2, 2019 04:23
* Add a unittest to prep/test_engine.py
@goldworm-icon goldworm-icon force-pushed the IS-929-bugfix-reset-block-validation-penalty branch from 771b711 to 5555808 Compare December 2, 2019 06:41
@goldworm-icon goldworm-icon merged commit 3bc25c4 into develop Dec 2, 2019
@goldworm-icon goldworm-icon deleted the IS-929-bugfix-reset-block-validation-penalty branch December 2, 2019 09:43
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