Skip to content

Commit

Permalink
Upgrade to substrate v1.0.0 (#264)
Browse files Browse the repository at this point in the history
### Description
<!-- Describe what change this PR is implementing -->
Supersedes #263  

### 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)
- [x] 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
<!--- All boxes need to be checked. Follow this checklist before
requiring PR review -->
- [x] Change has been tested locally.
- [ ] Change adds / updates tests.
- [x] Changelog doc updated.

### TODO
- [x] Fix contracts migration failing with try-runtime
```
panicked at 'called `Result::unwrap()` on an `Err` value: Other("deposit mismatch")', /home/rakan/.cargo/git/checkouts/substrate-7e08433d4c370a21/948fbd2/frame/contracts/src/migration.rs:296:35
```
- [x] Add missing migrations
- [x] Remove socieyt pallet (#275 )
- [ ] Test upgrade from 0.9.42 to v1.0.0 locally and check if migrations
can execute within the max block weight.
  • Loading branch information
rakanalh authored Feb 21, 2024
1 parent 8c732e3 commit 59c8dfc
Show file tree
Hide file tree
Showing 60 changed files with 1,661 additions and 2,641 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-11-15
toolchain: nightly-2023-05-23
override: true
components: rustfmt
- name: Check TOML
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-11-15
toolchain: nightly-2023-05-23
override: true
target: wasm32-unknown-unknown
- name: Rust Cache
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-11-15
toolchain: nightly-2023-05-23
override: true
target: wasm32-unknown-unknown
components: clippy
Expand All @@ -95,7 +95,7 @@ jobs:
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-11-15
toolchain: nightly-2023-05-23
override: true
target: wasm32-unknown-unknown
- name: Rust Cache
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [C,D] `pallet-ddc-customers`: implemented bucket removal
- Added ChargeError event to payout pallet

- ...

## [5.0.0]

### Changed

- [C,D] Updated Substrate to polkadot-v1.0.0

## [4.8.9]

### Changed

- [C,D] Updated Substrate to polkadot-v0.9.42
- Introduce a burn rate of 0.058% daily to bring inflation down.
- More explicit events in `pallet-ddc-payouts` about batch index
- ...

## [4.8.8]

Expand Down
Loading

0 comments on commit 59c8dfc

Please sign in to comment.