1. Apr 29, 2020
  2. Apr 28, 2020
  3. Apr 27, 2020
  4. Apr 26, 2020
  5. Apr 25, 2020
  6. Apr 24, 2020
    • André Silva's avatar
      babe: remove error fallback from threshold calculation (#5764) · 688f7021
      André Silva authored
      * babe: remove error fallbacks from threshold calculation
      
      * babe: fix indent
      
      * babe: fix domain
      
      * babe: fix compilation
      
      * babe: improve expect
      
      * babe: add one more note about p's limit
      688f7021
    • parity-processbot[bot]'s avatar
      Merge 2078b2b2 into master · 7809261d
      parity-processbot[bot] authored
      7809261d
    • thiolliere's avatar
      Update weight formula for session (with new_session taking full block) (#5738) · 15b52352
      thiolliere authored
      * weight formula for session except on_initialize
      
      * fix typo and set on_initialize to MaxWeight
      
      * Add note
      15b52352
    • s3krit's avatar
      Increase check-gitlab-pipeline timeout (#5774) · 4963136d
      s3krit authored
      4963136d
    • Max Inden's avatar
      client/authority-discovery: Reduce log level replaced by metrics · 2078b2b2
      Max Inden authored
      Instead of logging value-found-event-handling failures or value-put
      failures on error level, log them on debug level only additionally
      recording them via Prometheus.
      
      Motivation is that both events can happen in "normal" operations and
      thus clutter the logs.
      2078b2b2
    • Wei Tang's avatar
      babe: secondary blocks with VRF (#5501) · cddb42c6
      Wei Tang authored
      
      
      * babe: secondary blocks with VRF
      
      * Fix node runtime compile
      
      * Fix test-utils runtime interface
      
      * Fix babe tests
      
      * typo: v == 2
      
      * babe: support online configuration upgrades
      
      * Fix rpc tests
      
      * Fix runtime version tests
      
      * Switch to use NextConfigDescriptor instead of changing runtime interface
      
      * Fix tests
      
      * epoch-changes: map function that allows converting with different epoch types
      
      * Add migration script for the epoch config change
      
      * Fix docs for PrimaryAndSecondaryVRFSlots
      
      * Add docs of `SecondaryVRF` in babe crate
      
      * babe-primitives: Secondary -> SecondaryPlain
      
      * babe-client: Secondary -> SecondaryPlain
      
      * Fix migration tests
      
      * test-utils-runtime: Secondary -> SecondaryPlain
      
      * Fix missing name change in test-utils-runtime
      
      * Fix migration: Epoch should be EpochV0
      
      * Update client/consensus/babe/src/lib.rs
      
      Co-Authored-By: default avatarAndré Silva <[email protected]>
      
      * Fix new epochChanges version
      
      * Fix babe-primitives naming changes
      
      * Fix merge issues in babe-client
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: default avatarAndré Silva <[email protected]>
      cddb42c6
    • Alexander Popiak's avatar
      Calculate and refund weight for identity pallet (#5680) · 66960eb0
      Alexander Popiak authored
      
      
      * add old_registrar_count as param to estimate weight
      
      * cast count to Weight
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * add weight calculation for set_identity
      
      * remove superfluous weight comment
      
      * add detailed weight estimation for set_subs
      
      * adjust benchmarking code to the new API
      
      * add second parameter to set_subs benchmark
      
      * rename o to p
      
      * calculate weight based on benchmarks
      
      * use try_mutate for registrars
      
      * fix weight number typo
      
      * update weights for set_subs + add weights for clear_identity and request_judgement
      
      * improve naming and docs
      
      * add weight calculation for cancel_request
      
      * fix benchmark
      
      * fix tests
      
      * fix arithmetic overflow in balances triggered by tests
      
      * add weight calcluations for more dispatchables
      
      * add weight calculation for provide_judgement
      
      * mark param as unused
      
      * add MaxRegistrars associated type used for weight estimation
      
      * check that MaxRegistrars is not exceeded
      
      * add remaining weight calculations
      
      * use weight refunds to use more constants in weight estimation
      
      * adjust usage of clear_identity
      
      * refund request_judgement weights and remove param
      
      * refund weights for cancel_request and remove param
      
      * add remaining refunds and remove params
      
      * refund weight for set_subs and remove param
      
      * make comment more specific
      
      * add range note to benchmarking docs
      
      * fix inconsistencies before review
      
      * fix actual weight calculation for add_registrar
      
      * remove duplicate balance ops weights + refund on all dispatchables
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      66960eb0