Skip to content

Commit

Permalink
fix: benachmarking, test cases, imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul1010 committed Sep 5, 2023
1 parent 94066c9 commit 76ae882
Show file tree
Hide file tree
Showing 227 changed files with 7,522 additions and 8,418 deletions.
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/roadmap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Roadmap
about: Add a new item to the roadmap
title: ''
labels: 'roadmap'
assignees: ''

---

# Abstract

[ADD HERE]

A 2-3 sentence description of the proposal.

# Motivation

[ADD HERE]

Provide a motivation for including this proposal.

# Specification

[ADD HERE]

Provide a high-level, functional specification. The specification should be focussed on what the proposal is trying to achieve.

## [OPTIONAL]Extensions

[OPTIONAL][ADD HERE]

### [OPTIONAL][TITLE]

[OPTIONAL][ADD HERE]

# Reference Implementation

[OPTIONAL][ADD HERE]

Provide a reference implementation, proof of concept, or basic pseudo-code for a better grounds to discuss the suggested implementation. The reference implementation focusses on the how.

# Security Considerations

[ADD HERE]

Provide reasoning around security implications:

- The proposal itself
- The propsals implications to the existing system
100 changes: 0 additions & 100 deletions .github/workflows/benchmark.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: git fetch --prune --unshallow
- name: Install System Dependencies
run: |
Expand Down Expand Up @@ -47,15 +49,13 @@ jobs:
./target/release/interbtc-parachain benchmark pallet \
--pallet '*' \
--extrinsic '*' \
--execution=wasm \
--wasm-execution=compiled \
--steps 2 --repeat 1 \
--template .deploy/runtime-weight-template.hbs \
--chain interlay-dev --output parachain/runtime/interlay/src/weights/
./target/release/interbtc-parachain benchmark pallet \
--pallet '*' \
--extrinsic '*' \
--execution=wasm \
--wasm-execution=compiled \
--steps 2 --repeat 1 \
--template .deploy/runtime-weight-template.hbs \
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ jobs:

- name: Build ${{ matrix.runtime }} runtime
id: srtool_build
uses: chevdor/srtool-actions@v0.7.0
uses: chevdor/srtool-actions@v0.8.0
with:
image: docker.io/interlayhq/srtool
tag: nightly-2022-12-15
package: ${{ matrix.runtime }}-runtime-parachain
runtime_dir: ./parachain/runtime/${{ matrix.runtime }}
chain: ${{ matrix.runtime }}
workdir: ${{ github.workspace }}
- name: Store srtool digest to disk
run: |
echo '${{ steps.srtool_build.outputs.json }}' | jq > ${{ matrix.runtime }}_srtool_output.json
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/notify-breaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -23,8 +23,8 @@ jobs:
fi
- name: Send Discord Notification
uses: Ilshidur/action-discord@master
with:
args: "Breaking change detected in PR: ${{ github.event.pull_request.html_url }}"
webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}
run: |
curl -X POST -H "Content-Type: application/json" \
--data '{"content": "Breaking change detected in PR: ${{ github.event.pull_request.html_url }}"}' \
"${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}"
if: env.BREAKING_CHANGE_DETECTED == 'true'
8 changes: 8 additions & 0 deletions .github/workflows/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ jobs:
with:
project-url: https://github.com/orgs/interlay/projects/3
github-token: ${{ secrets.PROJECTS }}
label: roadmap
label-operator: NOT
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/interlay/projects/4
github-token: ${{ secrets.PROJECTS }}
label: roadmap
label-operator: OR
Loading

0 comments on commit 76ae882

Please sign in to comment.