Commit 5b4d7bf
committed
Merge #7447: test: cover DIP-0023 MnEHF version-bit reuse in
06b90f3 test: cover DIP-0023 MnEHF version-bit reuse in IsValidMNActivation (UdjinM6)
Pull request description:
## Issue being fixed or feature implemented
Add a unit test asserting that a historical MnEHF signal for a buried deployment stays valid on reindex after its version bit is reused by a newer deployment whose window has not started yet, as DIP-0023 permits.
## What was done?
The test reconfigures the permanent `testdummy` deployment (never buried) as an EHF deployment with a future window and checks that a query before that window is still accepted. It passes on current behavior and fails if `IsValidMNActivation()` starts rejecting known-but-out-of-range bits.
## How Has This Been Tested?
## Breaking Changes
## 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
- [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
ACKs for top commit:
PastaPastaPasta:
utACK 06b90f3
Tree-SHA512: 2ef42df67635bb1aae595ff440bd463f211013a55a3af1fc7f0d8ae7b62aa83035c28d6c7b71362e888627bd409ca492cde8658ad7683a5537ce41bc0eb0438cIsValidMNActivation
1 file changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
86 | 136 | | |
0 commit comments