Skip to content
  1. Jan 26, 2021
  2. Jan 25, 2021
    • ordian's avatar
      impl approval distribution (#2160) · 3f1e1a6f
      ordian authored
      * initial impl approval distribution
      
      * initial tests and fixes
      
      * batching seems difficult: different peers have different needs
      
      * bridge: fix test after merge
      
      * some guide updates
      
      * only send assignments to peers who know about the block
      
      * fix a test, add approvals test
      
      * simplify
      
      * do not send assignment to peers for finalized blocks
      
      * guide: protocol input and output
      
      * one more test
      
      * more comments, logs, initial metrics
      
      * fix a typo
      
      * one more thing: early return when reimporting a thing locally
      3f1e1a6f
    • Bastian Köcher's avatar
      Add a `convert_payload` function to `Signed` (#2320) · fa6e4b44
      Bastian Köcher authored
      * Add a `convert_payload` function to `Signed`
      
      * Review feedback
      fa6e4b44
    • Will Pankiewicz's avatar
      Remove Old Bootnodes (#2319) · b210850d
      Will Pankiewicz authored
      * removes old bootnodes from kusama chainspec
      
      * removes old bootnodes from polkadot chainspec
      b210850d
    • Bastian Köcher's avatar
      Put parachain head hash into `CandidateDescriptor` (#2310) · 9563652b
      Bastian Köcher authored
      * Put parachain head hash into `CandidateDescriptor`
      
      * Update guide
      
      * Add some checks
      9563652b
  3. Jan 22, 2021
  4. Jan 21, 2021
    • Jon Häggblad's avatar
      Companion for #7339: cleaner GRANDPA RPC API (#2100) · 3b69385d
      Jon Häggblad authored
      * service: update for substrate PR #7339
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      3b69385d
    • Pierre Krieger's avatar
      Add support for Grandpa warp sync (#2301) · cfb474ca
      Pierre Krieger authored
      * Add support for Grandpa warp sync
      
      * Don't pull the warp sync crate if not full-node
      cfb474ca
    • Shawn Tabrizi's avatar
      Update Weight for Pallet Staking including Kick (#2297) · 8aee25ca
      Shawn Tabrizi authored
      
      
      * Update pallet_staking.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      8aee25ca
    • Bastian Köcher's avatar
      Compress the PoV block before sending it over the network (#2288) · 1439558f
      Bastian Köcher authored
      
      
      * Compress the PoV block before sending it over the network
      
      This pr changes the way we send PoV blocks over the network. We now
      compress the PoV block before it is send over the network. This should
      reduce the size significant for PoVs which contain the runtime WASM for
      example.
      
      * Preallocate 1KB
      
      * Try something..
      
      * Switch to zstd and some renamings
      
      * Make compression/decompression fail in browsers
      
      * Use some sane maximum value
      
      * Update roadmap/implementers-guide/src/types/network.md
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Fix and add test
      
      * add
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      1439558f
  5. Jan 20, 2021
  6. Jan 19, 2021
    • Sergey Pepyakin's avatar
      Glossary updates (#2291) · b1c02eb3
      Sergey Pepyakin authored
      * glossary: define DMQ
      
      We are using DMQ quite often including in rustdoc, however, it may be
      hard to know what is that. Adding it to the glossary.
      
      * Clarify that DMP and HRMP are also module names
      
      * Define PDK
      
      * Define preimage
      b1c02eb3
    • Pierre Krieger's avatar
      Companion PR for adding max notification sizes (#2287) · 3d75cc20
      Pierre Krieger authored
      * Companion PR for adding max notification sizes
      
      * Add TODO
      
      * Missing ;
      
      * =>
      
      * Common limit
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      3d75cc20
  7. Jan 18, 2021
    • Sergey Pepyakin's avatar
      Remove TransientValidationData (#2272) · 226af6a8
      Sergey Pepyakin authored
      * collation-generation: use persisted validation data
      
      * node: remote FullValidationData API
      
      * runtime: remove FullValidationData API
      
      * backing tests: use persisted validation data
      
      * FullCandidateReceipt: use persisted validation data
      
      This is not a big change since this type is not used anywhere
      
      * Remove ValidationData and TransientValidationData
      
      Also update the guide
      226af6a8
    • asynchronous rob's avatar
      Approval Voting Database (#2162) · b009cbe8
      asynchronous rob authored
      
      
      * skeleton
      
      * skeleton aux-schema module
      
      * start approval types
      
      * start aux schema with aux store
      
      * doc
      
      * finish basic types
      
      * start approval types
      
      * doc
      
      * finish basic types
      
      * write out schema types
      
      * add debug and codec impls to approval types
      
      * add debug and codec impls to approval types
      
      also add some key computation
      
      * add debug and codec impls to approval types
      
      * getters for block and candidate entries
      
      * grumbles
      
      * remove unused AssignmentId
      
      * load_decode utility
      
      * implement DB clearing
      
      * function for adding new block entry to aux store
      
      * start `canonicalize` implementation
      
      * more skeleton
      
      * finish implementing canonicalize
      
      * tag TODO
      
      * implement a test AuxStore
      
      * add allow(unused)
      
      * basic loading and deleting test
      
      * block_entry test function
      
      * add a test for `add_block_entry`
      
      * ensure range is exclusive at end
      
      * test clear()
      
      * test that add_block sets children
      
      * add a test for canonicalize
      
      * Update node/core/approval-voting/src/aux_schema/mod.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * Update node/core/approval-voting/src/aux_schema/tests.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * Update node/core/approval-voting/src/aux_schema/mod.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      b009cbe8
    • Pierre Krieger's avatar
      Make large collations downloads work (#2284) · 1c548d9d
      Pierre Krieger authored
      * Make large collations downloads work
      
      * Actually, bump it more to be sure
      
      * Grmlblbl Rust feature unstable nianiania
      1c548d9d
    • dependabot[bot]'s avatar
      Bump futures from 0.3.11 to 0.3.12 (#2281) · 669ccab8
      dependabot[bot] authored
      
      
      Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.11 to 0.3.12.
      - [Release notes](https://github.com/rust-lang/futures-rs/releases)
      - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.11...0.3.12)
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      669ccab8
  8. Jan 17, 2021
  9. Jan 16, 2021
  10. Jan 15, 2021
    • Bernhard Schuster's avatar
    • asynchronous rob's avatar
      Switch to Wasmtime for parachain execution (#2265) · 8192248c
      asynchronous rob authored
      
      
      * Switch to Wasmtime for parachain execution
      
      * Fix the signature for halt's validate_block
      
      * wasmtime feature enabled from cli
      
      * Adds missing feature
      
      Co-authored-by: default avatarSergei Shulepov <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      8192248c
    • Peter Goodspeed-Niklaus's avatar
      Add warning when dropping inclusion inherent (#2261) · 089ba85c
      Peter Goodspeed-Niklaus authored
      * Add warning when dropping inclusion inherent
      
      * improve warning when dropping inclusion inherent
      
      - use the actual runtime `warn!` macro
      - do not speculate about why the error occurred
      - show the actual error returned
      
      * BROKEN: add note if the current block matches the session start block
      
      This doesn't compile for a variety of reasons; this commit demonstrates
      what the issues are. I don't think this is an essential feature, so I'm
      stopping work on it here instead of pushing through it.
      
      * Revert "BROKEN: add note if the current block matches the session start block"
      
      This reverts commit eeb79ab7708ec94224fa60c9e1a46e12c18d52fd.
      
      * ensure a runtime logger exists before attempting to log a warning to it
      089ba85c
    • dependabot[bot]'s avatar
      Bump futures from 0.3.10 to 0.3.11 (#2273) · 8b818586
      dependabot[bot] authored
      
      
      Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.10 to 0.3.11.
      - [Release notes](https://github.com/rust-lang/futures-rs/releases)
      - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.10...0.3.11)
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      8b818586
    • Fedor Sakharov's avatar
      Availability recovery subsystem (#2122) · 90a68626
      Fedor Sakharov authored
      * Adds message types
      
      * Add code skeleton
      
      * Adds subsystem code.
      
      * Adds a first test
      
      * Adds interaction result to availability_lru
      
      * Use LruCache instead of a HashMap
      
      * Whitespaces to tabs
      
      * Do not ignore errors
      
      * Change error type
      
      * Add a timeout to chunk requests
      
      * Add custom errors and log them
      
      * Adds replace_availability_recovery method
      
      * recovery_threshold computed by erasure crate
      
      * change core to std
      
      * adds docs to error type
      
      * Adds a test for invalid reconstruction
      
      * refactors interaction run into multiple methods
      
      * Cleanup AwaitedChunks
      
      * Even more fixes
      
      * Test that recovery with wrong root is an error
      
      * Break to launch another requests
      
      * Styling fixes
      
      * Add SessionIndex to API
      
      * Proper relay parents for MakeRequest
      
      * Remove validator_discovery and use message
      
      * Remove a stream on exhaustion
      
      * On cleanup free the request streams
      
      * Fix merge and refactor
      90a68626
  11. Jan 14, 2021