Skip to content

Commit

Permalink
Bump deps to v0.9.22 (#571)
Browse files Browse the repository at this point in the history
* Bump deps to v0.9.22

Signed-off-by: Dengjianping <djptux@gmail.com>

* Refactor rpc service

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix fmt

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix build

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix clippy

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix build

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix benchmark

Signed-off-by: Dengjianping <djptux@gmail.com>

* Remove unsafe flags for ws and rpc

Signed-off-by: Dengjianping <djptux@gmail.com>

* Separate rpc implementation by runtime

Signed-off-by: Dengjianping <djptux@gmail.com>

* Native asset should never be minted

Signed-off-by: Dengjianping <djptux@gmail.com>

* Fix test and remove unused crate

Signed-off-by: Dengjianping <djptux@gmail.com>

* Remove minting test case for native asset

Signed-off-by: Dengjianping <djptux@gmail.com>

* Rename mint param

Signed-off-by: Dengjianping <djptux@gmail.com>

* [no ci]Fix typo

Signed-off-by: Dengjianping <djptux@gmail.com>

* Rename will_increase_total_supply param

Signed-off-by: Dengjianping <djptux@gmail.com>

* Pin 07-10 rust nightly in CI

Signed-off-by: Adam Reif <Garandor@manta.network>

* align rust toolchain install sequence with parity docs

Signed-off-by: Adam Reif <Garandor@manta.network>

* try the `rustup +nightly` syntax

Signed-off-by: Adam Reif <Garandor@manta.network>

* pin nightly to 2022-06-02

Signed-off-by: Adam Reif <Garandor@manta.network>

* fix

Signed-off-by: Adam Reif <Garandor@manta.network>

* revert rust stable to 1.61.0

Signed-off-by: Adam Reif <Garandor@manta.network>

* test with WASM_BUILD_TOOLCHAIN env

Signed-off-by: Adam Reif <Garandor@manta.network>

* fix

Signed-off-by: Adam Reif <Garandor@manta.network>

* try RUSTC_BOOTSTRAP

Signed-off-by: Adam Reif <Garandor@manta.network>

* add wasm target to stable

Signed-off-by: Adam Reif <Garandor@manta.network>

* Fix CI workflows by adding RUSTC_BOOTSTRAP=1 flag

Signed-off-by: Adam Reif <Garandor@manta.network>

* wasm target not needed for linters

Signed-off-by: Adam Reif <Garandor@manta.network>

* revert init.sh change

Signed-off-by: Adam Reif <Garandor@manta.network>

* remove unneeded rpc client

Signed-off-by: Adam Reif <Garandor@manta.network>

Co-authored-by: Brandon H. Gomes <bhgomes@pm.me>
Co-authored-by: Georgi Zlatarev <45011053+ghzlatarev@users.noreply.github.com>
Co-authored-by: Adam Reif <Garandor@manta.network>
  • Loading branch information
4 people authored Jul 13, 2022
1 parent eb05731 commit c620999
Show file tree
Hide file tree
Showing 84 changed files with 2,530 additions and 2,333 deletions.
1 change: 1 addition & 0 deletions .github/resources/frame-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(clippy::unnecessary_cast)]

use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generate_calamari_weights_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ jobs:
- name: run benchmark
run: |
manta benchmark \
pallet \
--chain=calamari-dev \
--pallet=${{ matrix.benchmark.pallet.id }} \
--extrinsic=${{ matrix.benchmark.extrinsic.id }} \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generate_dolphin_weights_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ jobs:
- name: run benchmark
run: |
manta benchmark \
pallet \
--chain=dolphin-dev \
--pallet=${{ matrix.benchmark.pallet.id }} \
--extrinsic=${{ matrix.benchmark.extrinsic.id }} \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generate_manta_weights_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ jobs:
- name: run benchmark
run: |
manta benchmark \
pallet \
--chain=manta-local \
--pallet=${{ matrix.benchmark.pallet.id }} \
--extrinsic=${{ matrix.benchmark.extrinsic.id }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_draft_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ jobs:
ls -ahl $HOME/.local/bin/
- name: fetch and chmod polkadot
run: |
curl -L -o $HOME/.local/bin/polkadot https://github.com/paritytech/polkadot/releases/download/v0.9.18/polkadot
curl -L -o $HOME/.local/bin/polkadot https://github.com/paritytech/polkadot/releases/download/v0.9.22/polkadot
chmod +x $HOME/.local/bin/polkadot
ls -ahl $HOME/.local/bin/
- id: create-chainspec
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/run_linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
curl -s https://sh.rustup.rs -sSf | sh -s -- -y
source ${HOME}/.cargo/env
rustup toolchain install nightly
rustup +nightly target add wasm32-unknown-unknown
rustup default nightly
cargo install taplo-cli
- name: Run yamllint
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

### Improvements
- [\#449](https://github.com/Manta-Network/Manta/pull/449) Remove strip from CI, and add strip profile to production.
- [\#571](https://github.com/Manta-Network/Manta/pull/571) Update upstream dependencies to v0.9.22.
- [\#563](https://github.com/Manta-Network/Manta/pull/563) Re-implement the `TransactAsset` trait with the unified interface of `FungibleLedger` trait, and `AssetConfig` trait.
- [\#576](https://github.com/Manta-Network/Manta/pull/576) Unfilter xtokens.transfer_multicurrencies and bump MaxAssetsForTransfer to 2.
- [\#607](https://github.com/Manta-Network/Manta/pull/607) Turn node client code into library for CLI project
- [\#609](https://github.com/Manta-Network/Manta/pull/609) Update parameter path from `sdk` to `manta-parameters`.
- [\#614](https://github.com/Manta-Network/Manta/pull/614) Remove `OnRuntimeUpgrade` from calamari-runtime.
- [\#619](https://github.com/Manta-Network/Manta/pull/619) Add CI runtime upgrade test for Dolphin and improve test scenario.
- [\#622](https://github.com/Manta-Network/Manta/pull/622) Update parameter path from `sdk` to `manta-parameters`.
Expand Down
Loading

0 comments on commit c620999

Please sign in to comment.