Skip to content
  1. Sep 24, 2021
  2. Sep 22, 2021
  3. Sep 03, 2021
  4. Aug 01, 2021
    • Tomasz Waszczyk's avatar
      Fix full spellcheck (#1076) · 3fb97fa5
      Tomasz Waszczyk authored
      
      
      * fix(spellcheck): test of fixing
      
      * fix(hunspell): improved many typos etc.
      
      * fix(hunspell): all errors solved
      
      * fix(hunspell): extended scope of files - the build should fail
      
      * Return error code.
      
      * Fix spelling, sort dictionary.
      
      * fix(hunspell): added fix to gitlabs check
      
      * fix(typo): one typo and test of verification on github
      
      * fix(typo): one typo
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      3fb97fa5
  5. Jun 07, 2021
  6. Apr 22, 2021
    • Tomasz Drwięga's avatar
      Add pruning to bechmarks & update weights. (#918) · c2d56b2e
      Tomasz Drwięga authored
      * Insert headers in benchmarks.
      
      * Fix benchmarks.
      
      * Lower number of headers.
      
      * Avoid hardcoding numbers.
      
      * Update weights.
      
      * cargo fmt --all
      
      * Remove todo.
      
      * Fix test.
      
      * Address review comments.
      
      * Fix borrowed value.
      c2d56b2e
  7. Apr 13, 2021
  8. Apr 05, 2021
    • Hernando Castano's avatar
      Use Vote Ancestries Directly in Weight Calculations (#862) · af2634b3
      Hernando Castano authored
      * Use more accurate weight calculation in declared weight
      
      * Remove session length and validator set size config constants
      
      * Remove config params from mock
      
      * Allow specifying total number of votes-ancestries per justification
      
      * Change limits used during benchmarking
      
      * Regenerate weights
      
      * Use simplified weight annotation
      
      * Remove comment
      
      * Address leftover TODO
      
      * Prevent possible divide by zero errors
      
      * Use correct argument order in weight declaration
      af2634b3
  9. Apr 01, 2021
    • Hernando Castano's avatar
      Weights for `pallet-bridge-grandpa` (#815) · 1a89b1ec
      Hernando Castano authored
      * Add benchmarking skeleton
      
      * Allow runtime to indicate concrete header type for benches
      
      * Set up skeleton for benchmark tests
      
      * Play around with mutating bench header
      
      * Create a working test for benchmarking
      
      * Add benches related to enacting authority set changes
      
      * Add bench for checking effect of prec-commits/vote ancestries
      
      * Use new `no_std` test utils in benchmarks
      
      * Support pallet instances in benchmarking
      
      * Use correct benchmarking instance macro
      
      * Add instance to runtime benchmark helper impl
      
      * Start using new justification creation API
      
      * Allow mock header's number to be specified
      
      * Set up benches with correct fork/depth parameters
      
      * Use new pallet name during runtime bench setup
      
      * Use correct `set_id` in tests
      
      * Limit number of forks as workaround to get tests passing
      
      * Use number of authorities which matches number of forks
      
      * Make sure test post-conditions are checked properly
      
      * Only read `CurrentAuthoritySet` from storage once
      
      * Add combined benchmark for `submit_finality_proof`
      
      * Add bench test
      
      * Introduce config bounds related to justification verification
      
      * Use config consts from pallet in benchmarking
      
      * Return data relevant to benchmarks from helper functions
      
      * Annotate `submit_finality_proof` with autogenerated weights
      
      * Return actual weight after call execution
      
      * Ignore Clippy warnings in bench template
      
      * Update benchmark template
      
      * Use `test-utils` to create test headers
      
      * Clarify that helper is only for messages benches
      
      * Add more documentation to benches
      
      * Update TODOs
      
      * Clarify return types in comment
      
      * Fix pallet name post-merge
      
      * Update NOTE to a TODO item
      
      * Indicate that Config params are max values, not actual values
      
      * Change Config validator count type to be `u32`
      
      * Return decoded justification instead of fields
      
      * Add missing trait bounds for tests
      
      * Correctly issue weight refund
      
      Thanks for spotting this Tomek!
      
      * Update comment
      
      * Add note about SESSION_LENGTH
      
      * Fix benchmarking code
      1a89b1ec