feat: add weights, benchmarking, mock and tests for ping and teyrchain-info pallets
- ping: weights.rs (WeightInfo trait + implementations), benchmarking.rs (v2-style benchmarks for start/start_many/stop/stop_all), mock.rs (test runtime with MockXcmSender), tests.rs (26 tests covering all extrinsics) - teyrchain-info: mock.rs (minimal test runtime), tests.rs (7 tests for genesis config and ParaId getter) - Updated ping lib.rs to use WeightInfo instead of zero weights - Added WeightInfo = () to testing runtime Config
This commit is contained in:
Generated
+5
@@ -11244,8 +11244,11 @@ dependencies = [
|
||||
"parity-scale-codec",
|
||||
"pezcumulus-pezpallet-xcm",
|
||||
"pezcumulus-primitives-core",
|
||||
"pezframe-benchmarking",
|
||||
"pezframe-support",
|
||||
"pezframe-system",
|
||||
"pezsp-core",
|
||||
"pezsp-io",
|
||||
"pezsp-runtime",
|
||||
"pezstaging-xcm",
|
||||
"scale-info",
|
||||
@@ -21489,6 +21492,8 @@ dependencies = [
|
||||
"pezcumulus-primitives-core",
|
||||
"pezframe-support",
|
||||
"pezframe-system",
|
||||
"pezsp-core",
|
||||
"pezsp-io",
|
||||
"pezsp-runtime",
|
||||
"scale-info",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user