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

Polkadot v0.9.37 (pallet-nfts) #244

Merged
merged 128 commits into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
416a331
Rename some crates for publishing to crates.io (#12837)
joao-paulo-parity Dec 6, 2022
44fbbd9
Whitelist pallet preimage provider upgrade (#12834)
muharem Dec 6, 2022
fafc8e0
Remove `mem_info` and references to `parity-util-mem` (#12795)
mrcnski Dec 6, 2022
11c5057
frame-support: Introduce `EnsureOriginOrHigherPrivilege` (#12844)
bkchr Dec 6, 2022
0d153c9
Mmr persist state (#12822)
acatangiu Dec 7, 2022
200088e
Refund referendum submission deposit (#12788)
muharem Dec 7, 2022
5722ece
Remove sandboxing host function interface (#12852)
athei Dec 7, 2022
0a27e54
bench assert update (#12866)
muharem Dec 7, 2022
b99f2bc
Implement crate publishing on CI (#12768)
joao-paulo-parity Dec 7, 2022
6e73c85
zombienet: warp-sync integration test added (#12675)
michalkucharczyk Dec 7, 2022
ea3ca3f
Move LockableCurrency trait to fungibles::Lockable and deprecate Lock…
tonyalaribe Dec 8, 2022
fae9e36
[pallet-assets] add asset_exists(id: AssetId) function (#12782)
dharjeezy Dec 8, 2022
d0540a7
Introduce sensible weight constants (#12868)
KiChjang Dec 8, 2022
02a9dea
Checkout to the branch HEAD explicitly in `build-linux-substrate` (#1…
rcny Dec 8, 2022
9a0644c
cli: Improve pruning documentation (#12819)
lexnv Dec 8, 2022
e6bbc53
Revert "Move LockableCurrency trait to fungibles::Lockable and deprec…
tonyalaribe Dec 9, 2022
90ab4fa
Don't indefinitely block on shutting down Tokio (#12885)
bkchr Dec 9, 2022
47bd959
General Message Queue Pallet (#12485)
gavofyork Dec 9, 2022
f0b6e79
zombienet timings adjusted (#12890)
michalkucharczyk Dec 9, 2022
9931220
Move import queue out of `sc-network` (#12764)
altonen Dec 9, 2022
15cfd9c
Trace response payload in default `jsonrpsee` middleware (#12886)
tgmichel Dec 9, 2022
33e6029
Ensure that we inform all tasks to stop before starting the 60 second…
bkchr Dec 10, 2022
2f0d59d
Safe desired targets call (#12826)
Ank4n Dec 10, 2022
0ba5206
Fix typo (#12900)
ltfschoen Dec 11, 2022
9772209
ValidateUnsigned: Improve docs. (#12870)
bkchr Dec 11, 2022
06090ab
rpc server with HTTP/WS on the same socket (#12663)
niklasad1 Dec 12, 2022
e5d5d88
`pallet-message-queue`: Fix license (#12895)
ggwpez Dec 12, 2022
b3d9f3c
Use explicit call indices (#12891)
ggwpez Dec 12, 2022
f3c95e6
Pin canonincalized block (#12902)
arkpar Dec 12, 2022
d4837cb
Remove implicit approval chilling upon slash. (#12420)
kianenigma Dec 12, 2022
2a0eeff
bounties calls docs fix (#12909)
muharem Dec 12, 2022
01efa85
pallet-contracts migration pre-upgrade fix for v8 (#12905)
Dinonard Dec 13, 2022
13664c3
use custom environment for publishing crates (#12912)
joao-paulo-parity Dec 13, 2022
93fa104
[contracts] Add debug buffer limit + enforcement (#12845)
agryaznov Dec 13, 2022
89498c0
Fixup some wrong dependencies (#12899)
bkchr Dec 13, 2022
b65c9f0
add numerator and denominator to Rational128 Debug impl and increase …
apopiak Dec 14, 2022
59b5903
Fix state-db pinning (#12927)
arkpar Dec 14, 2022
2e21c35
[ci] add job switcher (#12922)
alvicsam Dec 14, 2022
2f6105b
Use LOG_TARGET in consensus related crates (#12875)
davxy Dec 14, 2022
bb94ac7
Staking: store last `min-active-bond` on-chain (#12889)
gpestana Dec 14, 2022
cd2fdcf
Try-runtime Revamp and Facelift (#12537)
kianenigma Dec 14, 2022
f763ff6
Automatic `withdraw_unbonded` upon `unbond` (#12582)
gpestana Dec 15, 2022
d29967d
documentation: add BEEFY 'spec' (#12920)
acatangiu Dec 15, 2022
cb4f249
Warn on missing `pallet::call_index` (#12894)
ggwpez Dec 15, 2022
47ebf87
increase timeout for publishing (#12934)
joao-paulo-parity Dec 15, 2022
f050628
Node template isn't licensed, remove left-over GPL header (#12937)
bkchr Dec 15, 2022
5d3624c
improve ocw validator/collator CLI description (#12931)
bernardoaraujor Dec 16, 2022
8ef806c
Set WASM_BUILD_WORKSPACE_HINT before starting CI jobs (#12816)
joao-paulo-parity Dec 16, 2022
d57f8a9
Clean up tests from `runtime.block_on()` and moving around `Runtime` …
dmitry-markin Dec 16, 2022
85f660f
Fix missing block number issue on forced canonicalization (#12949)
bkchr Dec 16, 2022
0798d52
Defensive traits: Ensure doc tests are also working without `debug_as…
bkchr Dec 16, 2022
7f4bca1
Authority discovery: Log when we found addresses for an authority (#1…
bkchr Dec 17, 2022
a96cb57
`frame_support::storage`: Add `StorageStreamIter` (#12721)
bkchr Dec 17, 2022
8d11cec
*: update `rand` to v0.8.5 (#12962)
koushiro Dec 19, 2022
1f0865c
sc-network-test::Peer: block push methods return hashes vec (#12944)
michalkucharczyk Dec 19, 2022
cad470b
Support custom genesis block (#12291)
liuchengxu Dec 19, 2022
e118df5
rpc: Implement `chainHead` RPC API (#12544)
lexnv Dec 19, 2022
8a3b2f2
ed25519: Don't panic for invalid signature (#12965)
bkchr Dec 19, 2022
657c808
`BlockId` removal: refactor: `HeaderBackend::header` (#12874)
michalkucharczyk Dec 20, 2022
a8b46da
remove hardcoded crate versions from tests (#12950)
joao-paulo-parity Dec 20, 2022
ce025f3
BlockId removal: refactor: HeaderBackend::status (#12981)
michalkucharczyk Dec 21, 2022
8e76398
Add CallbackHandle to pallet-assets (#12307)
Dinonard Dec 21, 2022
5aaf5f4
Scheduler: remove empty agenda on cancel (#12989)
muharem Dec 21, 2022
1bcb3ce
txpool: TestApi best_block fix (#12992)
michalkucharczyk Dec 21, 2022
ee31631
Migration should be pub (#12996)
ggwpez Dec 21, 2022
708626f
Mmr client gadget - support pallet reset (#12999)
serban300 Dec 22, 2022
be510f2
change crates publishing to be scheduled (#13002)
joao-paulo-parity Dec 22, 2022
d57777a
stabilize `[seal0] take_storage` (#13007)
agryaznov Dec 22, 2022
96e71b5
contracts: Improve contract address derivation (#12883)
athei Dec 22, 2022
acbb91b
[contracts] Remove stack height limiter wasm instrumentation (#12957)
agryaznov Dec 22, 2022
91d91d1
Alliance: remove unused func from weight trait (#13001)
muharem Dec 22, 2022
9443052
txpool: don't validate block transactions if the pool is empty (#12973)
michalkucharczyk Dec 22, 2022
6c65424
Fix fast-unstake for accounts with slashing (#12963)
kianenigma Dec 23, 2022
40cb431
Runtime diagnostics for leaked messages in unbounded channels (#12971)
dmitry-markin Dec 23, 2022
c7f5df2
NFTs 2.0 (#12765)
jsidorenko Dec 23, 2022
ed31016
Ignore empty authority changes (#13010)
bkchr Dec 23, 2022
999b1a1
babe: allow skipping over empty epochs (#11727)
andresilva Dec 24, 2022
c16472e
Allow StakingAdmin to set `min_commission` (#13018)
Ank4n Dec 26, 2022
27e9a1c
Make CLI state pruning optional again (#13017)
bkchr Dec 26, 2022
6fe8cd4
Runtime diagnostics for leaked messages in unbounded channels (part 2…
dmitry-markin Dec 27, 2022
8d20ed5
[contracts] Make debug buffer work like a FIFO pipe (#12953)
agryaznov Dec 27, 2022
d2ef4b0
Improve inactive fund tracking (#13009)
gavofyork Dec 27, 2022
891d6a5
Print "stalled" task on shutdown (#13022)
bkchr Dec 28, 2022
043a60b
Add ensure-ops family methods (#12967)
lemunozm Dec 28, 2022
52e96b3
Derive `Debug` on `SyncStatus` (#13025)
nazar-pc Dec 28, 2022
3addee2
Enable `zstd` for `rusty-cachier` (#13029)
rcny Dec 29, 2022
ed82c87
Unpin `ci-linux` and use the latest `production` tag as before (#13030)
rcny Dec 29, 2022
55c64bc
try-runtime: add cli option --export-proof (#12539)
librelois Dec 30, 2022
bcee526
BlockId removal: refactor: BlockBackend::block|block_status (#13014)
michalkucharczyk Jan 2, 2023
cbd8f1b
Forbid stray tokens in call index (#13036)
Szegoo Jan 2, 2023
c32968a
Use #[pallet::storage_version] for pallet staking (#12728)
Ank4n Jan 3, 2023
e22166f
Enrich TooManySiblingBlocks error info (#13052)
liuchengxu Jan 3, 2023
653eb0d
Do not run `forced_canonicalization` for archive nodes (#13051)
bkchr Jan 3, 2023
6e52d60
remove unused constant: MaxValueSize (#12839)
cuteolaf Jan 3, 2023
18ead61
Fix pallet's integration (#13056)
jsidorenko Jan 4, 2023
2967726
Disallow burning externally locked nfts (#13054)
jsidorenko Jan 4, 2023
d1fe09c
Allow to clear attributes via traits (#13055)
jsidorenko Jan 4, 2023
a052224
Selectable on-runtime-upgrade checks (#13045)
ggwpez Jan 4, 2023
da3a34f
grandpa: pass the actual best block to voting rules (#12477)
andresilva Jan 4, 2023
68fc275
Remove `Copy` from `Ensure*` traits (#13043)
ggwpez Jan 4, 2023
ea387c6
Aura: Do not verify on state import (#13058)
bkchr Jan 4, 2023
05fe10b
upgrade libp2p to 0.50.0 (#12734)
melekes Jan 5, 2023
fb22096
grandpa: remove deprecated afg log target (#13064)
andresilva Jan 5, 2023
6376f13
Return `RuntimeVersion` of overwritten/substituted wasm binary (#13066)
bkchr Jan 5, 2023
e4a4436
aura: remove stale check to skip execution (#13074)
andresilva Jan 5, 2023
934d42a
Kademlia: Speed-up the record fetching (#13081)
bkchr Jan 5, 2023
8d17a16
[contracts] Add docs generator for the contracts API to the `#[define…
agryaznov Jan 5, 2023
bc73ebf
Update trybuild to avoid random test failures. (#13073)
hirschenberger Jan 6, 2023
363ce0a
Do not leak records (#13086)
bkchr Jan 6, 2023
90ffe71
Only use `substrate-wasm-builder` when `std` feature is enabled. (#12…
nazar-pc Jan 6, 2023
4692572
grandpa: bump version to v0.16.1 (#13080)
andresilva Jan 6, 2023
19da111
Remove unused finalization_displaced variable in db (#13090)
skunert Jan 6, 2023
e7814a3
Remove unused types (#13091)
ggwpez Jan 7, 2023
5cbd126
Run `frame_system` integrity tests in Externalities (#13092)
ggwpez Jan 8, 2023
911f65b
add note on usage of twox hash (#13089)
Ank4n Jan 9, 2023
f31588b
Remove unused code in state-db (#13103)
skunert Jan 9, 2023
6c7e941
EPM and staking events improvement (#13035)
gpestana Jan 9, 2023
dc18d13
CI: configure `cargo-nextest`'s reporter options explicitly (#13104)
rcny Jan 9, 2023
b85246b
Add ensure_pow method (#13042)
lemunozm Jan 9, 2023
75d10c7
Add solution hint to error message (#13111)
Jan 10, 2023
4e38342
Avoid unintentionally canceling the scheduled crate publishing job (#…
joao-paulo-parity Jan 10, 2023
ad844be
introduce log-target constant to more frame pallets (#13116)
tonyalaribe Jan 10, 2023
cb63d3d
Update tests for 1.66 and switch CI to stable Rust 1.66 (#13118)
rcny Jan 10, 2023
946507b
remove update-node-template (#13100)
joao-paulo-parity Jan 11, 2023
f38bd66
Fix block pruning (#13323)
arkpar Feb 7, 2023
7ecabfe
Merge remote-tracking branch 'upstream/polkadot-v0.9.37' into develop
kacperzuk-neti Feb 14, 2023
7f2f75d
Fix call_index warnings
kacperzuk-neti Feb 14, 2023
cb3b214
Migrations
kacperzuk-neti Feb 14, 2023
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
117 changes: 96 additions & 21 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ stages:
- test
- build
- publish
- zombienet
- deploy
- notify

Expand All @@ -47,22 +48,39 @@ variables:
CARGO_INCREMENTAL: 0
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
# staging image with rust 1.65 and nightly-2022-11-16
CI_IMAGE: "paritytech/ci-linux@sha256:786869e731963b3cc0a4aa9deb83367ed9e87a6ae48b6eb029d62b0cab4d87c1"
CI_IMAGE: "paritytech/ci-linux@sha256:9140bc3c843a8b12a3bcf6f5886346536092795bbadfd7f1836362cb28dfcc71"
BUILDAH_IMAGE: "quay.io/buildah/stable:v1.27"
RUSTY_CACHIER_SINGLE_BRANCH: master
RUSTY_CACHIER_DONT_OPERATE_ON_MAIN_BRANCH: "true"
RUSTY_CACHIER_COMPRESSION_METHOD: zstd
NEXTEST_FAILURE_OUTPUT: immediate-final
NEXTEST_SUCCESS_OUTPUT: final
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.22"

default:
.shared-default: &shared-default
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- api_failure
interruptible: true
cache: {}

.default-pipeline-definitions:
default:
<<: *shared-default
interruptible: true

.crate-publishing-pipeline-definitions:
default:
<<: *shared-default
# The crate-publishing pipeline defaults to `interruptible: false` so that we'll be able to
# reach and run the publishing jobs despite the "Auto-cancel redundant pipelines" CI setting.
# The setting is relevant because the crate-publishing pipeline runs on `master`, thus future
# pipelines on `master` (e.g. created for new commits or other schedules) might unintendedly
# cancel the publishing jobs or its dependencies before we get to actually publish the crates.
interruptible: false

.collect-artifacts:
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
Expand All @@ -79,8 +97,24 @@ default:
paths:
- artifacts/

.prepare-env:
before_script:
# TODO: remove unset invocation when we'll be free from 'ENV RUSTC_WRAPPER=sccache' & sccache
# itself in all images
- unset RUSTC_WRAPPER
# $WASM_BUILD_WORKSPACE_HINT enables wasm-builder to find the Cargo.lock from within generated
# packages
- export WASM_BUILD_WORKSPACE_HINT="$PWD"

.job-switcher:
before_script:
- if echo "$CI_DISABLED_JOBS" | grep -xF "$CI_JOB_NAME"; then echo "The job has been cancelled in CI settings"; exit 0; fi

.kubernetes-env:
image: "${CI_IMAGE}"
before_script:
- !reference [.job-switcher, before_script]
- !reference [.prepare-env, before_script]
tags:
- kubernetes-parity-build

Expand All @@ -93,6 +127,7 @@ default:

.pipeline-stopper-vars:
script:
- !reference [.job-switcher, before_script]
- echo "Collecting env variables for the cancel-pipeline job"
- echo "FAILED_JOB_URL=${CI_JOB_URL}" > pipeline-stopper.env
- echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
Expand All @@ -106,8 +141,8 @@ default:
.docker-env:
image: "${CI_IMAGE}"
before_script:
# TODO: remove unset invocation when we'll be free from 'ENV RUSTC_WRAPPER=sccache' & sccache itself in all images
- unset RUSTC_WRAPPER
- !reference [.job-switcher, before_script]
- !reference [.prepare-env, before_script]
- !reference [.rust-info-script, script]
- !reference [.rusty-cachier, before_script]
- !reference [.pipeline-stopper-vars, script]
Expand Down Expand Up @@ -166,40 +201,63 @@ default:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs

.test-refs-wasmer-sandbox:
.publish-refs:
rules:
- if: $CI_PIPELINE_SOURCE == "pipeline"
when: never
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
changes:
- client/executor/**/*
- frame/contracts/**/*
- primitives/sandbox/**/*
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
changes:
- client/executor/**/*
- frame/contracts/**/*
- primitives/sandbox/**/*
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
changes:
- client/executor/**/*
- frame/contracts/**/*
- primitives/sandbox/**/*

.build-refs:
# publish-refs + PRs
rules:
- if: $CI_PIPELINE_SOURCE == "pipeline"
when: never
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs

.zombienet-refs:
extends: .build-refs

.nightly-pipeline:
rules:
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"

.crate-publishing-pipeline:
rules:
- if: $CI_COMMIT_REF_NAME != "master"
when: never

.scheduled-crate-publishing-pipeline:
rules:
- !reference [.crate-publishing-pipeline, rules]
- if: $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "automatic-crate-publishing"

.crates-publishing-template:
stage: test
extends: .docker-env
# collect artifacts even on failure so that we know how the crates were generated (they'll be
# generated to the artifacts folder according to SPUB_TMP further down)
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when: always
expire_in: 7 days
paths:
- artifacts/
variables:
CRATESIO_API: https://crates.io/api
CRATESIO_CRATES_OWNER: parity-crate-owner
GH_API: https://api.github.com
REPO: substrate
REPO_OWNER: paritytech
SPUB_TMP: artifacts

#### stage: .pre

skip-if-draft:
Expand All @@ -225,6 +283,24 @@ include:
- scripts/ci/gitlab/pipeline/build.yml
# publish jobs
- scripts/ci/gitlab/pipeline/publish.yml
# zombienet jobs
- scripts/ci/gitlab/pipeline/zombienet.yml
# The crate-publishing pipeline requires a customized `interruptible` configuration. Unfortunately
# `interruptible` can't currently be dynamically set based on variables as per:
# - https://gitlab.com/gitlab-org/gitlab/-/issues/38349
# - https://gitlab.com/gitlab-org/gitlab/-/issues/194023
# Thus we work around that limitation by using conditional includes.
# For crate-publishing pipelines: run it with defaults + `interruptible: false`. The WHOLE
# pipeline is made uninterruptible to ensure that test jobs also get a chance to run to
# completion, because the publishing jobs depends on them AS INTENDED: crates should not be
# published before their source code is checked.
- local: scripts/ci/gitlab/crate-publishing-pipeline.yml
rules:
- if: $PIPELINE == "automatic-crate-publishing"
# For normal pipelines: run it with defaults + `interruptible: true`
- local: scripts/ci/gitlab/default-pipeline.yml
rules:
- if: $PIPELINE != "automatic-crate-publishing"

#### stage: deploy

Expand Down Expand Up @@ -283,7 +359,6 @@ rusty-cachier-notify:
PR_NUM: "${PR_NUM}"
trigger:
project: "parity/infrastructure/ci_cd/pipeline-stopper"
branch: "as-improve"

remove-cancel-pipeline-message:
stage: .post
Expand Down
Loading