Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pallet-domains benchmarking #2592

Merged
merged 7 commits into from
Mar 15, 2024
Merged

Update pallet-domains benchmarking #2592

merged 7 commits into from
Mar 15, 2024

Commits on Mar 8, 2024

  1. Note the number of operator who has deposit/withdraw happen in the cu…

    …rrent epoch
    
    Also the MaxPendingStakingOperation is set to 512 in this commit, which means
    there can be at most 512 number of operator has deposit/withdraw happen in the
    current epoch
    
    Signed-off-by: linning <[email protected]>
    NingLin-P committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    5b9e9e9 View commit details
    Browse the repository at this point in the history
  2. Pure refactoring to do_finalize_operator_epoch_staking use StorageMap…

    … get/set instead of try_mutate
    
    When using try_mutate the short-circuit for operator who has no deposits/withdrawls/rewards
    is not working because try_mutate will write back storage item as Ok() is returned
    
    Signed-off-by: linning <[email protected]>
    NingLin-P committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    7ff5ac5 View commit details
    Browse the repository at this point in the history
  3. Note epoch transition handling details

    These info will be used later to calculate more accurate weight
    
    Signed-off-by: linning <[email protected]>
    NingLin-P committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    0491a36 View commit details
    Browse the repository at this point in the history
  4. Fix existing pallet-domains benchmarking

    Signed-off-by: linning <[email protected]>
    NingLin-P committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    40e9783 View commit details
    Browse the repository at this point in the history
  5. Update and add staking benchmarking based on staking 1.1, also add su…

    …bmit_fraud_proof benchmarking
    
    Signed-off-by: linning <[email protected]>
    NingLin-P committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    de72aab View commit details
    Browse the repository at this point in the history
  6. Update and apply pallet-domains benchmarking result

    Signed-off-by: linning <[email protected]>
    NingLin-P committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    ebf5ff7 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Configuration menu
    Copy the full SHA
    020c104 View commit details
    Browse the repository at this point in the history