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

feat: release 1.7.0 #373

Merged
merged 71 commits into from
Jun 24, 2022
Merged

feat: release 1.7.0 #373

merged 71 commits into from
Jun 24, 2022

Conversation

ntn-x2
Copy link
Member

@ntn-x2 ntn-x2 commented Jun 23, 2022

Checklist

  • Cherry-pick commits Merge develop (we are now on par)
  • Fix CI image build issue
  • Re-run all benchmarks
  • Update version to 1.7.0 in all crates

ggera and others added 30 commits March 2, 2022 09:01
* Adds two more bootnodes for staging environment closes #1864

* Fixes staging parachain bootNodes
* reset peregrine stg

* delete tmp files
* switch to own ci image

skipping one step should speed up the build

* add ci dockerfile

* add tag
* Adds copy all files in a sigle layer command

* Removes unused docker layer

* Changes debian image to ubuntu

Co-authored-by: Albrecht <[email protected]>
* chore: bump up toolchain to nightly 1.59

* chore: address Clippy warnings
Co-authored-by: William Freudenberger <[email protected]>
…p index (#343)

* fix: add did lookup pallet to DID authorization logic

* test: add unit tests for spiritnet and peregrine runtimes for correct DID verification key derivation

* chore: clippy

* feat: add additional map for reverse index

* test: add unit tests

* chore: update benchmarks checks

* wip: runtime upgrade scripts

* wip: lookup pallet migration

* chore: update toolchain version to nightly 1.59 (#339)

* chore: bump up toolchain to nightly 1.59

* chore: address Clippy warnings

* wip: benchmarks

* bench: benchmark compiling

* chore: try-runtime complete

* chore: update deps

* chore: add migrations to Spiritnet runtime

* chore: add comment in lookup migration

* chore: move migration into lookup pallet

* fix: add try-runtime feature to did lookup crate

* chore: fixes after rebase

* chore: fmt

* chore: ConnectedAccounts map comment

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet-did-lookup --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=pallets/pallet-did-lookup/src/default_weights.rs --template=.maintain/weight-template.hbs

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet-did-lookup --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/peregrine/src/weights/pallet_did-lookup.rs --template=.maintain/runtime-weight-template.hbs

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-did-lookup --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_did-lookup.rs --template=.maintain/runtime-weight-template.hbs

* bench: update benchmarks to include account replacement as worst case

* bench: fix InsufficientFunds error in benchmarks

* chore: fmt

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet-did-lookup --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=pallets/pallet-did-lookup/src/default_weights.rs --template=.maintain/weight-template.hbs

* chore: update comments

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet-did-lookup --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/peregrine/src/weights/pallet_did-lookup.rs --template=.maintain/runtime-weight-template.hbs

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-did-lookup --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_did-lookup.rs --template=.maintain/runtime-weight-template.hbs

Co-authored-by: kiltbot <>
* proxy type for disableling deposit claiming

* fix

* fix: explicit proxy pallet logic for peregrine runtime

* fix: finalise proxy definition for spiritnet

* chore: add explicit encoding value for proxy types

* chore: update mashnet-node with similar proxy structure as peregrine

* chore: clippy

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet-proxy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/peregrine/src/weights/pallet_proxy.rs --template=.maintain/runtime-weight-template.hbs

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-proxy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_proxy.rs --template=.maintain/runtime-weight-template.hbs

Co-authored-by: Antonio Antonino <[email protected]>
Co-authored-by: kiltbot <>
Co-authored-by: William Freudenberger <[email protected]>
* refactor: clean inflation pallet of runtime code

* refactor: clean pallet did lookup of runtime code

* refactor: move parameter to common

* refactor: clean pallet did of runtime references

* refactor: clean kilt launch of runtime code

* refactor: clean parachain-staking of runtime code
* feat: add tips pallet

* fix: benchmarks

* refactor: move provider to common

* feat: add tips membership pallet

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-tips --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_tips.rs --template=.maintain/runtime-weight-template.hbs

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet-tips --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/peregrine/src/weights/pallet_tips.rs --template=.maintain/runtime-weight-template.hbs

* refactor: apply suggestions from @ntn-x2

Co-authored-by: kiltbot <>
* chore: bump deps to Polkadot v0.9.19

* fix: LengthToFee

https://github.com/paritytech/substrate/pull/10785/files

* fix: remove u32_trait

paritytech/substrate#10850

* fix: client

paritytech/substrate#11164
paritytech/cumulus#963
paritytech/cumulus#1069
paritytech/substrate#10878

* fix: clippy runtime

* fix: clippy clone

* feat: add para runtime enum for client

* ci: bump paritytech/ci-linux image

* fix: clippy

* refactor: benchmark cmd match

* fix: peregrune runtime api
* chore: upgrade

* fix keys

* refactor: use runtime debug

only print when in STD environment, no need to impl ourself

* fix: don't disable default features in dev-dependencies

* refactor: remove more debug impls
weichweich and others added 15 commits June 23, 2022 09:04
(cherry picked from commit b83474a)
* feat: add launch pallet removal migration

* chore: rm launch pallet code

* fix: migration

* fix: clippy + suggestion

(cherry picked from commit 6ce128e)
(cherry picked from commit bdeffc9)
* wip: upgrade to Polkadot v0.9.22

* wip: upgrade to Polkadot v0.9.23

* fix: remove deprecated migrations

NOTE: StorageVersion is tracked inside pallet macro

* fix: fee calc

paritytech/substrate#11415

* chore: bump deps

* fix: add missing check for non zero sender

paritytech/substrate#10413

* fix: client changes

* refactor: downgrade nightly

paritytech/substrate#11266

* chore: upgrade to latest nightly supported by Substrate

* fix: clippy

* fix: clippy

* ci: bump srtool to 1.60

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark pallet --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_treasury.rs --template=.maintain/runtime-weight-template.hbs

* cargo run --quiet --release -p kilt-parachain --features=runtime-benchmarks -- benchmark pallet --chain=spiritnet-dev --steps=50 --repeat=20 --pallet=pallet-utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtimes/spiritnet/src/weights/pallet_utility.rs --template=.maintain/runtime-weight-template.hbs

* fix: rilt spec

* fix: remove wip unused file

* chore: bump deps

Co-authored-by: kiltbot <>
(cherry picked from commit 5e2fec6)
(cherry picked from commit 52a4765)
* use ci-linx:production base image

* Use hash tag on ci-linux to have more control than latest production

Co-authored-by: William Freudenberger <[email protected]>
(cherry picked from commit 4834987)
(cherry picked from commit 2694263)
(cherry picked from commit 50dc36a)
* feat: upgrade to Polkadot v0.9.24

* ci: bump polkadot image

* ci: fix parity img

* chore: update polkadot deps again

* re-triggering CI jobs

* ci: try a different CI Docker image

* chore: change CI version to 'production'

* chore: update polkadot deps again pt2

Co-authored-by: Antonio Antonino <[email protected]>
(cherry picked from commit 7c49a07)
)

* chore: pin parity CI image to specific hash

* chore: fix KILT CI base Docker image
)

* chore: pin parity CI image to specific hash

* chore: fix KILT CI base Docker image

(cherry picked from commit 9d2e9e9)
@ntn-x2 ntn-x2 self-assigned this Jun 23, 2022
@ntn-x2 ntn-x2 requested a review from trusch June 23, 2022 08:59
Copy link
Contributor

@trusch trusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went through it completely and cant spot any obvious problems. It also builds and runs just fine locally.

@ntn-x2 ntn-x2 marked this pull request as ready for review June 24, 2022 06:54
@ntn-x2 ntn-x2 merged commit aa39f8d into master Jun 24, 2022
@ntn-x2 ntn-x2 deleted the aa/release-1.7.0 branch June 24, 2022 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants