1. Nov 27, 2021
  2. Nov 26, 2021
  3. Nov 24, 2021
  4. Nov 22, 2021
  5. Nov 20, 2021
  6. Nov 19, 2021
    • Bernhard Schuster's avatar
      remove provisioner checks (#4254) · d5d916a9
      Bernhard Schuster authored
      
      
      * chore/provisioner: move metrics to a separate module
      
      * avoid the duplicate names
      
      * reduce all checks
      
      * fixup tests
      
      * Update node/core/provisioner/src/lib.rs
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * chore: fmt
      
      * chore: spellcheck
      
      * doc
      
      * remove the enum anti-pattern
      
      * guide update - remove all the responsibilities
      
      * add another trivial check
      
      * Update node/core/provisioner/src/metrics.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update roadmap/implementers-guide/src/node/utility/provisioner.md
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/core/provisioner/src/metrics.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      d5d916a9
    • Robert Klotzner's avatar
      Dispute spam protection (#4134) · 25974f20
      Robert Klotzner authored
      
      
      * Mostly notes.
      
      * Better error messages.
      
      * Introduce Fatal/NonFatal + drop back channel participation
      
      - Fatal/NonFatal - in order to make it easier to use utility functions.
      - We drop the back channel in dispute participation as it won't be
      needed any more.
      
      * Better error messages.
      
      * Utility function for receiving `CandidateEvent`s.
      
      * Ordering module typechecks.
      
      * cargo fmt
      
      * Prepare spam slots module.
      
      * Implement SpamSlots mechanism.
      
      * Implement queues.
      
      * cargo fmt
      
      * Participation.
      
      * Participation taking shape.
      
      * Finish participation.
      
      * cargo fmt
      
      * Cleanup.
      
      * WIP: Cleanup + Integration.
      
      * Make `RollingSessionWindow` initialized by default.
      
      * Make approval voting typecheck.
      
      * Get rid of lazy_static & fix approval voting tests
      
      * Move `SessionWindowSize` to node primitives.
      
      * Implement dispute coordinator initialization.
      
      * cargo fmt
      
      * Make queues return error instead of boolean.
      
      * Initialized: WIP
      
      * Introduce chain api for getting finalized block.
      
      * Fix ordering to only prune candidates on finalized events.
      
      * Pruning of old sessions in spam slots.
      
      * New import logic.
      
      * Make everything typecheck.
      
      * Fix warnings.
      
      * Get rid of obsolete dispute-participation.
      
      * Fixes.
      
      * Add back accidentelly deleted Cargo.lock
      
      * Deliver disputes in an ordered fashion.
      
      * Add module docs for errors
      
      * Use type synonym.
      
      * hidden docs.
      
      * Fix overseer tests.
      
      * Ordering provider taking `CandidateReceipt`.
      
      ... To be kicked on one next commit.
      
      * Fix ordering to use relay_parent
      
      as included block is not unique per candidate.
      
      * Add comment in ordering.rs.
      
      * Take care of duplicate entries in queues.
      
      * Better spam slots.
      
      * Review remarks + docs.
      
      * Fix db tests.
      
      * Participation tests.
      
      * Also scrape votes on first leaf for good measure.
      
      * Make tests typecheck.
      
      * Spelling.
      
      * Only participate in actual disputes, not on every import.
      
      * Don't account backing votes to spam slots.
      
      * Fix more tests.
      
      * Don't participate if we don't have keys.
      
      * Fix tests, typos and warnings.
      
      * Fix merge error.
      
      * Spelling fixes.
      
      * Add missing docs.
      
      * Queue tests.
      
      * More tests.
      
      * Add metrics + don't short circuit import.
      
      * Basic test for ordering provider.
      
      * Import fix.
      
      * Remove dead link.
      
      * One more dead link.
      
      Co-authored-by: default avatarLldenaurois <[email protected]>
      25974f20
  7. Nov 18, 2021
  8. Nov 16, 2021
  9. Nov 15, 2021
  10. Nov 13, 2021
  11. Nov 12, 2021
  12. Nov 11, 2021
  13. Nov 09, 2021
  14. Nov 08, 2021
  15. Nov 02, 2021
  16. Oct 30, 2021
  17. Oct 28, 2021
  18. Oct 27, 2021
  19. Oct 25, 2021
  20. Oct 22, 2021
    • Chris Sosnin's avatar
      Move artifacts states into memory in PVF validation host (#3907) · 18266783
      Chris Sosnin authored
      
      
      * pvf host: store only compiled artifacts on disk
      
      * Correctly handle failed artifacts
      
      * Serialize result of PVF preparation uniquely
      
      * Set the artifact state depending on the result
      
      * Return the result of PVF preparation directly
      
      * Move PrepareError to the error module
      
      * Update doc comments
      
      * Update misleading comment
      
      * Cleanup docs
      
      * Conclude a test job with an error
      
      Co-authored-by: default avatarSergei Shulepov <[email protected]>
      18266783
    • Chris Sosnin's avatar
      Introduce new Runtime API endpoint for fetching the validation data (#3728) · ad33b874
      Chris Sosnin authored
      * Introduce new Runtime API endpoint
      
      `persisted_validation_data_with_code_hash` that will be used
      by the candidate validation subsystem in order to decrease amount
      of runtime API requests.
      
      * Node-side part of new runtime API request
      
      * Define code hash getter via macro
      
      * Rename new endpoint to `assumed_validation_data`
      
      * Docs for runtime API impl of new endpoint
      
      * AssumedValidationData specialized request function
      
      * fmt
      ad33b874
  21. Oct 19, 2021
  22. Oct 15, 2021
  23. Oct 12, 2021
  24. Oct 11, 2021
  25. Oct 07, 2021
  26. Oct 06, 2021
  27. Oct 04, 2021