Closed mmsqe closed 3 months ago
The recent changes significantly enhance the transaction management capabilities of the benchmark toolset by introducing batch processing and improved broadcasting mechanisms. The modifications streamline how transactions are funded and processed, improving efficiency and adaptability. Key updates include new functions for building and broadcasting batch transactions, along with adjustments to existing functions to accommodate these enhancements, ultimately improving overall functionality and network reliability.
Files | Change Summary |
---|---|
testground/benchmark/benchmark/sendtx.py testground/benchmark/benchmark/stateless.py |
Updated fund_test_accounts to accept an additional cli parameter and handle transactions in batches using build_batch_tx and broadcast_tx_json . Modified run to include output="json" and increased wait_for_peers timeout from 600 to 2400 seconds. |
testground/benchmark/benchmark/peer.py |
Added a new "db_backend": "rocksdb" entry to the config_patch dictionary in patch_configs , enhancing configuration management without altering existing functionality. |
testground/benchmark/benchmark/utils.py |
Introduced build_batch_tx and broadcast_tx_json functions for batch transaction handling and broadcasting capabilities. |
integration_tests/cosmoscli.py |
Modified event_query_tx_for method to include a new timeout parameter, allowing callers to specify how long to wait for transaction event processing. |
In the land of code where rabbits play,
New features hop forth, brightening the day.
Batch transactions now dance in a line,
Broadcasting joy, making workflows divine!
With each little change, we leap and we cheer,
For the magic of coding brings us all near! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 15.24%. Comparing base (
f3509d7
) to head (09bbf1f
). Report is 1 commits behind head on main.:exclamation: There is a different number of reports uploaded between BASE (f3509d7) and HEAD (09bbf1f). Click for more details.
HEAD has 12 uploads less than BASE
| Flag | BASE (f3509d7) | HEAD (09bbf1f) | |------|------|------| ||2|0| |integration_tests|20|10|
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
with
81500000
max_gas per block, rungen /tmp/data 8 1 testplan-{index} 2500 5
locallyPR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes