Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[manta] Implemented custom SlowAdjustingFeeUpdate in dolphin runtime #395

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ candidate branch.
- [ ] Verify new extrinsics have been correctly whitelisted/blacklisted
- [ ] Verify [benchmarks](#benchmarks) have been updated for any modified
runtime logic.
- [ ] Check for any upstream storage migrations and perform tests with `try-runtime`, if any.

The following checks can be performed after we have forked off to the release branch.
- [ ] Complete the following [manual QA workflow](https://hackmd.io/TbFmorG2RnOPmLuFcg9JOQ?view).
Expand Down
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ write a little note why.
- [ ] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
- [ ] Wrote unit tests.
- [ ] Updated relevant documentation in the code.
- [ ] Added **one** line describing your change in `<branch>/CHANGELOG.md`
- [ ] Re-reviewed `Files changed` in the Github PR explorer.
- [ ] If runtime changes, need to update the version numbers properly:
* `authoring_version`: The version of the authorship interface. An authoring node will not attempt to author blocks unless this is equal to its native runtime.
Expand All @@ -34,3 +35,4 @@ write a little note why.
- [ ] If import a new pallet, choose a proper module index for it, and allow it in `BaseFilter`. Ensure **every** extrinsic works from front-end. If there's corresponding tool, ensure both work for each other.
- [ ] If needed, update our Javascript/Typescript APIs. These APIs are offcially used by exchanges or community developers.
- [ ] If we're going to issue a new release, freeze the code one week early(it depends, but usually it's one week), ensure we have enough time for related testing.
- [ ] Check if inheriting any upstream runtime storage migrations. If any, perform tests with `try-runtime`.
12 changes: 10 additions & 2 deletions .github/workflows/generate_calamari_weights_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
CARGO_TERM_COLOR: always
run: |
source ${HOME}/.cargo/env
CARGO_PROFILE_RELEASE_LTO=true RUSTFLAGS="-C codegen-units=1" cargo build --release --verbose --features=runtime-benchmarks
cargo build --profile production --verbose --features=runtime-benchmarks
-
name: stop sccache server
run: sccache --stop-server || true
Expand All @@ -93,7 +93,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: manta
path: target/release/manta
path: target/production/manta

run-benchmark:
name: benchmark (${{ matrix.benchmark.pallet.name }} ${{ matrix.benchmark.extrinsic.name }})
Expand Down Expand Up @@ -216,6 +216,14 @@ jobs:
id: manta_collator_selection
name: manta_collator_selection
iterations: 20
-
extrinsic:
id: '*'
name: pallet_preimage
pallet:
id: pallet_preimage
name: pallet_preimage
iterations: 20
steps:
-
uses: actions/download-artifact@v2
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/generate_manta_weights_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
CARGO_TERM_COLOR: always
run: |
source ${HOME}/.cargo/env
CARGO_PROFILE_RELEASE_LTO=true RUSTFLAGS="-C codegen-units=1" cargo build --release --verbose --features=runtime-benchmarks
cargo build --profile production --verbose --features=runtime-benchmarks
-
name: stop sccache server
run: sccache --stop-server || true
Expand All @@ -93,7 +93,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: manta
path: target/release/manta
path: target/production/manta

run-benchmark:
name: benchmark (${{ matrix.benchmark.pallet.name }} ${{ matrix.benchmark.extrinsic.name }})
Expand Down Expand Up @@ -160,6 +160,14 @@ jobs:
id: pallet_timestamp
name: pallet_timestamp
iterations: 20
-
extrinsic:
id: '*'
name: pallet_preimage
pallet:
id: pallet_preimage
name: pallet_preimage
iterations: 20
steps:
-
uses: actions/download-artifact@v2
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/publish-draft-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,20 @@ jobs:
SCCACHE_DIR: /home/runner/.cache/sccache
run: |
source ${HOME}/.cargo/env
CARGO_PROFILE_RELEASE_LTO=true RUSTFLAGS="-C codegen-units=1" cargo build --release --verbose
cargo build --profile production --verbose
-
name: stop sccache server
run: sccache --stop-server || true
-
name: strip
run: |
strip target/release/manta
strip target/production/manta
-
name: upload
uses: actions/upload-artifact@v2
with:
name: manta
path: target/release/manta
path: target/production/manta
-
name: upload
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
SCCACHE_DIR: /home/runner/.cache/sccache
run: |
source ${HOME}/.cargo/env
cargo build --verbose --release
cargo build --profile production --verbose
-
if: ${{ needs.check-for-runtime-upgrade.outputs.do-versions-match == 'false' }}
name: stop sccache server
Expand All @@ -259,14 +259,14 @@ jobs:
if: ${{ needs.check-for-runtime-upgrade.outputs.do-versions-match == 'false' }}
name: strip
run: |
strip target/release/manta
strip target/production/manta
-
if: ${{ needs.check-for-runtime-upgrade.outputs.do-versions-match == 'false' }}
name: upload
uses: actions/upload-artifact@v2
with:
name: manta-base
path: target/release/manta
path: target/production/manta
-
name: upload
uses: actions/upload-artifact@v2
Expand All @@ -277,6 +277,7 @@ jobs:
runtime-upgrade-test:
needs:
- build-node-base
- build-node-current
- build-runtimes
- start-runtime-upgrade-tester
- check-for-runtime-upgrade
Expand Down Expand Up @@ -307,7 +308,8 @@ jobs:
name: fetch manta-base
uses: actions/download-artifact@v2
with:
name: manta-base
# Workaround for 0.9.16 breaking change, using the latest binary instead for base.
name: manta
-
if: ${{ needs.check-for-runtime-upgrade.outputs.do-versions-match == 'false' }}
name: mv and chmod manta-base
Expand All @@ -321,7 +323,7 @@ jobs:
if: ${{ needs.check-for-runtime-upgrade.outputs.do-versions-match == 'false' }}
name: fetch and chmod polkadot
run: |
curl -L -o $HOME/.local/bin/polkadot https:/paritytech/polkadot/releases/download/v0.9.13/polkadot
curl -L -o $HOME/.local/bin/polkadot https:/paritytech/polkadot/releases/download/v0.9.16/polkadot
chmod +x $HOME/.local/bin/polkadot
ls -ahl $HOME/.local/bin/
-
Expand Down Expand Up @@ -530,7 +532,7 @@ jobs:
-
name: fetch and chmod polkadot
run: |
curl -L -o $HOME/.local/bin/polkadot https:/paritytech/polkadot/releases/download/v0.9.13/polkadot
curl -L -o $HOME/.local/bin/polkadot https:/paritytech/polkadot/releases/download/v0.9.16/polkadot
chmod +x $HOME/.local/bin/polkadot
ls -ahl $HOME/.local/bin/
-
Expand Down
23 changes: 21 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,32 @@

## Pending

## v3.1.3
### Features
- [\#419](https:/Manta-Network/Manta/pull/419) Add asset manager and XCM support.

### Improvements
- [\#411](https:/Manta-Network/Manta/pull/411) Add a corner case about increasing/decreasing candidate bond in collator-selection.

## v3.1.4-1
### Breaking changes

### Features

### Improvements
- Bump spec version to **3141**.
- [\#403](https:/Manta-Network/Manta/pull/403) Remove pallet_scheduler v3 migration after 3140 runtime upgrade.
- [\#407](https:/Manta-Network/Manta/pull/407) Update substrate dependencies to fix some low hanging fruit in democracy pallet.

### Bug fixes

## v3.1.4
### Breaking changes

### Features

### Improvements
- Bump spec version to **3130**.
- Bump spec version to **3140**.
- [\#377](https:/Manta-Network/Manta/pull/377) Update upstream dependencies to v0.9.16.
- [\#359](https:/Manta-Network/Manta/pull/359) Update upstream dependencies to v0.9.15.
- [\#337](https:/Manta-Network/Manta/pull/337) Add a congested_chain_simulation test in Calamari.
- [\#341](https:/Manta-Network/Manta/pull/341) Create Release Checklist Issue Template.
Expand Down
Loading