Files
pezkuwi-subxt/polkadot/bridges/scripts/update-weights.sh
T
Tomasz Drwięga 5169155f94 Adding Bridges code as git subtree. (#2515)
* Add instructions.

* Squashed 'bridges/' content from commit 345e84a21

git-subtree-dir: bridges
git-subtree-split: 345e84a2146b56628e9888c9f5e129cb40e868a9

* Remove bridges workspace file to avoid confusing Cargo.

* Add some bridges primitives to Polkadot workspace.

* Improve docs.
2021-03-01 22:33:16 +01:00

16 lines
426 B
Bash
Executable File

#!/bin/sh
# Run this script from root of the repo
cargo run --manifest-path=bin/rialto/node/Cargo.toml --release --features=runtime-benchmarks -- benchmark \
--chain=local \
--steps=50 \
--repeat=20 \
--pallet=pallet_message_lane \
--extrinsic=* \
--execution=wasm \
--wasm-execution=Compiled \
--heap-pages=4096 \
--output=./modules/message-lane/src/weights.rs \
--template=./.maintain/rialto-weight-template.hbs