mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
frame-benchmarking-cli: Remove native dispatch requirement (#14474)
* frame-benchmarking-cli: Remove native dispatch requirement No need for this, we can just use the `WasmExecutor` directly. * Fixes * Pass benchmarking host functions * Ensure we can pass custom host functions
This commit is contained in:
@@ -2708,13 +2708,13 @@ pub mod pallet_prelude {
|
||||
/// - query the metadata using the `state_getMetadata` RPC and curl, or use `subsee -p
|
||||
/// <PALLET_NAME> > meta.json`
|
||||
/// 2. Generate the template upgrade for the pallet provided by `decl_storage` with the
|
||||
/// environment variable `PRINT_PALLET_UPGRADE`: `PRINT_PALLET_UPGRADE=1 cargo check -p
|
||||
/// my_pallet`. This template can be used as it contains all information for storages,
|
||||
/// genesis config and genesis build.
|
||||
/// environment variable `PRINT_PALLET_UPGRADE`: `PRINT_PALLET_UPGRADE=1 cargo check -p
|
||||
/// my_pallet`. This template can be used as it contains all information for storages,
|
||||
/// genesis config and genesis build.
|
||||
/// 3. Reorganize the pallet to have the trait `Config`, `decl_*` macros,
|
||||
/// [`ValidateUnsigned`](`pallet_prelude::ValidateUnsigned`),
|
||||
/// [`ProvideInherent`](`pallet_prelude::ProvideInherent`), and Origin` all together in one
|
||||
/// file. Suggested order:
|
||||
/// [`ValidateUnsigned`](`pallet_prelude::ValidateUnsigned`),
|
||||
/// [`ProvideInherent`](`pallet_prelude::ProvideInherent`), and Origin` all together in one
|
||||
/// file. Suggested order:
|
||||
/// * `Config`,
|
||||
/// * `decl_module`,
|
||||
/// * `decl_event`,
|
||||
@@ -2774,8 +2774,8 @@ pub mod pallet_prelude {
|
||||
/// 8. **migrate error**: rewrite it with attribute
|
||||
/// [`#[pallet::error]`](#error-palleterror-optional).
|
||||
/// 9. **migrate storage**: `decl_storage` provide an upgrade template (see 3.). All storages,
|
||||
/// genesis config, genesis build and default implementation of genesis config can be
|
||||
/// taken from it directly.
|
||||
/// genesis config, genesis build and default implementation of genesis config can be taken
|
||||
/// from it directly.
|
||||
///
|
||||
/// Otherwise here is the manual process:
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user