You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #6661: feat: remove pre-'withdrawals' logic for enforcing 2 quorums only and related test changes
56711d9 test: flip request-id for asset-unlock-tx instead generation new quorums to get a favour situation (Konstantin Akimov)
4a7937d test: re-order logic related to IS in feature_asset_locks.py (Konstantin Akimov)
825dfdd test: activate v23 earlier (block 750 instead 1050) (Konstantin Akimov)
a039345 test: activate mn_rr in feature_asset_locks.py for better performance (Konstantin Akimov)
75de576 feat: remove pre-withdrawals fork logic for quorum expiration (Konstantin Akimov)
Pull request description:
## Issue being fixed or feature implemented
Fork `withdrawals` is activated long time ago. No more need to test functionality for pre-'withdrawals' fork when only 2 quorum could be used for signing messages.
## What was done?
Removed pre-'withdrawals' logic to enforce using only 2 quorums for signing of withdrawals from code and from functional test `feature_asset_locks.py`
Functional test `feature_asset_locks.py` generate less quorums and less blocks which significantly shortened runtime of this test, 166->139seconds on median; up to 40 seconds if quorum has been generated non-favourable way.
## How Has This Been Tested?
Run in parallel 20 jobs
- PR:
```TEST | STATUS | DURATION
feature_asset_locks.py | ✓ Passed | 133 s
feature_asset_locks.py | ✓ Passed | 134 s
feature_asset_locks.py | ✓ Passed | 134 s
feature_asset_locks.py | ✓ Passed | 134 s
feature_asset_locks.py | ✓ Passed | 135 s
feature_asset_locks.py | ✓ Passed | 135 s
feature_asset_locks.py | ✓ Passed | 137 s
feature_asset_locks.py | ✓ Passed | 138 s
feature_asset_locks.py | ✓ Passed | 138 s
feature_asset_locks.py | ✓ Passed | 139 s
feature_asset_locks.py | ✓ Passed | 139 s
feature_asset_locks.py | ✓ Passed | 140 s
feature_asset_locks.py | ✓ Passed | 140 s
feature_asset_locks.py | ✓ Passed | 140 s
feature_asset_locks.py | ✓ Passed | 141 s
feature_asset_locks.py | ✓ Passed | 141 s
feature_asset_locks.py | ✓ Passed | 142 s
feature_asset_locks.py | ✓ Passed | 142 s
feature_asset_locks.py | ✓ Passed | 143 s
feature_asset_locks.py | ✓ Passed | 143 s
ALL | ✓ Passed | 2768 s (accumulated)
Runtime: 143 s
```
- develop
```
TEST | STATUS | DURATION
feature_asset_locks.py | ✓ Passed | 151 s
feature_asset_locks.py | ✓ Passed | 157 s
feature_asset_locks.py | ✓ Passed | 160 s
feature_asset_locks.py | ✓ Passed | 161 s
feature_asset_locks.py | ✓ Passed | 161 s
feature_asset_locks.py | ✓ Passed | 163 s
feature_asset_locks.py | ✓ Passed | 164 s
feature_asset_locks.py | ✓ Passed | 165 s
feature_asset_locks.py | ✓ Passed | 166 s
feature_asset_locks.py | ✓ Passed | 166 s
feature_asset_locks.py | ✓ Passed | 167 s
feature_asset_locks.py | ✓ Passed | 167 s
feature_asset_locks.py | ✓ Passed | 170 s
feature_asset_locks.py | ✓ Passed | 171 s
feature_asset_locks.py | ✓ Passed | 172 s
feature_asset_locks.py | ✓ Passed | 174 s
feature_asset_locks.py | ✓ Passed | 181 s
feature_asset_locks.py | ✓ Passed | 185 s
feature_asset_locks.py | ✓ Passed | 197 s
feature_asset_locks.py | ✖ Failed | 49 s
ALL | ✖ Failed | 3247 s (accumulated)
Runtime: 197 s
```
## Breaking Changes
Removed pre-'withdrawals' requirement of using only 2 last quorums
## Checklist:
_Go over all the following points, and put an `x` in all the boxes that apply._
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have added or updated relevant unit/integration/functional/e2e tests
- [ ] I have made corresponding changes to the documentation
- [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
ACKs for top commit:
UdjinM6:
light ACK 56711d9
Tree-SHA512: 779194997cff3a00626b0aba8f7026c8c4528f9327f49aa1c8cfb1cad8fa285c881517545951a2cd36d01fdcf928e2d5be2fc65fa8a915678c06f2b9f1fed2c3
0 commit comments