Skip to content
  1. Feb 24, 2021
  2. Feb 23, 2021
    • Martin Pugh's avatar
      Companion for #8184 (#2506) · 6d46fc1d
      Martin Pugh authored
      
      
      * remove weights for suicide
      
      * "Update Substrate"
      
      * Update Cargo.lock
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --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=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      6d46fc1d
    • asynchronous rob's avatar
    • asynchronous rob's avatar
      Approval Checking Improvements Omnibus (#2480) · 3300b533
      asynchronous rob authored
      * add tracing to approval voting
      
      * notify if session info is not working
      
      * add dispute period to chain specs
      
      * propagate genesis session to parachains runtime
      
      * use `on_genesis_session`
      
      * protect against zero cores in computation
      
      * tweak voting rule to be based off of best and add logs
      
      * genesis configuration should use VRF slots only
      
      * swallow more keystore errors
      
      * add some docs
      
      * make validation-worker args non-optional and update clap
      
      * better tracing for bitfield signing and provisioner
      
      * pass amount of bits in bitfields to inclusion instead of recomputing
      
      * debug -> warn for some logs
      
      * better tracing for availability recovery
      
      * a little av-store tracing
      
      * bridge: forward availability recovery messages
      
      * add missing try_from impl
      
      * some more tracing
      
      * improve approval distribution tracing
      
      * guide: hold onto pending approval messages until NewBlocks
      
      * Hold onto pending approval messages until NewBlocks
      
      * guide: adjust comment
      
      * process all actions for one wakeup at a time
      
      * vec
      
      * fix network bridge test
      
      * replace randomness-collective-flip with Babe
      
      * remove PairNotFound
      3300b533
    • Parth's avatar
      Override RuntimeApi::authorities() to include past sessions (#2494) · 3c4ed7b2
      Parth authored
      
      
      * override authorities runtime call
      
      * addressing feedback
      
      * addressing feedback and restoring semantics
      
      * updated helper function
      
      * naming convention + comment
      
      Co-authored-by: default avatarParity <[email protected]>
      3c4ed7b2
    • Kian Paimani's avatar
      Enable two phase election provider in runtimes in 'DryRun' mode (#2476) · eb09db2a
      Kian Paimani authored
      
      
      * Apply some changes
      
      * Make the runtimes build
      
      * Master.into()
      
      * Undo branch updates.
      
      * Undo unwatned changes
      
      * Fix deps one last time
      
      * Fix election lookahead
      
      * Revert deps
      
      * Fix :P
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      eb09db2a
    • Bernhard Schuster's avatar
      feat/view: assure heads in a view are sorted (#2493) · e3f776ab
      Bernhard Schuster authored
      
      
      * feat/view: assure heads in a view are sorted
      
      Allows O(n) comparisons, adds an alternate equiv relation
      which takes O(n^2) for integrity verification.
      
      Ref #2133
      
      * revert: remove custom PartialEq impl, there are no duplicates
      
      * fix: do not sort the live_heads, that alters the local view
      
      * refactor/view: heads should not be public
      
      * chore/spellcheck: add unfinalized
      
      * fix/view: add missing len() and is_empty() fns
      
      * quirk
      
      * vec is not view
      
      * Update node/network/approval-distribution/src/tests.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/network/protocol/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * fixup comment
      
      * fix botched test
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      e3f776ab
    • Kian Paimani's avatar
      Change a few fee/weight parameters (#2481) · 571651e3
      Kian Paimani authored
      * Change a few fee parameters
      
      * Update runtime/common/src/lib.rs
      571651e3
    • Martin Pugh's avatar
      Remove v0.8.28 runtime migrations (#2496) · ece23588
      Martin Pugh authored
      
      
      * remove v0.8.28 runtime migrations
      
      * Update runtime/westend/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * commit suggestions
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      ece23588
  3. Feb 22, 2021
  4. Feb 19, 2021
    • Bastian Köcher's avatar
      Companion for Substrate#8155 (#2478) · 44519d1d
      Bastian Köcher authored
      * Companion for Substrate#8155
      
      https://github.com/paritytech/substrate/pull/8155
      
      * :D
      
      * Update the Substrate reference
      44519d1d
    • Bernhard Schuster's avatar
      feat/jaeger: more spans, more stages (#2477) · 49c6aa9a
      Bernhard Schuster authored
      * feat/jaeger: more spans, more stages
      
      Stage numbers are still arbitrarily picked.
      
      * feat/jaeger: additional spans
      
      * chore/spellcheck: improve the dictionary
      
      * fix/jaeger JaegerSpan -> jaeger::Span
      49c6aa9a
    • Shawn Tabrizi's avatar
      Session Delayed Para Changes / Actions Queue (#2406) · a5defa7c
      Shawn Tabrizi authored
      
      
      * initial implementation of lifecycles and upgrades
      
      * clean up a bit
      
      * fix doc comment
      
      * more rigid lifecycle checks
      
      * include paras which are transitioning, and lifecycle query
      
      * format guide
      
      * update api
      
      * update guide
      
      * explicit outgoing state, fix genesis
      
      * handle outgoing with transitioning paras
      
      * do not include transitioning paras in identifier
      
      * Update roadmap/implementers-guide/src/runtime/paras.md
      
      * Update roadmap/implementers-guide/src/runtime/paras.md
      
      * Update roadmap/implementers-guide/src/runtime/paras.md
      
      * Apply suggestions from code review
      
      * Use matches macro
      
      * Correct terms
      
      * Apply suggestions from code review
      
      * actions queue
      
      * Revert "actions queue"
      
      This reverts commit b2e9011ec8937d6c73e99292416c9692aeb30f73.
      
      * collapse onboarding state
      
      * starting actions queue
      
      * consolidate actions queue
      
      * schedule para initialize result
      
      * more actions queue for upgrade/downgrade
      
      * clean up with fully implemented actions queue
      
      * fix tests
      
      * fix scheduler tests
      
      * fix hrmp tests
      
      * fix test
      
      * doc fixes
      
      * fix hrmp test w/ valid para
      
      * Update paras.md
      
      * fix paras registrar
      
      * Update propose_parachain.rs
      
      * fix merge
      
      * Introduce "shared" module
      
      * fix rococo build
      
      * fix up and use shared
      
      * guide updates
      
      * add shared config to common tests
      
      * add shared to test-runtime
      
      * remove println
      
      * fix note
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      a5defa7c
  5. Feb 18, 2021
  6. Feb 17, 2021
  7. Feb 16, 2021
    • Bastian Köcher's avatar
      Make sure the adder collator fails when something is wrong (#2450) · 27c7347b
      Bastian Köcher authored
      As futures most of the time are catching panics and we don't check this,
      it could happen that we have some statement that isn't correct but the
      test succeeds successfully.
      27c7347b
    • asynchronous rob's avatar
      Disputes High-level rewrite & Disputes runtime (#2424) · a8d3aca1
      asynchronous rob authored
      * REVERT: comment out graphviz
      
      * rewrite most of protocol-disputes
      
      * write about conclusion and  chain selection
      
      * tie back in overview
      
      * basic disputes module
      
      * guide: InclusionInherent -> ParaInherent
      
      * language
      
      * add ParaInherentData type
      
      * plug parainherentdata into provisioner
      
      * provide_multi_dispute
      
      * tweak
      
      * inclusion pipeline logic for disputes
      
      * be clearer about signature checking
      
      * reject backing of disputed blocks
      
      * some type rejigging
      
      * known-disputes runtime API
      
      * wire up inclusion
      
      * Revert "REVERT: comment out graphviz"
      
      This reverts commit 66203e362f7872cb413d258f74634a0aad70302b.
      
      * timeouts
      
      * include in initialization order
      
      * address grumbles
      a8d3aca1
    • thiolliere's avatar
      companion: Babe remove inherent (#2438) · 8734cf62
      thiolliere authored
      8734cf62
    • ordian's avatar
      fix approval import tests and some bugs (#2452) · b28e1b4e
      ordian authored
      * tests: use future::join
      
      * fix panic in cache_session_info_for_head
      
      * fix test assertion
      
      * fix infinite loop in determine_new_blocks
      
      * fix ordering in determine_new_blocks
      
      * fix expected ancestry in tests
      b28e1b4e
    • Sergey Pepyakin's avatar
      Clean up sizes for a workspace (#2445) · 30cba253
      Sergey Pepyakin authored
      30cba253
    • asynchronous rob's avatar
      Integrate Approval Voting into Overseer / Service / GRANDPA (#2412) · 4f21cc7e
      asynchronous rob authored
      * integrate approval voting into overseer
      
      * expose public API and make keystore arc
      
      * integrate overseer in service
      
      * guide: `ApprovedAncestor` returns block number
      
      * return block number along with hash from ApprovedAncestor
      
      * introduce a voting rule for reporting on approval checking
      
      * integrate the delay voting rule
      
      * Rococo configuration
      
      * fix compilation and add slack
      
      * fix web-wasm build
      
      * tweak parameterization
      
      * migrate voting rules to asycn
      
      * remove hack comment
      4f21cc7e
  8. Feb 15, 2021
    • Sergey Pepyakin's avatar
      Mitigation of SIGBUS (#2440) · 5c68e6f9
      Sergey Pepyakin authored
      * Update shared-memory to new version & refactor
      
      This two are combined in a single commit because the new version of
      shared-memory doesn't provide the used functionality anymore.
      
      Therefore in order to update the version of this crate we implement the
      functionality that we need by ourselves, providing a cleaner API along
      the way.
      
      * Significantly decrease the required memory for a workspace
      
      For some reason it was allocating an entire GiB of memory. I suspect
      this has something to do with the current memory size limit of a PVF
      execution environment (the prior name suggests that). However, we don't
      need so much memory anywhere near that amount.
      
      In fact, we could reduce the allocated size even more, but that maybe
      for the next time.
      
      * Unlink shmem just after opening
      
      That will make sure that we don't leak the shmem accidentally.
      
      * Do not compile workspace mod for androind and wasm
      
      * Address some review comments
      
      * Fix the test runner
      
      * Fix missed +1 for the attached flag
      
      * Use .expect rather than .unwrap
      
      * Add a rustdoc for the workspace module
      
      * fixup! Use .expect rather than .unwrap
      
      * Add some doc comments to pub members
      
      * Warn on error removing shm_unlink
      
      * Change the alignment implementation
      
      * Fix the comment nit
      5c68e6f9
    • André Silva's avatar
      node: migrate grandpa voting rule to async api (#2422) · 4503346c
      André Silva authored
      
      
      * node: migrate grandpa voting rule to async api
      
      * node: fix grandpa voting rule tests
      
      * "Update Substrate"
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      4503346c
    • Shawn Tabrizi's avatar
      Initializer + Paras Clean Up Messages When Offboarding (#2413) · eb0159f2
      Shawn Tabrizi authored
      * initial hack in
      
      * finish up
      
      * use notification to pass outgoing paras
      
      * move outgoing paras from notifications
      
      * missing comma
      
      * update guides
      
      * clean up
      eb0159f2
    • Bastian Köcher's avatar
      Polkadot companion for 8114 (#2437) · 22f85c80
      Bastian Köcher authored
      * Polkadot companion for 8114
      
      https://github.com/paritytech/substrate/pull/8114
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      22f85c80
    • Pierre Krieger's avatar
      Companion for substrate#8079 (#2408) · dc45c2d2
      Pierre Krieger authored
      * Companion for substrate#8079
      
      * More changes
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      dc45c2d2