Merged
Conversation
🧪 Network TestsTo run network tests for this PR, use: gh workflow run network-tests.yml -f pr_number=900Available test options:
Test types: Results will be posted as workflow runs in the Actions tab. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #900 +/- ##
==========================================
- Coverage 46.65% 46.61% -0.04%
==========================================
Files 329 329
Lines 59168 59179 +11
Branches 59168 59179 +11
==========================================
- Hits 27604 27586 -18
- Misses 30133 30159 +26
- Partials 1431 1434 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ab13b84 to
7d6c346
Compare
7d6c346 to
1a66899
Compare
Member
|
Was it tested in devnet: the config change after network upgrade? Looks like it should be the main upgrade scenario. |
SmaGMan
approved these changes
Sep 17, 2025
Member
Author
|
Yes, network upgrade and then config change was tested manually on devnet |
0xdeafbeef
approved these changes
Sep 17, 2025
1a66899 to
7ef88a8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
usage of updated consensus config broxus/tycho-types#55
Pull Request Checklist
NODE CONFIGURATION MODEL CHANGES
Yes
Consensus config param
download_tasks: u16moved to mempool node config parammax_download_tasks: u16. New default value 250 replaces previous 260.BLOCKCHAIN CONFIGURATION MODEL CHANGES
Consensus config (param 29) field
download_tasks: u16was replaced withmin_sign_attempts: u8anddownload_peer_queries: u8. Compared to v0.2.12, config value stays of the same size, asbroadcast_retry_attemptswas removed from the end of the struct (was added in #867 with new tag which is also removed)COMPATIBILITY
Affected features:
SPECIAL DEPLOYMENT ACTIONS
New genesis round and time must be applied to global config, because
download_peer_queriesaffects overlay id, and new overlay id does not support history from the old genesis.At least a couple of minutes before network upgrade, consensus config param
download_tasksshould be set to 778, so that it will be parsed asmin_sign_attempts= 3 anddownload_peer_queries= 10 by new version. Outdated nodes should not experience high load before upgrade, so that amount of simultaneous download tasks stays low and does not hit 778.Also config may be changed after network upgrade: until then,
download_tasks= 260 will be parsed intomin_sign_attempts= 1 anddownload_peer_queries= 4. It is a valid and operable config, but a rounds rate will be a bit higher than desirable, and high load should be avoided too before config change.PERFORMANCE IMPACT
No impact expected
TESTS
Unit Tests
Covered by config serde in
tycho-typesNetwork Tests
No special coverage
Manual Tests
transfers-30k
network upgrade