Refactoring Checkpoint: (WIP)
This commit is contained in:
@@ -3,4 +3,4 @@ These runtimes are used for benchmarking the `set_code` intrinsic.
|
||||
**Don't use them in production environments!**
|
||||
|
||||
To update the just copy the new runtime from
|
||||
`target/release/wbuild/kitchensink-runtime/kitchensink_runtime.compact.compressed.wasm` to here.
|
||||
`target/release/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.compact.compressed.wasm` to here.
|
||||
|
||||
@@ -29,9 +29,9 @@ pub struct Pallet<T: Config>(System<T>);
|
||||
pub trait Config: pezframe_system::Config {
|
||||
/// Adds ability to the Runtime to test against their sample code.
|
||||
///
|
||||
/// Default is `../res/kitchensink_runtime.compact.compressed.wasm`.
|
||||
/// Default is `../res/pez_kitchensink_runtime.compact.compressed.wasm`.
|
||||
fn prepare_set_code_data() -> Vec<u8> {
|
||||
include_bytes!("../res/kitchensink_runtime.compact.compressed.wasm").to_vec()
|
||||
include_bytes!("../res/pez_kitchensink_runtime.compact.compressed.wasm").to_vec()
|
||||
}
|
||||
|
||||
/// Adds ability to the Runtime to prepare/initialize before running benchmark `set_code`.
|
||||
|
||||
Reference in New Issue
Block a user