Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
chore: fix srtool and a few paths
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Jun 24, 2021
1 parent 8e7ff6f commit fc1e339
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/srtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
uses: chevdor/srtool-actions@v0.1.0
with:
chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}-runtime
- name: Summary
run: |
echo '${{ steps.srtool_build.outputs.json }}' | jq > ${{ matrix.chain }}-srtool-digest.json
Expand Down
2 changes: 1 addition & 1 deletion runtime/statemine/src/weights/pallet_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// --steps=50
// --repeat=20
// --raw
// --output=./polkadot-parachains/statemine-runtime/src/weights
// --output=./runtime/statemine/src/weights


#![allow(unused_parens)]
Expand Down
2 changes: 1 addition & 1 deletion runtime/statemine/src/weights/pallet_uniques.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./polkadot-parachains/statemine-runtime/src/weights/
// --output=./runtime/statemine/src/weights/


#![allow(unused_parens)]
Expand Down
2 changes: 1 addition & 1 deletion runtime/statemint/src/weights/pallet_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// --steps=50
// --repeat=20
// --raw
// --output=./polkadot-parachains/statemint-runtime/src/weights
// --output=./runtime/statemint/src/weights


#![allow(unused_parens)]
Expand Down
2 changes: 1 addition & 1 deletion runtime/westmint/src/weights/pallet_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// --steps=50
// --repeat=20
// --raw
// --output=./polkadot-parachains/statemint-runtime/src/weights
// --output=./runtime/statemint/src/weights


#![allow(unused_parens)]
Expand Down
4 changes: 2 additions & 2 deletions scripts/benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

steps=50
repeat=20
statemineOutput=./polkadot-parachains/statemine-runtime/src/weights
statemintOutput=./polkadot-parachains/statemint-runtime/src/weights
statemineOutput=./runtime/statemine/src/weights
statemintOutput=./runtime/statemint/src/weights
statemineChain=statemine-dev
statemintChain=statemint-dev
pallets=(
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_genesis_value.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ pushd generate_genesis_values
yarn
popd

node generate_genesis_values ../polkadot-parachains/res/$chain_id.json ../polkadot-parachains/res/${chain_id}_genesis_values.json
node generate_genesis_values ../runtime/res/$chain_id.json ../runtime/res/${chain_id}_genesis_values.json

0 comments on commit fc1e339

Please sign in to comment.