Skip to content
  1. Mar 05, 2020
    • 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
  2. Mar 02, 2020
  3. Feb 28, 2020
  4. Feb 27, 2020
  5. 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
  6. 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
  7. Feb 24, 2020
  8. Feb 21, 2020
  9. Feb 19, 2020
  10. Feb 18, 2020
  11. Feb 15, 2020
  12. Feb 13, 2020
    • Ashley's avatar
      Strip out old XCMP primitives (#823) · 5f9e602a
      Ashley authored
      * WIP
      
      * WIp
      
      * Mostly get tests to compile
      
      * Fix adder collator
      
      * Remove more stuff
      
      * Revert some changes to av store
      
      * Fix av store tests
      
      * Nitpicks
      
      * Restore some things
      
      * Small changes
      
      * Remvoe unused error variants
      5f9e602a
  13. Feb 12, 2020
  14. Feb 11, 2020
  15. Feb 10, 2020
    • asynchronous rob's avatar
      rewrite network code to use notifications_protocol APIs from Substrate (#788) · 9b23f3f1
      asynchronous rob authored
      * extract all network code to legacy submodule
      
      * update references to legacy proto
      
      * skeleton of futures-based protocol
      
      * refactor skeleton to use background task
      
      * rename communication_for to build_table_router
      
      * implement internal message types for validation network
      
      * basic ParachainNetwork and TableRouter implementations
      
      * add some module docs
      
      * remove exit-future from validation
      
      * hack: adapt legacy protocol to lack of exit-future
      
      * generalize RegisteredMessageValidator somewhat
      
      * instantiate and teardown table routers
      
      * clean up RouterInner drop logic
      
      * implement most of the statement import loop
      
      * implement statement loop in async/await
      
      * remove unneeded TODO
      
      * most of the collation skeleton
      
      * send session keys and validator roles
      
      * also send role after status
      
      * use config in startup
      
      * point TODO to issue
      
      * fix test compilation
      9b23f3f1
    • Cecile Tonglet's avatar
      Fix invalid argument order (#832) · 6051a2b2
      Cecile Tonglet authored
      Make sure that --dev purge-chain is rejected
      
      ```
      [0] [11:24:02] ~/r/polkadot master > ./target/debug/polkadot purge-chain --dev -y
      "/home/cecile/.local/share/polkadot/chains/dev/db" did not exist.
      [0] [11:25:36] ~/r/polkadot cecton-fix-invalid-argument-order > ./target/debug/polkadot --dev purge-chain -y
      error: Found argument 'purge-chain' which wasn't expected, or isn't valid in this context
      
      USAGE:
          polkadot --dev
      
      For more information try --help
      ```
      6051a2b2
    • Bastian Köcher's avatar
      Be specific about the `BitVec` generic arguments (#830) · eefbaffe
      Bastian Köcher authored
      * Be specific about the `BitVec` generic arguments
      
      Currently we use the default generic arguments for `BitVec`. This means
      we use `BigEndian` and `u8`. These default values are not stable, with
      `0.17` of the `BitVec` crate this changes. To make sure we don't break
      anything in the future, make sure we explictly set the generics.
      
      * Update `spec_version`
      eefbaffe
    • Cecile Tonglet's avatar
      Test node exits properly (#831) · c93b1426
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 703ac8bb
      Parent branch: origin/master
      
      * Test running node and interrupts
      
      * WIP
      
      Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750
      Parent branch: origin/cumulus-branch
      
      * Update Cargo.lock
      
      * WIP
      
      Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750
      Parent branch: origin/cumulus-branch
      
      * WIP
      
      Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750
      Parent branch: origin/cumulus-branch
      
      * WIP
      
      Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750
      Parent branch: origin/cumulus-branch
      c93b1426
    • asynchronous rob's avatar
      enable migrations in polkadot and kusama runtimes (#824) · 27bf3452
      asynchronous rob authored
      * enable migrations in polkadot and kusama runtimes
      
      * bump runtime version
      27bf3452
    • asynchronous rob's avatar
      Include parent head in `CandidateReceipt` (#826) · 1c2aff5b
      asynchronous rob authored
      * runtime: candidate receipt must pass parent head
      
      * construct parachain candidates using correct parent_head
      
      * validate that the parent header is correct in candidate receipt
      
      * fix test fallout
      
      * bump runtime versions
      1c2aff5b
  16. Feb 09, 2020
    • Gavin Wood's avatar
      Bump Substrate (#816) · 703ac8bb
      Gavin Wood authored
      
      
      * Amalgamate pieces of balance module
      
      * Fixes for vesting split
      
      * Refactoring for vesting/balances split
      
      * Build fixes
      
      * Remove on_free_balance_zero and some docs.
      
      * Indentation.
      
      * Revert branch
      
      * Fix.
      
      * Update substrate: fixes after CLI refactoring
      
      * Reverting removal of exit
      
      * Removed too much again
      
      * Update Cargo.lock
      
      * Cargo.lock
      
      * Update Substrate, ready for #4820
      
      * Fixes
      
      * Update to latest substrate master
      
      * Fix network tests
      
      * Update lock
      
      * Fix tests
      
      * Update futures to get bug fixes
      
      * Fix tests for new balances/vesting logic
      
      * Cargo fix
      
      * Another fix
      
      Co-authored-by: default avatarCecile Tonglet <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      703ac8bb
  17. Feb 03, 2020
  18. Feb 01, 2020
  19. Jan 31, 2020
  20. Jan 30, 2020
  21. Jan 29, 2020