Skip to content

Commit

Permalink
Polymesh 3.2.0 Release (#1077)
Browse files Browse the repository at this point in the history
* secondary_keys: improve readability

* Substrate 3 (#1022)

* cargo, version -> 3.0.0

* cargo, tag -> v3.0.0

* cargo, remove finality tracker

* cargo, fix wasm builder

* 1. ignore migration tests,
2. bump some deps to 3.0.0 and 0.9.0,
3. fix confidential identity deps

* cargo, move -> monthly-2021-05

* cargo, codec -> 2.0.0

* cargo, move -> pallet-contracts-v3.0.0

* nightly := 2021-05-01, seems to work

* ::Trait -> ::Config

* transaction-payment -> 3.0.0

* migrate check_weights -> 3.0.0,
prefer newtyping and reduce copy pasta from substrate

* get balances pallet to compile again

* fix some WithdrawReason errors

* ::Trait -> ::Config

* multisig: fix param name mistake

* cargo, scale -> 2.0.0, fixup

* ::Trait -> Config + underscore, split later

* pull in pallet-staking diff from 3.0.0

* substrate 3, make contracts compile again

* misc rust fixes

* ::Trait -> Config fixup

* fixup contracts

* fix pallet_weights re. frame_system

* ::Trait -> ::Config fixup

* runtime: nix finality_tracker stuff

* align staking benches with upstream

* fix stuff in runtime pallets

* fixes to node-rpc

* fix base pallet

* sudo: use PalletInfo

* node-rpc fixes

* nix or_patterns feature gate

* minor bridge changes

* pull in minor staking changes

* minor contracts changes

* some test infra fixes

* wip

* to_account_id changes, mostly

* todo reset

* make most tests compile again

* make all tests run again

* 3.0.0 changes to client, almost done

* remove contracts pallet

* fix client + use v3.0.0

* fix staking tests

* run cargo update

* fix rebase fallout

* cargo fmt

* circleci: bump rust toolchain

* staking offchain election: fix test

* fix some bechmarks

* dont use deprecated stuff

* some fallout fixes to tests

* ignore unused result; its what inc_ref does

* nix some unused imports

* bench: remove sp-io/disable_*

* fix staking benches

* use polmesh-v3.0.0 branch

* cargo update

* migration for ValidatorPrefs::blocked

* MESH-1588/Cleanup compliance manager tests using `a_token` and `basic_asset` (#1013)

* Cleanup compliance manager tests using `a_token` and `basic_asset`

* cargo fmt

* Dedup `create_token` and move it into `asset_test`

* Use `User::new` for test accounts.

* Don't use `From` impls on `User`.

* More dedup.

* cargo fmt

Co-authored-by: Adam Dossa <[email protected]>

* NCBD-234 Fix cli integration tests (#1040)

* Fix cli integration tests

* add BOOTSTRAP_BIG

* Update versions

* Fix deserialization from `jsonrpc` for the RPC interface. (#1042)

* Fix deserialization from `jsonrpc` for the RPC interface.

* Enable support for `u128` in RPC interface.

* Remove u128 restriction from RPC.

* Remove rpc-check job.

* Bump spec versions

* Remove ValidatorPrefsWithBlocked from schema

Co-authored-by: Mazdak Farrokhzad <[email protected]>
Co-authored-by: Robert Gabriel Jakabosky <[email protected]>
Co-authored-by: raycar5 <[email protected]>
  • Loading branch information
4 people authored Aug 23, 2021
1 parent b95b9f8 commit 5a60827
Show file tree
Hide file tree
Showing 203 changed files with 11,493 additions and 13,950 deletions.
27 changes: 8 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
lint:
docker:
- image: polymathnet/rust:debian-nightly-2021-01-25
- image: polymathnet/rust:debian-nightly-2021-05-10
resource_class: medium
environment:
VERBOSE: "1"
Expand All @@ -11,19 +11,9 @@ jobs:
- run:
name: Check formatting
command: ./scripts/rustfmt.sh
rpc-check:
docker:
- image: circleci/node:lts-buster
resource_class: small
steps:
- checkout
- run:
name: Ensure valid RPC return types
command: node util/rpc_u128_check.js
working_directory: ./scripts/cli
build:
docker:
- image: polymathnet/rust:debian-nightly-2021-01-25
- image: polymathnet/rust:debian-nightly-2021-05-10
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand All @@ -48,7 +38,7 @@ jobs:
- "./target"
benchmark-build:
docker:
- image: polymathnet/rust:debian-nightly-2021-01-25
- image: polymathnet/rust:debian-nightly-2021-05-10
resource_class: xlarge
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -90,7 +80,7 @@ jobs:
no_output_timeout: 1h
migration-tests:
docker:
- image: polymathnet/rust:debian-nightly-2021-01-25
- image: polymathnet/rust:debian-nightly-2021-05-10
resource_class: large
environment:
- VERBOSE: "1"
Expand All @@ -116,7 +106,7 @@ jobs:
- "./target"
test:
docker:
- image: polymathnet/rust:debian-nightly-2021-01-25
- image: polymathnet/rust:debian-nightly-2021-05-10
resource_class: large
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -151,7 +141,7 @@ jobs:
- "./target"
coverage:
docker:
- image: polymathnet/rust:debian-nightly-2021-01-25
- image: polymathnet/rust:debian-nightly-2021-05-10
resource_class: large
environment:
- VERBOSE: "1"
Expand Down Expand Up @@ -179,7 +169,7 @@ jobs:
- "./target"
cli:
docker:
- image: polymathnet/rust:debian-nightly-2021-01-25
- image: polymathnet/rust:debian-nightly-2021-05-10
resource_class: xlarge
environment:
VERBOSE: "1"
Expand Down Expand Up @@ -218,7 +208,7 @@ jobs:
- "./scripts/cli/node_modules"
clippy:
docker:
- image: polymathnet/rust:debian-nightly-2021-01-25
- image: polymathnet/rust:debian-nightly-2021-05-10
resource_class: large
environment:
VERBOSE: "1"
Expand Down Expand Up @@ -249,4 +239,3 @@ workflows:
- benchmark:
requires:
- benchmark-build
- rpc-check
Loading

0 comments on commit 5a60827

Please sign in to comment.