Skip to content

Commit

Permalink
Shiden v3 upgrade (#323)
Browse files Browse the repository at this point in the history
* Shiden v3 upgrade

* Renaming plasm -> astar & custom readme
* Added custom WeightToFee multiplier
* Added pallet-utility into runtime
* Upgraded to polkadot & cumulus v0.9.8

* [CI] bump rust to nightly-2021-06-29

* Added pallet identity

* [CI] cleanup and fixes

* Downgrade to polkadot-v0.9.7

* Bump version & decrease tx byte fee
  • Loading branch information
akru authored Jul 19, 2021
1 parent d9909a6 commit afcfbbc
Show file tree
Hide file tree
Showing 17 changed files with 233 additions and 393 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,20 @@ jobs:
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: 'nightly-2020-08-20'
rust-version: 'nightly-2021-06-29'
targets: 'wasm32-unknown-unknown'
- name: Checkout the source code
uses: actions/checkout@master
with:
submodules: true
- name: Check targets are installed correctly
run: rustup target list --installed
- name: Install build tools
run: cargo install --git https://github.com/alexcrichton/wasm-gc --force
- name: Build doc
run: cargo doc --all --all-features --no-deps
- name: Push index.html
run: echo "<meta http-equiv=\"refresh\" content=\"0; URL='./plasm_cli/index.html'\" />" > ./target/doc/index.html
run: echo "<meta http-equiv=\"refresh\" content=\"0; URL='./astar_collator/index.html'\" />" > ./target/doc/index.html
- name: Push CNAME
run: echo "crates.plasmnet.io" > ./target/doc/CNAME
run: echo "crates.astar.network" > ./target/doc/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/crates_frame.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/dockerpush.yml

This file was deleted.

34 changes: 4 additions & 30 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
os: [ubuntu-latest, macOS-latest]
steps:
- name: Install LLVM (windows only)
if: runner.os == 'Windows'
run: choco install llvm

- uses: hecrj/setup-rust-action@v1
with:
rust-version: 'nightly-2020-08-20'
rust-version: 'nightly-2021-06-29'
targets: 'wasm32-unknown-unknown'

- name: Checkout the source code
Expand All @@ -26,38 +22,16 @@ jobs:
- name: Check targets are installed correctly
run: rustup target list --installed

- name: Install build tools
run: cargo install --git https://github.com/alexcrichton/wasm-gc --force

- name: Run all tests
run: cargo test --all

- name: Build optimized binary
run: cargo build --release --verbose

- name: Upload binary archive into IPFS
if: runner.os != 'Windows'
run: |
cd target/release
tar cfJ plasm-node-${{ matrix.os }}-x86_64.tar.xz plasm-node
curl "https://ipfs.infura.io:5001/api/v0/add" -F file=@plasm-node-${{ matrix.os }}-x86_64.tar.xz
- uses: actions/upload-artifact@master
if: runner.os != 'Windows'
with:
name: plasm-node-${{ matrix.os }}-x86_64.tar.xz
path: target/release/plasm-node-${{ matrix.os }}-x86_64.tar.xz

- name: Upload binary archive into IPFS (windows only)
if: runner.os == 'Windows'
run: |
cd target/release
tar czf plasm-node-${{ matrix.os }}-x86_64.tar.gz plasm-node.exe
curl "https://ipfs.infura.io:5001/api/v0/add" -F file=@plasm-node-${{ matrix.os }}-x86_64.tar.gz
- uses: actions/upload-artifact@master
if: runner.os == 'Windows'
with:
name: plasm-node-${{ matrix.os }}-x86_64.tar.gz
path: target/release/plasm-node-${{ matrix.os }}-x86_64.tar.gz
name: astar-${{ matrix.os }}-x86_64
path: target/release/astar-collator

nix:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit afcfbbc

Please sign in to comment.