Automatic weights documentation (!222)
* fix no weight * add const documentation * refactor error handling * refactor doc generation * refactor using if let chaining * add generic constructor * add automatic max block weight from metadata * remove all unwrap * update docs * add extrinsic base weight overhead * update metadata * fix readability * add weights to doc * fix weight analyzer * add max_block_weight * add to workspace * rework as a lib * update all weights * fix overhead benchmark * add relative weight * fix weight evaluation with complexity parameters * add weights computation from weight files
Showing
- Cargo.lock 164 additions, 10 deletionsCargo.lock
- Cargo.toml 1 addition, 0 deletionsCargo.toml
- docs/api/runtime-calls.md 204 additions, 2 deletionsdocs/api/runtime-calls.md
- docs/api/runtime-errors.md 12 additions, 5 deletionsdocs/api/runtime-errors.md
- docs/api/runtime-events.md 13 additions, 1 deletiondocs/api/runtime-events.md
- resources/metadata.scale 0 additions, 0 deletionsresources/metadata.scale
- resources/weight_analyzer/Cargo.toml 19 additions, 0 deletionsresources/weight_analyzer/Cargo.toml
- resources/weight_analyzer/src/lib.rs 198 additions, 0 deletionsresources/weight_analyzer/src/lib.rs
- runtime/common/src/pallets_config.rs 3 additions, 0 deletionsruntime/common/src/pallets_config.rs
- runtime/common/src/weights/block_weights.rs 12 additions, 28 deletionsruntime/common/src/weights/block_weights.rs
- runtime/common/src/weights/extrinsic_weights.rs 12 additions, 28 deletionsruntime/common/src/weights/extrinsic_weights.rs
- runtime/common/src/weights/frame_benchmarking_baseline.rs 40 additions, 27 deletionsruntime/common/src/weights/frame_benchmarking_baseline.rs
- runtime/common/src/weights/frame_system.rs 46 additions, 33 deletionsruntime/common/src/weights/frame_system.rs
- runtime/common/src/weights/pallet_authority_members.rs 43 additions, 30 deletionsruntime/common/src/weights/pallet_authority_members.rs
- runtime/common/src/weights/pallet_balances.rs 40 additions, 27 deletionsruntime/common/src/weights/pallet_balances.rs
- runtime/common/src/weights/pallet_certification_cert.rs 40 additions, 27 deletionsruntime/common/src/weights/pallet_certification_cert.rs
- runtime/common/src/weights/pallet_certification_smith_cert.rs 40 additions, 27 deletions...ime/common/src/weights/pallet_certification_smith_cert.rs
- runtime/common/src/weights/pallet_collective.rs 87 additions, 76 deletionsruntime/common/src/weights/pallet_collective.rs
- runtime/common/src/weights/pallet_distance.rs 40 additions, 27 deletionsruntime/common/src/weights/pallet_distance.rs
- runtime/common/src/weights/pallet_duniter_account.rs 44 additions, 31 deletionsruntime/common/src/weights/pallet_duniter_account.rs
Loading
Please register or sign in to comment