mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
### Add missing weights for BABE, GRANDPA, and Randomness #### Summary Adds generated weights and wires them into the runtime for the BABE, GRANDPA, and Randomness pallets to replace defaults and ensure accurate execution costs across networks. #### What’s changed - **New weights added** for `pallet_grandpa`, `pallet_babe` and `pallet_randomness` - **Runtime configs updated to use new weights** - `operator/runtime/mainnet/src/configs/mod.rs` - `operator/runtime/stagenet/src/configs/mod.rs` - `operator/runtime/testnet/src/configs/mod.rs` #### For follow-up PRS - fix `pallet_identity` failure at running benchmarks - fix `pallet_collective` benchmarking missmatch (related to https://github.com/paritytech/polkadot-sdk/pull/6435) - add `pallet_session_benchmarking` without including `pallet_staking` (or some workaround) - add StorageHub weights to our benchmarked pallets (`pallet_nfts`, `pallet_storage_providers`, `pallet_payment_streams`, `pallet_proofs_dealer`, `pallet_file_system`, `pallet_bucket_nfts`, etc) |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||