Skip to content
  1. Mar 04, 2021
  2. Mar 03, 2021
  3. Mar 02, 2021
  4. Mar 01, 2021
  5. 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
  6. Feb 27, 2021
  7. 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
  8. Feb 25, 2021
  9. Feb 24, 2021
  10. 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