Repository navigation
fix: withdrawal (asset unlock) txes to use Platform Quorum on RegTest - #5800
Conversation
|
Guix Automation has began to build this PR tagged as v20.1.0-devpr5800.d6909f8f. A new comment will be made when the image is pushed. |
|
guix flag to get a docker image |
|
Guix Automation has completed; a release should be present here: https://github.com/dashpay/dash-dev-branches/releases/tag/v20.1.0-devpr5800.d6909f8f. The image should be on dockerhub soon. |
PastaPastaPasta
left a comment
There was a problem hiding this comment.
utACK for squash merge; this is more of a refactor than a fix imo; but I guess it changes behavior on regtest so it's fine. 👍
|
|
||
| self.mine_cycle_quorum(llmq_type_name='llmq_test_dip0024', llmq_type=103) | ||
|
|
||
| for i in range(3): |
There was a problem hiding this comment.
| for i in range(3): | |
| for _ in range(3): |
| coin = coins.pop() | ||
| asset_lock_tx = self.create_assetlock(coin, locked_1, pubkey) | ||
|
|
||
|
|
All changes here are necessary here to change quorum. That's almost minimal fix when commits are squashed, so, that's a fix, not a refactoring. |
…dashpay#5800) ## Issue being fixed or feature implemented Asset Unlock tx uses platform's quorum on devnets, testnet, mainnet, but still quorum type "Test (100)" on Reg Tests That's part II PR, prior work is here: dashpay#5618 ## What was done? - Removed `consensus.llmqTypeAssetLocks` which has been kept only for RegTest - use `consensus.llmqTypePlatform` instead. - Functional test `feature_asset_locks.py` uses `llmq_type_test = 106` instead `llmq_type_test = 100` for asset unlock tx - there's 4 MNs + 3 evo nodes instead 3 MNs as before: evo nodes requires to have IS to be active ## How Has This Been Tested? Run unit/functional tests ## Breaking Changes Asset Unlock tx uses correct quorum "106 llmq_test_platform" on reg test instead "100 llmq_test" ## Checklist: - [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
Issue being fixed or feature implemented
Asset Unlock tx uses platform's quorum on devnets, testnet, mainnet, but still quorum type "Test (100)" on Reg Tests
That's part II PR, prior work is here: #5618
What was done?
consensus.llmqTypeAssetLockswhich has been kept only for RegTest - useconsensus.llmqTypePlatforminstead.feature_asset_locks.pyusesllmq_type_test = 106insteadllmq_type_test = 100for asset unlock txHow Has This Been Tested?
Run unit/functional tests
Breaking Changes
Asset Unlock tx uses correct quorum "106 llmq_test_platform" on reg test instead "100 llmq_test"
Checklist: