Module polkadot_sdk_frame::benchmarking::v1
source · 👎Deprecated: ’The V1 benchmarking syntax is deprecated. Please use the V2 syntax. This warning may become a hard error any time after April 2025. For more info, see: https://github.com/paritytech/polkadot-sdk/pull/5995
Macros§
- This macro adds pallet benchmarks to a
Vec<BenchmarkBatch>
object. - Construct pallet benchmarks for weighing dispatchables.
- Whitelist the given account.
Structs§
- Provides implementations for the extern host functions.
Enums§
- Origin for the System pallet.
Functions§
- Grab an account, seeded by a name and index.
- Commit pending storage changes to the trie database and clear the database cache.
- Get the number of nanoseconds passed since the UNIX epoch
- Get the DB whitelist.
- Get current estimated proof size.
- Get the read/write count.
- Reset the read/write count.
- Set the DB whitelist.
- This caller account is automatically whitelisted for DB reads/writes by the benchmarking macro.
- Reset the trie database to the genesis state.