Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
091d42e
merge tee-dev branch into dev branch (#902)
BillyWooo Oct 19, 2022
ad5592a
0.9.29 update (#891)
wangminqi Oct 19, 2022
74aa1da
fix Cargo.lock (#904)
Kailai-Wang Oct 20, 2022
dbd770c
lift the bridge transfer restriciton and bump version (#907)
Kailai-Wang Oct 20, 2022
b2be7f6
use hash to compute the raw payload (#910)
Kailai-Wang Oct 24, 2022
3ddb119
remove Litmus sudo (#876)
wangminqi Oct 26, 2022
4738643
Use rococo as dev network (#918)
Kailai-Wang Oct 26, 2022
ebddc56
Bump aes-gcm from `be0d6c2` to `5eb6d1a` (#925)
dependabot[bot] Oct 31, 2022
6c560ac
Bump scale-info from 2.2.0 to 2.3.0 (#926)
dependabot[bot] Oct 31, 2022
c06bd76
Minor update (#928)
Kailai-Wang Nov 2, 2022
e6c0edf
feat: relocate remove_sudo migration code (#936)
wangminqi Nov 7, 2022
4ba17d4
debug: change staking parameter (#931)
wangminqi Nov 10, 2022
63a6cb3
Use sccache in Dockerfile (#937)
Kailai-Wang Nov 10, 2022
8524b08
Update v0.9.30 (#942)
Marky-Shi Nov 11, 2022
18fc80a
optimize cli commands (#947)
Marky-Shi Nov 14, 2022
24ba176
Add onfinality script (#952)
Kailai-Wang Nov 16, 2022
df158ae
Enable parachain staking extrinsic (#955)
wangminqi Nov 17, 2022
4e6092c
Add release bot GHA (#957)
Kailai-Wang Nov 18, 2022
da7cbb8
Issue 958 (#959)
Marky-Shi Nov 21, 2022
d511ff1
Bump serde_json from 1.0.87 to 1.0.88 (#967)
dependabot[bot] Nov 24, 2022
88185f0
Optimize parachain-staking benchmark code to shorten running time (#974)
Marky-Shi Nov 24, 2022
af8a092
Bump aes-gcm from `86250ac` to `6ac2d1c` (#970)
dependabot[bot] Nov 24, 2022
31fe099
Bump serde from 1.0.147 to 1.0.148 (#991)
dependabot[bot] Nov 28, 2022
f4e75f6
Bump serde_json from 1.0.88 to 1.0.89 (#990)
dependabot[bot] Nov 29, 2022
7dbd2f7
feat: add PolkadotXCM filter (#993)
wangminqi Nov 29, 2022
01ab120
update Polkadot v0.9.32 (#1043)
Marky-Shi Dec 1, 2022
e34e02c
Support standalone node for parachain (#1059)
Kailai-Wang Dec 5, 2022
e092a1c
Bump decode-uri-component from 0.2.0 to 0.2.2 in /ts-tests (#1060)
dependabot[bot] Dec 5, 2022
14e0b88
Backport from release-v0.9.13 banch (#1067)
Kailai-Wang Dec 7, 2022
98180e8
Bump express from 4.17.2 to 4.18.2 in /ts-tests (#1071)
dependabot[bot] Dec 7, 2022
054ecb9
Runtime upgrade simulation (#1081)
Kailai-Wang Dec 12, 2022
56f86df
update dependencies from fork pallets to origin integritee pallets v0…
BillyWooo Dec 12, 2022
1b14029
Bump serde from 1.0.149 to 1.0.150 (#1085)
dependabot[bot] Dec 12, 2022
6f01999
Bump scale-info from 2.3.0 to 2.3.1 (#1086)
dependabot[bot] Dec 12, 2022
1c1ee63
Add test local pallets benchmarking shell (#1087)
Marky-Shi Dec 13, 2022
55150a1
Revert "Add test local pallets benchmarking shell (#1087)" (#1091)
jingleizhang Dec 14, 2022
228843b
update tee-worker to upstream/master (3cc02342)
BillyWooo Dec 14, 2022
79a4790
bump up version to 0.9.32
BillyWooo Dec 14, 2022
09429df
Merge remote-tracking branch 'origin/dev' into tee-worker-polkadot-v0…
BillyWooo Dec 14, 2022
59786c9
cargo build / fmt / clippy / test pass
BillyWooo Dec 14, 2022
6c242ff
parachain build
BillyWooo Dec 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install additional dependencies
run: |
sudo apt update -y &&
sudo apt install -y cmake pkg-config libssl-dev git gcc build-essential git clang libclang-dev
sudo apt install -y cmake pkg-config libssl-dev git gcc build-essential git clang libclang-dev

- name: Install cargo-tarpaulin
run: |
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/parachain-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ jobs:
target: wasm32-unknown-unknown
default: true

- name: Install dependencies
run: |
sudo apt-get update && \
sudo apt-get install -yq openssl clang libclang-dev cmake protobuf-compiler

- name: Run cargo clippy check
run: make clippy

Expand Down Expand Up @@ -300,6 +305,11 @@ jobs:
chmod +x $HOME/.local/bin/sccache
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Install dependencies
run: |
sudo apt-get update && \
sudo apt-get install -yq openssl clang libclang-dev cmake protobuf-compiler

- name: Cache cargo registry
if: needs.check-file-change.outputs.src == 'true'
uses: actions/cache@v3
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/release-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 'Release bot'
on:
release:
types: [released]

jobs:
release-bot:
runs-on: ubuntu-latest
# this means the release contains a new docker image (thus a new client)
if: contains(github.event.release.body, 'litentry/litentry-parachain:v')
steps:
- name: Post discord message
env:
DISCORD_WEBHOOK: ${{ secrets.RELEASE_BOT_DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@0.3.2
continue-on-error: true
with:
args: |
Hi @everyone,
🚀 A new client release has been built: https://github.com/litentry/litentry-parachain/releases/tag/${{ github.event.release.tag_name }}
✨ Please update the client using the docker image litentry/litentry-parachain:${{ github.event.release.tag_name }}

- name: Update litmus image version
uses: "OnFinality-io/action-onf-release@v1"
continue-on-error: true
with:
# These keys should be in your GitHub secrets
# https://documentation.onfinality.io/support/onfinality-cli-tool-and-access-keys
onf-access-key: ${{ secrets.ONF_ACCESS_KEY }}
onf-secret-key: ${{ secrets.ONF_SECRET_KEY }}
onf-workspace-id: ${{ secrets.ONF_WORKSPACE_ID }}
onf-network-key: litmus-onfinality-key
# Add a new image version to network spec
onf-sub-command: image
onf-action: add
image-version: ${{ github.event.release.tag_name }}

- name: Update litentry image version
uses: "OnFinality-io/action-onf-release@v1"
continue-on-error: true
with:
# These keys should be in your GitHub secrets
# https://documentation.onfinality.io/support/onfinality-cli-tool-and-access-keys
onf-access-key: ${{ secrets.ONF_ACCESS_KEY }}
onf-secret-key: ${{ secrets.ONF_SECRET_KEY }}
onf-workspace-id: ${{ secrets.ONF_WORKSPACE_ID }}
onf-network-key: litentry
# Add a new image version to network spec
onf-sub-command: image
onf-action: add
image-version: ${{ github.event.release.tag_name }}

40 changes: 40 additions & 0 deletions .github/workflows/simulate-runtime-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Simulate runtime upgrade

on:
release:
types: [released]

workflow_dispatch:
inputs:
release_tag:
description: runtime.wasm release_tag
required: true

env:
RELEASE_TAG: ${{ github.event.inputs.release_tag || github.event.release.tag_name }}

jobs:
simulate-runtime-upgrade:
runs-on: ubuntu-latest
strategy:
matrix:
chain:
# litmus is not supported, as sudo was removed
# TODO: add runtime upgrade via governance
- litentry
- rococo
steps:
- name: Checkout codes on ${{ github.ref }}
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Fork ${{ matrix.chain }} and launch parachain
timeout-minutes: 10
run: |
./scripts/fork-parachain-and-launch.sh ${{ matrix.chain }}

- name: Test runtime upgrade
timeout-minutes: 10
run: |
./scripts/runtime-upgrade.sh https://github.com/litentry/litentry-parachain/releases/download/${{ env.RELEASE_TAG }}/${{ matrix.chain }}-parachain-runtime.compact.compressed.wasm
Loading