Oliver Tale-Yazdi
Oliver Tale-Yazdi
Closes https://github.com/paritytech/substrate/issues/12252: - Adds the base-weight of the respective dispatch class into the event by modifying `note_applied_extrinsic`. - Update tests and give the mocked `Operational` class a distinct base weight,...
Some follow-ups from https://github.com/paritytech/substrate/pull/11091: - [x] Polkadot integration https://github.com/paritytech/polkadot/pull/5137 - [x] Add a minimal test https://github.com/paritytech/polkadot/pull/5137 - [ ] For the `overhead` sub-command: - [x] Add a `--header` flag analogous...
https://github.com/paritytech/substrate/pull/11976 fixed the `runtime-benchmarks` feature bleed. Now to lock it in place we can create a CI action which verifies this. `cargo tree --locked --workspace -e=no-dev -e features | grep...
Testing https://github.com/paritytech/polkadot/pull/5729
Came up [here](https://github.com/paritytech/polkadot/pull/5205/#discussion_r949143969) that the relation between these constants is not obvious without explanation. Screenshot since GH does not jump to the discussion :man_facepalming: 
Introduces a `defensive_truncate_from` trait function to defensively truncate if `TryFrom` failed because of length bounds. Example: ```rust use frame_support::{BoundedVec, traits::DefensiveTruncateFrom}; use sp_runtime::traits::ConstU32; let unbound = vec![1, 2, 3]; let bound...
Closes https://github.com/paritytech/substrate/issues/12251 Adds the Storage proof size to the the *overhead* weight template. New rendered `extrinsic_weights.rs` looks like this: ```rust /// Time to execute a NO-OP extrinsic. For example `System::remark`....
Uses the script from https://github.com/paritytech/pipeline-scripts/pull/81 to assert that certain Rust features do not imply others. It currently has the rules: ```pre "default,std never implies runtime-benchmarks" "default,std never implies try-runtime" ```...
Upon starting a node we currently print some brief hardware metrics. This could be extended to include a warning in case the node has bad performance and was started with...
This MR makes it possible to have optional block weight limits for *Ref Time* and *Proof Size*. Additionally to this it will emit a `PovLimitExceeded` and print a warning if...