mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-06-18 03:41:08 +00:00
Complete terminology rebrand to Pezkuwi ecosystem
Applied global changes: Polkadot->Pezkuwi, Parachain->TeyrChain, pallet->pezpallet, frame->pezframe. Updated authors in Cargo.toml to include Kurdistan Tech Institute and pezkuwichain team. Used Cargo aliases to maintain SDK compatibility while using rebranded names in source code.
This commit is contained in:
@@ -30,18 +30,18 @@ cargo build --features runtime-benchmarks
|
||||
# Build release runtime benchmarks
|
||||
cargo build --release --features=runtime-benchmarks
|
||||
|
||||
# Collect all pallets needed for benchmarking
|
||||
# Makes the assumption all pallets are present at: /pallets/$PALLET_NAME
|
||||
pallets=$(ls pallets/)
|
||||
# Collect all pezpallets needed for benchmarking
|
||||
# Makes the assumption all pezpallets are present at: /pezpallets/$PALLET_NAME
|
||||
pezpallets=$(ls pezpallets/)
|
||||
|
||||
# Generate weights
|
||||
for pallet_name in $pallets; do
|
||||
./target/release/node benchmark pallet \
|
||||
--pallet pallet_$pallet_name \
|
||||
for pezpallet_name in $pezpallets; do
|
||||
./target/release/node benchmark pezpallet \
|
||||
--pezpallet pezpallet_$pezpallet_name \
|
||||
--extrinsic "*" \
|
||||
--steps 50 \
|
||||
--repeat 20 \
|
||||
--output ./runtime/src/weights/$pallet_name.rs
|
||||
--output ./runtime/src/weights/$pezpallet_name.rs
|
||||
done
|
||||
```
|
||||
[start=3]
|
||||
|
||||
Reference in New Issue
Block a user