Skip to content
  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) · 3793fbf9
      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
      3793fbf9
    • thiolliere's avatar
      Update weight formula for session (with new_session taking full block) (#5738) · a564cafa
      thiolliere authored
      * weight formula for session except on_initialize
      
      * fix typo and set on_initialize to MaxWeight
      
      * Add note
      a564cafa
    • s3krit's avatar
      Increase check-gitlab-pipeline timeout (#5774) · d974df24
      s3krit authored
      d974df24
    • Max Inden's avatar
      client/authority-discovery: Reduce log level replaced by metrics · 324e51fb
      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.
      324e51fb
    • Wei Tang's avatar
      babe: secondary blocks with VRF (#5501) · 969720c2
      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]>
      969720c2
    • Alexander Popiak's avatar
      Calculate and refund weight for identity pallet (#5680) · 8a3dcd68
      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]>
      8a3dcd68
    • Bernhard Schuster's avatar
      feat/ocw/bookkeeping (#5200) · 72ee7d57
      Bernhard Schuster authored
      
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      72ee7d57
    • Pierre Krieger's avatar
      f6616850
    • Wei Tang's avatar
      babe: support online configuration upgrades (#5514) · 770cc24c
      Wei Tang authored
      
      
      * babe: support online configuration upgrades
      
      * 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 migration tests
      
      * 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 unused imports
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      770cc24c