Skip to content

Fix js generated leaf test issue #185

Fix js generated leaf test issue

Fix js generated leaf test issue #185

Workflow file for this run

name: Metaverse Benchmark
on:
pull_request:
branches:
- master
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set-Up
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl
- name: Install Rustup
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup default nightly && rustup update
rustup default nightly-2022-11-15
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-11-15
- name: Check Rust version
run: rustup show
- name: Check Format
run: cargo fmt --all -- --check
- name: Build Benchmarking
run: |
cargo build --release --features runtime-benchmarks
- name: Run Benchmarking
run: |
./target/release/metaverse-node benchmark pallet \
--execution=wasm \
--wasm-execution=compiled \
--pallet "*" \
--extrinsic "*" \
--steps 20 \
--repeat 10 \
--output pallets/all-weight.rs