chore: re-add IntProto and DecProto and deprecate msg (#22925)

This commit is contained in:
Julien Robert
2024-12-17 14:57:03 +00:00
committed by GitHub
parent 5799c15b90
commit 0a8917802c
9 changed files with 2133 additions and 783 deletions
@@ -16,16 +16,16 @@ message Module {
// GenesisParams defines the genesis parameters for the benchmark module.
message GeneratorParams {
// seed is the seed for the random number generator.
uint64 seed = 1;
uint64 seed = 1;
// bucket_count is the number of store keys to uniformly distribute genesis_count keys across.
uint64 bucket_count = 2;
// key_mean is the mean size (in normal distribution) of keys in each bucket.
uint64 key_mean = 3;
uint64 key_mean = 3;
// key_std_dev is the standard deviation of key sizes in each bucket.
uint64 key_std_dev = 4;
uint64 key_std_dev = 4;
// value_mean is the mean size (in normal distribution) of values in each bucket.
uint64 value_mean = 6;
uint64 value_mean = 6;
// value_std_dev is the standard deviation of value sizes in each bucket.
uint64 value_std_dev = 7;
@@ -37,7 +37,7 @@ message GeneratorParams {
// update_weight is the weight of update operations.
float update_weight = 10;
// get_weight is the weight of get operations.
float get_weight = 12;
float get_weight = 12;
// delete_weight is the weight of delete operations.
float delete_weight = 11;
}