Skip to content
  1. Feb 28, 2021
    • Gavin Wood's avatar
      Companion for Substrate #8120 (#2541) · c4b89e11
      Gavin Wood authored
      
      
      * add remark_with_event
      
      * Bump Substrate
      
      * 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=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=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=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: default avatarBryan Chen <[email protected]>
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      c4b89e11
  2. Feb 27, 2021
  3. Feb 26, 2021
    • ordian's avatar
    • Robert Klotzner's avatar
      Request based availability distribution (#2423) · 48409e55
      Robert Klotzner authored
      * WIP
      
      * availability distribution, still very wip.
      
      Work on the requesting side of things.
      
      * Some docs on what I intend to do.
      
      * Checkpoint of session cache implementation
      
      as I will likely replace it with something smarter.
      
      * More work, mostly on cache
      
      and getting things to type check.
      
      * Only derive MallocSizeOf and Debug for std.
      
      * availability-distribution: Cache feature complete.
      
      * Sketch out logic in `FetchTask` for actual fetching.
      
      - Compile fixes.
      - Cleanup.
      
      * Format cleanup.
      
      * More format fixes.
      
      * Almost feature complete `fetch_task`.
      
      Missing:
      
      - Check for cancel
      - Actual querying of peer ids.
      
      * Finish FetchTask so far.
      
      * Directly use AuthorityDiscoveryId in protocol and cache.
      
      * Resolve `AuthorityDiscoveryId` on sending requests.
      
      * Rework fetch_task
      
      - also make it impossible to check the wrong chunk index.
      - Export needed function in validator_discovery.
      
      * From<u32> implementation for `ValidatorIndex`.
      
      * Fixes and more integration work.
      
      * Make session cache proper lru cache.
      
      * Use proper lru cache.
      
      * Requester finished.
      
      * ProtocolState -> Requester
      
      Also make sure to not fetch our own chunk.
      
      * Cleanup + fixes.
      
      * Remove unused functions
      
      - FetchTask::is_finished
      - SessionCache::fetch_session_info
      
      * availability-distribution responding side.
      
      * Cleanup + Fixes.
      
      * More fixes.
      
      * More fixes.
      
      adder-collator is running!
      
      * Some docs.
      
      * Docs.
      
      * Fix reporting of bad guys.
      
      * Fix tests
      
      * Make all tests compile.
      
      * Fix test.
      
      * Cleanup + get rid of some warnings.
      
      * state -> requester
      
      * Mostly doc fixes.
      
      * Fix test suite.
      
      * Get rid of now redundant message types.
      
      * WIP
      
      * Rob's review remarks.
      
      * Fix test suite.
      
      * core.relay_parent -> leaf for session request.
      
      * Style fix.
      
      * Decrease request timeout.
      
      * Cleanup obsolete errors.
      
      * Metrics + don't fail on non fatal errors.
      
      * requester.rs -> requester/mod.rs
      
      * Panic on invalid BadValidator report.
      
      * Fix indentation.
      
      * Use typed default timeout constant.
      
      * Make channel size 0, as each sender gets one slot anyways.
      
      * Fix incorrect metrics initialization.
      
      * Fix build after merge.
      
      * More fixes.
      
      * Hopefully valid metrics names.
      
      * Better metrics names.
      
      * Some tests that already work.
      
      * Slightly better docs.
      
      * Some more tests.
      
      * Fix network bridge test.
      48409e55
    • ordian's avatar
      make runtime_api non blocking task again (#2531) · 241b1f12
      ordian authored
      241b1f12
    • Bernhard Schuster's avatar
      05f74c21
    • Bernhard Schuster's avatar
      test: add unit test to catch missing distribution to subsystems faster (#2495) · 31327eb0
      Bernhard Schuster authored
      
      
      * test: add unit test to catch missing distribution to subsystems faster
      
      * add a simple count
      
      * introduce proc macro to generate dispatch type
      
      * refactor
      
      * refactor
      
      * chore: add license
      
      * fixup unit test
      
      * fixup merge
      
      * better errors
      
      * better fmt
      
      * fix error spans
      
      * better docs
      
      * better error messages
      
      * ui test foo
      
      * Update node/subsystem/dispatch-gen/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/subsystem/Cargo.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/subsystem/dispatch-gen/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/subsystem/dispatch-gen/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * fix compilation
      
      * use find_map
      
      * drop the silly 2, use _inner instead
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/subsystem/dispatch-gen/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * nail deps down
      
      * more into()
      
      * flatten
      
      * missing use statement
      
      * fix messages order
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      31327eb0
    • Xiliang Chen's avatar
      Add an optional verifier to crowdloan (#2248) · 69734bb8
      Xiliang Chen authored
      
      
      * Add an optional verifier to crowdloan
      
      * add tests
      
      * verify signatures
      
      * benchmark with signatures
      
      * update crowdloan benchmark
      
      * try to get keystore working in test
      
      * rewrite to avoid traits
      
      * Use MultiSignature and MultiSigner
      
      * refactor and update benchmarks
      
      * optimize check order
      
      * fix no_std build
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      69734bb8
  4. Feb 25, 2021
  5. Feb 24, 2021
  6. 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
  7. Feb 22, 2021
  8. 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
  9. Feb 18, 2021