Closed yihuang closed 2 months ago
The pull request includes updates to the go.mod
and gomod2nix.toml
files, reflecting new versions and hashes for several Cosmos SDK dependencies. Additionally, modifications are made to several Python files in the testground/benchmark/benchmark
directory, enhancing functions related to account generation, load testing, and node initialization. Notably, new parameters for global sequencing are introduced, improving the management of accounts and transactions across the testing framework.
Files | Change Summary |
---|---|
go.mod , gomod2nix.toml |
Updated versions and hashes for Cosmos SDK dependencies to reflect the latest commits. |
testground/benchmark/benchmark/main.py , sendtx.py |
Modified generate_load function to include a new parameter global_seq for enhanced load generation. |
testground/benchmark/benchmark/peer.py |
Updated init_node to accept global_seq , improved account generation, and streamlined genesis account handling. |
testground/benchmark/benchmark/stateless.py |
Enhanced node initialization and execution logic by including a global_seq parameter across functions. |
testground/benchmark/benchmark/types.py |
Added a new Balance class and modified GenesisAccount to use a list of Balance instances. |
testground/benchmark/benchmark/utils.py |
Introduced functions for address conversion and deterministic account generation based on global sequence. |
main.py
file's generate_load
function by adding a new parameter, relevant to dependency management updates.gen_genesis
function, aligning with overall genesis block management improvements.go.mod
file, directly related to the changes made in the main PR regarding dependency versioning for the Cosmos SDK.🐰 In the meadow, changes bloom,
Dependencies updated, dispelling gloom.
With sequences global, accounts align,
Testing flows smoothly, like sweet, fine wine.
A hop and a skip, the code's in its prime,
Hooray for the changes, it's testing time! 🌼
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 36.12%. Comparing base (
559d7a7
) to head (2843901
). Report is 1 commits behind head on main.
seems validator doesnt generate when validator_generate_load is false?
WDYM?
Solution:
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR 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
New Features
Balance
class for improved representation of account balances.Bug Fixes
Documentation