Skip to content

Commit

Permalink
Release/5.3.0 to master (#338)
Browse files Browse the repository at this point in the history
## Description
<!-- Describe what change this PR is implementing -->

## Types of Changes
Please select the branch type you are merging and fill in the relevant
template.
<!--- Check the following box with an x if the following applies: -->
- [ ] Hotfix
- [X] Release
- [ ] Fix or Feature

## Fix or Feature
<!--- Check the following box with an x if the following applies: -->

### Types of Changes
<!--- What types of changes does your code introduce? -->
- [ ] Tech Debt (Code improvements)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Dependency upgrade (A change in substrate or any 3rd party crate
version)

### Migrations and Hooks
<!--- Check the following box with an x if the following applies: -->
- [X] This change requires a runtime migration.
- [ ] Modifies `on_initialize`
- [ ] Modifies `on_finalize`

### Checklist for Fix or Feature
<!--- All boxes need to be checked. Follow this checklist before
requiring PR review -->
- [X] Change has been tested locally.
- [ ] Change adds / updates tests if applicable.
- [X] Changelog doc updated.

## Checklist for Hotfix
<!--- All boxes need to be checked. Follow this checklist before
requiring PR review -->
- [ ] Change has been deployed to Testnet.
- [ ] Change has been tested in Testnet.
- [ ] Changelog has been updated.
- [ ] Crate version has been updated.
- [ ] Spec version has been updated.
- [ ] Transaction version has been updated if required.
- [ ] Pull Request to `dev` has been created.
- [ ] Pull Request to `staging` has been created.

## Checklist for Release
<!--- All boxes need to be checked. Follow this checklist before
requiring PR review -->
- [ ] Change has been deployed to Devnet.
- [ ] Change has been tested in Devnet.
- [ ] Change has been deployed to Qanet.
- [ ] Change has been tested in Qanet.
- [ ] Change has been deployed to Testnet.
- [ ] Change has been tested in Testnet.
- [ ] Changelog has been updated.
- [ ] Crate version has been updated.
- [ ] Spec version has been updated.
- [ ] Transaction version has been updated if required.

---------

Co-authored-by: rakanalh <rakan.alhneiti@gmail.com>
Co-authored-by: Yahor Tsaryk <egortsaryk@gmail.com>
Co-authored-by: Maksim Ramanenkau <cbnhrpo@gmail.com>
Co-authored-by: Pavel <pavel.tabako@gmail.com>
  • Loading branch information
5 people authored May 17, 2024
1 parent 013fe30 commit 8001950
Show file tree
Hide file tree
Showing 46 changed files with 3,005 additions and 1,384 deletions.
3 changes: 1 addition & 2 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
addReviewers: true
addAssignees: author
reviewers:
- rakanalh
- MRamanenkau
- Raid5594
- aie0
- yahortsaryk
- ayushmishra2005
skipKeywords:
- wip
numberOfReviewers: 1
40 changes: 37 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
### Description
## Description
<!-- Describe what change this PR is implementing -->

## Types of Changes
Please select the branch type you are merging and fill in the relevant template.
<!--- Check the following box with an x if the following applies: -->
- [ ] Hotfix
- [ ] Release
- [ ] Fix or Feature

## Fix or Feature
<!--- Check the following box with an x if the following applies: -->

### Types of Changes
<!--- What types of changes does your code introduce? -->
- [ ] Tech Debt (Code improvements)
Expand All @@ -15,8 +25,32 @@
- [ ] Modifies `on_initialize`
- [ ] Modifies `on_finalize`

### Checklist
### Checklist for Fix or Feature
<!--- All boxes need to be checked. Follow this checklist before requiring PR review -->
- [ ] Change has been tested locally.
- [ ] Change adds / updates tests.
- [ ] Change adds / updates tests if applicable.
- [ ] Changelog doc updated.

## Checklist for Hotfix
<!--- All boxes need to be checked. Follow this checklist before requiring PR review -->
- [ ] Change has been deployed to Testnet.
- [ ] Change has been tested in Testnet.
- [ ] Changelog has been updated.
- [ ] Crate version has been updated.
- [ ] Spec version has been updated.
- [ ] Transaction version has been updated if required.
- [ ] Pull Request to `dev` has been created.
- [ ] Pull Request to `staging` has been created.

## Checklist for Release
<!--- All boxes need to be checked. Follow this checklist before requiring PR review -->
- [ ] Change has been deployed to Devnet.
- [ ] Change has been tested in Devnet.
- [ ] Change has been deployed to Qanet.
- [ ] Change has been tested in Qanet.
- [ ] Change has been deployed to Testnet.
- [ ] Change has been tested in Testnet.
- [ ] Changelog has been updated.
- [ ] Crate version has been updated.
- [ ] Spec version has been updated.
- [ ] Transaction version has been updated if required.
62 changes: 29 additions & 33 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Install nightly toolchain
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-03-12
Expand All @@ -41,10 +41,10 @@ jobs:
- uses: actions/checkout@v3
- name: Install linux dependencies
run: sudo apt update && sudo apt install -y cargo clang libssl-dev llvm libudev-dev protobuf-compiler
- name: Install nightly toolchain
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-03-12
toolchain: 1.77.0
override: true
target: wasm32-unknown-unknown
- name: Rust Cache
Expand All @@ -55,38 +55,34 @@ jobs:
- name: Run dev chain
run: |
timeout --preserve-status 30s ./target/release/cere --dev
# Disabled for one release to apply missing migrations
# https://github.com/Cerebellum-Network/blockchain-node/pull/300
# - name: Check Build for Benchmarking
# run: >
# pushd node &&
# cargo check --features=runtime-benchmarks --release
- name: Check Build for Benchmarking
run: >
pushd node &&
cargo check --features=runtime-benchmarks --release
- name: Check Build for Try-Runtime
run: |
cargo check --features=try-runtime --release
# Disabled for one release to apply missing migrations
# https://github.com/Cerebellum-Network/blockchain-node/pull/300
# clippy:
# name: Run Clippy
# needs: format
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# - name: Install linux dependencies
# run: sudo apt update && sudo apt install -y cargo clang libssl-dev llvm libudev-dev protobuf-compiler
# - name: Install nightly toolchain
# uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly-2023-05-23
# override: true
# target: wasm32-unknown-unknown
# components: clippy
# - name: Rust Cache
# uses: Swatinem/rust-cache@v2
# - name: Check with Clippy
# run: |
# cargo clippy --no-deps --all-targets --features runtime-benchmarks,try-runtime --workspace -- --deny warnings
clippy:
name: Run Clippy
needs: format
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install linux dependencies
run: sudo apt update && sudo apt install -y cargo clang libssl-dev llvm libudev-dev protobuf-compiler
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.77.0
override: true
target: wasm32-unknown-unknown
components: clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Check with Clippy
run: |
cargo clippy --no-deps --all-targets --features runtime-benchmarks,try-runtime --workspace -- --deny warnings
tests:
name: Run tests
Expand All @@ -98,10 +94,10 @@ jobs:
- uses: actions/checkout@v3
- name: Install linux dependencies
run: sudo apt update && sudo apt install -y cargo clang libssl-dev llvm libudev-dev protobuf-compiler
- name: Install nightly toolchain
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-03-12
toolchain: 1.77.0
override: true
target: wasm32-unknown-unknown
- name: Rust Cache
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [C] Changes is `Cere` Runtime
- [D] Changes is `Cere Dev` Runtime


## [5.3.0]

### Changed

- [C,D] Updated Substrate to polkadot-v1.1.0
- [C,D] Introduction of the OpenGov
- [C,D] `pallet-ddc-clusters`: Added Erasure coding and Replication in cluster params

## [5.2.2]

- [C,D] Depositing extra amount in ddc-customers pallet is fixed
Expand Down Expand Up @@ -65,13 +74,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [C] `5.0.1` release changes are reverted
- [C,D] Off-chain workers are enabled

## [5.0.1]

### Changed

- [C,D] Set burn rate at 0.058% CERE tokens at the end of every era.

## [5.0.0]

### Changed

- [C,D] Updated Substrate to polkadot-v1.0.0
- [C,D] `pallet-ddc-customers`: implemented bucket removal

### Added
- Added ChargeError event to payout pallet

## [4.8.9]

### Changed
Expand Down
Loading

0 comments on commit 8001950

Please sign in to comment.