Conversation
aljo242
commented
Mar 17, 2026
- Add LoadTestBroadcaster for in-process tx signing/broadcast (gRPC+RPC)
- Add TestHeavyLoadLight (10k txs) and TestHeavyLoad (env-gated)
- Split CI: short suite (~5-7min) on PRs, extended (~30min) on main
- Add testing.Short() guards to slow tests (upgrade, stability, protocolpool)
- Fix LoadTestBroadcaster gRPC connection leak (Close method)
- Fix TPS division-by-zero when single block has txs
- Add TestNodePauseResume short guard
- Add LoadTestBroadcaster for in-process tx signing/broadcast (gRPC+RPC) - Add TestHeavyLoadLight (10k txs) and TestHeavyLoad (env-gated) - Split CI: short suite (~5-7min) on PRs, extended (~30min) on main - Add testing.Short() guards to slow tests (upgrade, stability, protocolpool) - Fix LoadTestBroadcaster gRPC connection leak (Close method) - Fix TPS division-by-zero when single block has txs - Add TestNodePauseResume short guard Made-with: Cursor
Greptile SummaryThis PR adds a programmatic in-process load testing framework (
Confidence Score: 2/5
Important Files Changed
Last reviewed commit: "fix(systemtests): co..." |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26108 +/- ##
==========================================
- Coverage 64.97% 64.86% -0.11%
==========================================
Files 873 874 +1
Lines 57419 57559 +140
==========================================
+ Hits 37306 37335 +29
- Misses 20113 20224 +111 🚀 New features to boost your workflow:
|
Made-with: Cursor
Made-with: Cursor # Conflicts: # tools/systemtests/broadcast.go
| defer wg.Done() | ||
| for j := range jobs { | ||
| bc := broadcasters[j.nodeAddr] | ||
| txHash, code, err := bc.BroadcastBankSendUnordered(j.senderName, j.receiverAddr, "10stake", "1stake", j.idx) |
There was a problem hiding this comment.
hmm it would be nice to figure out how we can do regular txs, there is some overhead with unordered that has a non-negligible effect on block timing
There was a problem hiding this comment.
ah shiii maybe mix of both? if they all do not have nonce conflicts we could
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
|
@greptile re-review and give me a new score |
Set account number and sequence for ordered broadcasts so BroadcastBankSend does not sign with default zero values, and cache unordered account numbers per sender to avoid redundant account lookups during load tests. Also align the mini load test comment with its actual tx count. Made-with: Cursor
|
@greptile i updated - can you re-review and give new score |