Skip to content
  1. Mar 21, 2020
  2. Mar 20, 2020
  3. Mar 19, 2020
  4. Mar 18, 2020
  5. Mar 17, 2020
  6. Mar 16, 2020
    • asynchronous rob's avatar
      Tests for new network code (#897) · 260b2fa3
      asynchronous rob authored
      * move protocol.rs into subfolder
      
      * add trait for mocking network behavior
      
      * add a mock version of network ops
      
      * remove some redundant parameters from service messages
      
      * ensure fetching erasure chunks automatically cancels
      
      * introduce dummy ProvideRuntimeApi
      
      * abstract over gossip somewhat
      
      * add mock gossip handler
      
      * skeleton test
      
      * remove dependence of shared table on router
      
      * remove worker dependence on its own sender
      
      * test shutdown
      
      * add tests
      
      * test that gossip streams are cleaned up correctly
      
      * refactor worker out into its own struct and reduce bound on executor
      
      * remove reliance of tests on global thread pool
      260b2fa3
    • Gavin Wood's avatar
      Bump versions & Substrate. (#902) · a81d8cb2
      Gavin Wood authored
      a81d8cb2
  7. Mar 15, 2020
  8. Mar 14, 2020
  9. Mar 13, 2020
    • Gavin Wood's avatar
      Prepare for version 0.7.23 (#899) · 844ca939
      Gavin Wood authored
      * Bump version
      
      * Cargo lock
      
      * Bump runtime version
      
      * Bump Substrate again to include recent fix
      844ca939
    • Gavin Wood's avatar
      Bump to latest Substrate (#898) · 1ddfb5c4
      Gavin Wood authored
      
      
      * Flag to force kusama runtime
      
      * Chainspecs for kusama
      
      * Polkadot config for westend
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * network/src/legacy/gossip: Wrap GossipEngine in Arc Mutex & lock it on use
      
      `GossipEngine` in itself has no need to be Send and Sync, given that it
      does not rely on separately spawned background tasks anymore.
      `RegisteredMessageValidator` needs to be `Send` and `Sync` due to the
      inherited trait bounds from implementing `GossipService`. In addition
      `RegisteredMessageValidator` derives `Clone`. Thereby `GossipEngine`
      needs to be wrapped in an `Arc` and `Mutex` to keep the status quo.
      
      * Needed fixes.
      
      * Fixes
      
      * Fixed build
      
      * Fixed build w benchmarking CLI
      
      * Fixed building tests
      
      * Added --dev shortcut
      
      Co-authored-by: default avatararkpar <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarMax Inden <[email protected]>
      1ddfb5c4
    • Bastian Köcher's avatar
    • Shawn Tabrizi's avatar
      Benchmark Polkadot Claims Pallet (#876) · 70a5bda2
      Shawn Tabrizi authored
      
      
      * fix
      
      * Starting to add benchmarks
      
      * make compile
      
      * add benchmarks
      
      * Make work with Substrate master
      
      * Bench validate unsigned
      
      * back to polkadot master
      
      * starting to add cli with feature flag
      
      * more stuff
      
      * Add to kusama
      
      * Update Cargo.lock
      
      * fix dev dep
      
      * bump wasm builder
      
      * Remove encode from keccak benchmark
      
      * bump spec
      
      * Add weight documentation
      
      * Update Cargo.lock
      
      * Update check_runtime.sh
      
      * Update publish_draft_release.sh
      
      * Update Cargo.lock
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      70a5bda2
  10. Mar 10, 2020
  11. Mar 09, 2020
  12. Mar 07, 2020
  13. Mar 06, 2020
  14. Mar 05, 2020
    • Gavin Wood's avatar
      Use jmalloc, align kvdb crate version. (#883) · bae2e79d
      Gavin Wood authored
      
      
      Co-authored-by: default avatarcheme <[email protected]>
      bae2e79d
    • Gavin Wood's avatar
      Merged companions and update Subtrate (#882) · e13fdc88
      Gavin Wood authored
      
      
      * expunge legacy code from polkadot-network
      
      * mostly rip out old legacy protocol from service
      
      * ensure validation work is spawned by incoming messages
      
      * decouple availabliity store from network logic; clean up data flow
      
      * av_store: test helpers and use futures-abort
      
      * update polkadot-validation to pass n_validators when submitting chunks
      
      * fallible erasure-chunk fetching
      
      * implement `ErasureNetworking` for new network prot
      
      * API for registering availability store in network
      
      * fully integrate new network service into service
      
      * fix validation tests
      
      * scaffolding for porting collator over to new network
      
      * track connected validators' peer IDs and distribute collators' collations
      
      * helper in network for fetching all checked statements
      
      * fix adder-collator
      
      * actually register notifications protocol
      
      * Update service/src/lib.rs
      
      * Make needed changes to service
      
      * Merge two companion PRs.
      
      - #880
      - #881
      
      * Some effort towards compilation
      
      * Fix
      
      * remove `NetworkSpecialization` references from network
      
      * fix compilation errors in service and collator
      
      * ensure protocol name is valid
      
      * Fixes
      
      * Fix
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarAshley <[email protected]>
      e13fdc88
    • Gavin Wood's avatar
      Add Github Action for Matrix release bot (#874) · 559ea584
      Gavin Wood authored
      This action will publish all pre-released, edited and published releases to a dedicated release notes Matrix room using https://github.com/marketplace/actions/matrix-message
      
      @s3krit already added the necessary secrets to the repository settings.
      559ea584
    • asynchronous rob's avatar
      Remove legacy network code (#860) · 79313808
      asynchronous rob authored
      * expunge legacy code from polkadot-network
      
      * mostly rip out old legacy protocol from service
      
      * ensure validation work is spawned by incoming messages
      
      * decouple availabliity store from network logic; clean up data flow
      
      * av_store: test helpers and use futures-abort
      
      * update polkadot-validation to pass n_validators when submitting chunks
      
      * fallible erasure-chunk fetching
      
      * implement `ErasureNetworking` for new network prot
      
      * API for registering availability store in network
      
      * fully integrate new network service into service
      
      * fix validation tests
      
      * scaffolding for porting collator over to new network
      
      * track connected validators' peer IDs and distribute collators' collations
      
      * helper in network for fetching all checked statements
      
      * fix adder-collator
      
      * actually register notifications protocol
      
      * Update service/src/lib.rs
      
      * merge with master
      79313808
    • gabriel klawitter's avatar
      ci: increase artifact retention period (#869) · b49bf9d5
      gabriel klawitter authored
      * ci: increase artifact retention period
      b49bf9d5
    • Gavin Wood's avatar
      Update substrate (#878) · b2df51d2
      Gavin Wood authored
      
      
      * Switch branch
      
      * Small changes
      
      * Update substrate branch
      
      * Switch
      
      * Revert "Switch branch"
      
      This reverts commit b9d48b2ce8f5cbfa379dd385e817e80870391d9d.
      
      * fix
      
      * add `wipe` and `commit`
      
      * Remove deprecated_host_interface
      
      * Switch branch
      
      * HasherFor -> HashFor
      
      * More HasherFor changes
      
      * Final touches
      
      * Revert "Switch branch"
      
      This reverts commit d0da27313839559de01f59690f3826fe587becb8.
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      b2df51d2
  15. Mar 02, 2020
  16. Feb 28, 2020
  17. Feb 27, 2020
  18. Feb 26, 2020
    • s3krit's avatar
      CI: Label PRs with B2-breaksapi if substrate changes are labelled B2-breaksapi (#862) · 0c930117
      s3krit authored
      * CI: Split common functions into lib.sh and make...
      
      ... alert_pending_release.sh check the substrate changes for various
      labels. If labelled, will be included in the changelog, otherwise will
      silently be left out.
      
      * replace non-standard /bin/bash with /usr/bin/env bash
      
      * CI: make lib.sh /bin/sh-compatible
      
      * lib.sh: fix newline chars sometimes breaking has_label()
      
      * check_runtime.sh: tag change with 'B2-breaksapi'...
      
      ... if any substrate changes are also labelled 'B2-breaksapi'
      
      * Remove debug exits and uncomment labelling
      
      * exit early if we label with breaksapi
      
      * fix publish_draft_release.sh
      0c930117
  19. Feb 25, 2020
    • asynchronous rob's avatar
      A more comprehensive model for PoV-Blocks and Candidate receipts (#843) · b7d30aa3
      asynchronous rob authored
      * encode the candidate statement as only the hash
      
      * refactor CandidateReceipt and CollationInfo
      
      * introduce an abridged candidate receipt type
      
      * erasure coding stores candidate receipt
      
      * store omitted data instead and introduce AvailableData type
      
      * refactor availability-store schema
      
      * tweak schema and APIs a bit more
      
      * get availability-store tests passing
      
      * accept AbridgedCandidateReceipt in `set_heads`
      
      * change statement type in primitives to be hash-only
      
      * fix parachains runtime tests
      
      * fix bad merge
      
      * rewrite validation pipeline
      
      * remove evaluation module
      
      * use abridged candidate hash as canonical
      
      * statement table uses abridged candidate receipts
      
      * kill availability_store::Data struct
      
      * port shared table to new validation pipelines
      
      * extract full validation pipeline to helper
      
      * remove old validation pipeline from collation module
      
      * polkadot-validation compiles
      
      * polkadot-validation tests compile
      
      * make local collation available in validation service
      
      * port legacy network code
      
      * polkadot-network fully ported
      
      * network: ensure fresh statement is propagated
      
      * remove pov_block_hash from LocalValidationData
      
      * remove candidate_hash field from AttestedCandidate and update runtime
      
      * port runtimes to new ParachainHost definition
      
      * port over polkadot-collator
      
      * fix test compilation
      
      * better fix
      
      * remove unrelated validation work dispatch fix
      
      * address grumbles
      
      * fix equality check
      b7d30aa3
  20. Feb 24, 2020
  21. Feb 21, 2020
  22. Feb 19, 2020