1. Apr 22, 2020
  2. Apr 21, 2020
    • Rakan Alhneiti's avatar
      Companion PR to #5182 - Substrate offchain signing (#985) · 87f080e6
      Rakan Alhneiti authored
      * Implement offchain::SendTransactionTypes
      
      * Fix test-runtime
      
      * Fix Kusama
      
      * Add SendTransactiontypes to Kusama
      
      * impl SendTransactiontypes for parachains and registrar
      
      * Fix typos
      
      * Provided extrinsic type
      
      * Implement AppCrypto for signing transactions
      
      * Add signing capabilities to runtime
      
      * Fix test runtimes
      
      * Implement CreateSignedtransaction for Test
      
      * Implement signing types for test runtimes
      
      * Fix test runtime create transaction impl
      
      * Fix build
      
      * Bump kusama's spec version
      
      * Update substrate
      
      * Use all_accounts
      87f080e6
    • cheme's avatar
      Companion to child trie api change #4857 (#950) · c79e4bdf
      cheme authored
      c79e4bdf
  3. Apr 16, 2020
  4. Apr 13, 2020
  5. Apr 08, 2020
  6. Apr 06, 2020
    • asynchronous rob's avatar
      Upgradeable validation functions (#918) · ed2c4cab
      asynchronous rob authored
      * upgrade primitives to allow changing validation function
      
      * set up storage schema for old parachains code
      
      * fix compilation errors
      
      * fix test compilation
      
      * add some tests for past code meta
      
      * most of the runtime logic for code upgrades
      
      * implement old-code pruning
      
      * add a couple tests
      
      * clean up remaining TODOs
      
      * add a whole bunch of tests for runtime functionality
      
      * remove unused function
      
      * fix runtime compilation
      
      * extract some primitives to parachain crate
      
      * add validation-code upgrades to validation params and result
      
      * extend validation params with code upgrade fields
      
      * provide maximums to validation params
      
      * port test-parachains
      
      * add a code-upgrader test-parachain and tests
      
      * fix collator tests
      
      * move test-parachains to own folder to work around compilation errors
      
      * fix test compilation
      
      * update the Cargo.lock
      
      * fix parachains tests
      
      * remove dbg! invocation
      
      * use new pool in code-upgrader
      
      * bump lockfile
      
      * link TODO to issue
      ed2c4cab
  7. Apr 05, 2020
  8. Apr 03, 2020
    • Bastian Köcher's avatar
      Ensure that table router is always built (#952) · ec11d7e6
      Bastian Köcher authored
      * Ensure that table router is always build
      
      This pr ensures that the table router is always build, aka the future is
      resolved. This is important, as the table router internally spawns tasks
      to handle gossip messages. Handling gossip messages is not only required
      on parachain validators, but also on relay chain validators to receive collations.
      
      Tests are added to ensure that the assumptions hold.
      
      * Fix compilation
      
      * Switch to closures
      
      * Remove empty line
      
      * Revert "Remove empty line"
      
      This reverts commit a6c19438.
      
      * Revert "Switch to closures"
      
      This reverts commit b989c303.
      
      * Hybrid approach
      
      * Rename test
      
      * Make trait crate local
      ec11d7e6
    • André Silva's avatar
      Update substrate (#970) · 36e9d17e
      André Silva authored
      
      
      * update substrate
      
      * Hopefully fix compilation
      
      * network: rename roles to role
      
      * runtime: fix runtime-benchmarks compilation
      
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      36e9d17e
  9. Apr 01, 2020
  10. Mar 31, 2020
  11. Mar 30, 2020
  12. Mar 26, 2020
  13. Mar 25, 2020
  14. Mar 24, 2020
  15. Mar 23, 2020
  16. Mar 22, 2020
    • Fedor Sakharov's avatar
      Parachains double vote handler initial implementation. (#840) · b3611713
      Fedor Sakharov authored
      
      
      * Parachains double vote handler initial implementation.
      
      * Make tests test the actual slashing.
      
      * Implement SignedExtension validation of double vote reports.
      
      * Fixes build after merge
      
      * Review fixes
      
      * Adds historical session proofs
      
      * Review fixes.
      
      * Bump runtime spec_version
      
      * Get the session number from the proof
      
      * Check that proof matches session
      
      * Change signature type on DoubleVoteReport
      
      * Adds docs and removes blank lines
      
      * Removes leftover code
      
      * Fix build
      
      * Fix build after a merge
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Prune ParentToSessionIndex
      
      * Remove a clone and a warning
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarGavin Wood <[email protected]>
      b3611713
  17. Mar 21, 2020
  18. Mar 17, 2020
  19. Mar 13, 2020
    • Shawn Tabrizi's avatar
      Benchmark Polkadot Claims Pallet (#876) · 2f44ce41
      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]>
      2f44ce41
  20. Mar 05, 2020
    • Gavin Wood's avatar
      Merged companions and update Subtrate (#882) · f5535faf
      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]>
      f5535faf
    • Gavin Wood's avatar
      Update substrate (#878) · 8a8d52b6
      Gavin Wood authored
      * Switch branch
      
      * Small changes
      
      * Update substrate branch
      
      * Switch
      
      * Revert "Switch branch"
      
      This reverts commit b9d48b2c.
      
      * fix
      
      * add `wipe` and `commit`
      
      * Remove deprecated_host_interface
      
      * Switch branch
      
      * HasherFor -> HashFor
      
      * More HasherFor changes
      
      * Final touches
      
      * Revert "Switch branch"
      
      This reverts commit d0da2731
      
      .
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      8a8d52b6
  21. Feb 28, 2020
  22. Feb 25, 2020
    • asynchronous rob's avatar
      A more comprehensive model for PoV-Blocks and Candidate receipts (#843) · b94febb1
      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
      b94febb1
  23. Feb 19, 2020
  24. Feb 15, 2020
  25. Feb 13, 2020
    • Ashley's avatar
      Strip out old XCMP primitives (#823) · d9b4fc45
      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
      d9b4fc45
  26. Feb 11, 2020
    • asynchronous rob's avatar
      Introduce a maximum code size and head data size (#835) · ae04dafc
      asynchronous rob authored
      * add a maximum code size and head data size
      
      * get existing tests passing
      
      * add tests for slots logic
      
      * test registrar behavior
      
      * introduce maximums and bump versions
      
      * address review grumbles
      
      * work around publicizing derive
      
      * remove unneeded and wrong doc
      ae04dafc
  27. Feb 10, 2020
    • Bastian Köcher's avatar
      Be specific about the `BitVec` generic arguments (#830) · 80d7e03c
      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`
      80d7e03c
    • asynchronous rob's avatar
      Include parent head in `CandidateReceipt` (#826) · 52a5c8f7
      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
      52a5c8f7
  28. Feb 09, 2020
    • Gavin Wood's avatar
      Bump Substrate (#816) · 6a2092d6
      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]>
      6a2092d6