Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
83808aa
Make a few things for staking miner (#9241)
kianenigma Jun 30, 2021
4cb4223
Enable colored help in CLI (#9244)
liuchengxu Jul 1, 2021
938e3a2
Display Reward amount (#9245)
kianenigma Jul 1, 2021
baf3736
Do not call `initialize_block` before any runtime api (#8953)
bkchr Jul 1, 2021
57e0bb3
Implement `iter_keys` function for all types of storage maps (#9238)
KiChjang Jul 1, 2021
ebf2391
Implement `InspectEnumerable` for Uniques (#9117)
apopiak Jul 1, 2021
6b7ab81
add simnet tests (#9222)
radupopa2010 Jul 2, 2021
cf4e320
fix prometheus log message terminology (#9256)
gangelop Jul 2, 2021
fc49802
Add `Chilled` event to staking chill extrinsics (#9250)
emostov Jul 5, 2021
19c6dd2
Less duplication in test code (#9270)
gilescope Jul 5, 2021
cd48bac
pallet macro: always generate storage info on pallet struct (#9246)
gui1117 Jul 5, 2021
0d10a9d
Bump linregress due to security vulnerability (#9262)
trevor-crypto Jul 5, 2021
32a365d
bump a bunch of deps in parity-common (#9263)
ordian Jul 5, 2021
d22f0df
Remove in-tree `max-encoded-len` and use the new SCALE codec crate in…
Xanewok Jul 5, 2021
b9eb245
Update CODEOWNERS (#9278)
NikVolf Jul 5, 2021
22eec65
Authority_discovery: expose assimilate_storage with GenesisBuild (#9279)
ferrell-code Jul 5, 2021
0f5a858
fix storage info for decl_storage (#9274)
gui1117 Jul 6, 2021
8c868a2
fix staking version in genesis (#9280)
shawntabrizi Jul 6, 2021
5af7052
Remove debug assertion (#9283)
arkpar Jul 6, 2021
c95f862
Removed score and compute from set_emergency_election_result (#9271)
Jul 6, 2021
66187cb
Add function for embedding the runtime version in a wasm blob (#9277)
bkchr Jul 6, 2021
fdfb8b3
build: fix nix shell (#9288)
andresilva Jul 6, 2021
bf43f74
change reference module to pallet (#9281)
ashWhiteHat Jul 6, 2021
999b3af
fix link (#9289)
gui1117 Jul 6, 2021
94803c7
Docs only changes (#9258)
gilescope Jul 6, 2021
6944c0c
add heiko, parallel to ss58 registry (#9254)
Jul 6, 2021
dff9dc6
clean up staking docs, remove EraElectionStatus references (#9287)
kianenigma Jul 7, 2021
933e9c5
Allow the allocator to track the heap changes. (#9291)
kianenigma Jul 7, 2021
ba72783
move BlockNumberProvider (#9209)
xlc Jul 7, 2021
7a3a090
Paged keys rpc for child storage. (#9100)
cheme Jul 7, 2021
3cd7511
PVF: NaN canonicalization & deteriministic stack (#9069)
pepyakin Jul 7, 2021
5dfcba2
Clean up sc-allocator (#9295)
bkchr Jul 7, 2021
68264f1
Keep current block randomness in state (#9294)
bkchr Jul 7, 2021
4e75f51
Activate stale bot (#9272)
gnunicorn Jul 7, 2021
78da574
Update stale.yml (#9305)
gnunicorn Jul 7, 2021
65ac8a5
Include `StorageInfo` in Benchmarking Pipeline (#9090)
shawntabrizi Jul 7, 2021
9235309
Ensure data size of identity pallet is bounded (#9168)
KiChjang Jul 8, 2021
d3db3c1
sc-transcation-pool refactor (#9228)
Jul 8, 2021
279369e
make submit_unsigned into DispatchClass::Operational (#9309)
coriolinus Jul 8, 2021
deac632
Make election benchmarks more *memory-aware* (#9286)
kianenigma Jul 9, 2021
efd5487
Attempting to fix publishing (#9140)
gnunicorn Jul 11, 2021
6be513d
Remove impl_outer_ macros (#9307)
gui1117 Jul 12, 2021
ef185e9
Store election snapshot in a more memory-friendly way. (#9275)
kianenigma Jul 12, 2021
00de218
Update test-runner api (#9302)
Jul 12, 2021
2543f6f
contracts: Allow contracts to dispatch calls into the runtime (#9276)
athei Jul 12, 2021
e0638a1
Migrate `pallet-treasury` to the new pallet attribute macro (#9197)
koushiro Jul 13, 2021
b369ee4
pallet-collective: Do not vote `aye` with `propose` (#9323)
emostov Jul 13, 2021
7d8e67b
Check for duplicate members in genesis of pallet-membership & pallet-…
emostov Jul 13, 2021
c625c2a
Bump serde from 1.0.124 to 1.0.126 (#9099)
dependabot[bot] Jul 13, 2021
bfca1a9
Bump async-trait from 0.1.48 to 0.1.50 (#8977)
dependabot[bot] Jul 13, 2021
cf086ee
Fix docs on `generate_storage_alias!`. (#9314)
IAliceBobI Jul 13, 2021
993907f
Upgrade remote-externalities to use jsonrpsee v0.3 (#9342)
dvdplm Jul 13, 2021
b7dbfb2
Impl InherentDataProviderExt for more tuples (#9282)
liuchengxu Jul 14, 2021
d66c472
Improve shared state cache contention (#9321)
arkpar Jul 14, 2021
846cd08
Migrate `pallet-mmr` to the new pallet attribute macro (#9181)
koushiro Jul 14, 2021
0c971e0
contracts: Way to many locals where generated for benchmarks (fixed t…
athei Jul 15, 2021
fe663ed
Fix invalid link in doc (#9351)
gui1117 Jul 16, 2021
254bc43
Emit error when Config part is imported but without the std feature (…
KiChjang Jul 16, 2021
b47244c
Replace DB assertion with error (#9362)
arkpar Jul 16, 2021
02fe835
Storage chains sync (#9171)
arkpar Jul 17, 2021
5f992bd
Generate storage info for treasury pallet (#9368)
KiChjang Jul 18, 2021
0803f7d
Add missing #[pallet::constant] annotations to pallets (#9367)
hirschenberger Jul 18, 2021
61a1d9c
change moonbeam to secp256k1 (#9337)
joelamouche Jul 19, 2021
88f147a
remove the kubernetes helm chart (#9364)
PierreBesson Jul 19, 2021
04f6f68
Add a `rustfmt.toml` (#8982)
expenses Jul 19, 2021
03d4d0d
Remove `IncRefError`, `DecRefError` and `StoredMapError` (#9384)
bkchr Jul 20, 2021
84f2d3d
include dispatch result in the Executed event (#9315)
xlc Jul 20, 2021
f31dff7
Balance to Asset Balance Conversion (#9076)
apopiak Jul 20, 2021
02d6644
CI: fix docs pub (#9341)
TriplEight Jul 20, 2021
dbd21b9
Fix custom on runtime upgrade not being called (#9399)
bkchr Jul 20, 2021
1d5abf0
Run cargo fmt on the whole code base (#9394)
bkchr Jul 21, 2021
b52ddaa
Run cargo +nightly fmt (#9406)
emostov Jul 21, 2021
7960c9e
Fix db metadata updates for existing headers (#9403)
arkpar Jul 21, 2021
fced297
Benchmarking also benchmark for decoding the call (#9343)
gui1117 Jul 22, 2021
7dcc77b
Remove extra commas made redundent after rustfmt (#9404)
gilescope Jul 22, 2021
5b55e01
add CheckedRem (#9412)
xlc Jul 22, 2021
e0d13b5
Add Zeitgeist ss58 prefix 73 reservation (#8509)
lsaether Jul 23, 2021
0ae6aac
Estimate call fee (#9395)
kianenigma Jul 23, 2021
cae555e
example typo (#9416)
gilescope Jul 23, 2021
feb37c0
Staking refactor. Change *_or() to *_or_else() (#9400)
Jul 23, 2021
b09156b
State machine local child root cache. (#9107)
cheme Jul 23, 2021
8bbad73
Clarify Prometheus exporter options (#9427)
asymmetric Jul 23, 2021
d223492
Don't return misleading result with PostInfo in proxy-pallet (#9426)
hirschenberger Jul 24, 2021
37d4bce
Simplify returnvalue creation (#9429)
hirschenberger Jul 26, 2021
bcd628c
clippy fixes (#9173)
gilescope Jul 26, 2021
d94bf34
post rustfmt whitespace fixup (#9436)
gilescope Jul 26, 2021
54c0a30
Add methods to PrefixIterator to support iterating from a specific ke…
KiChjang Jul 27, 2021
8cc7d9d
More readable help for --sync option (#9441)
liuchengxu Jul 27, 2021
6360780
IDEs like rust-src (#9443)
gilescope Jul 27, 2021
e76e4c6
Update trybuild to get better normalization (#9444)
bkchr Jul 27, 2021
4b3eac1
Make allocator limit available for the runtime (#9393)
gui1117 Jul 27, 2021
1b4b05d
check can_dec_provider when transfer allow death (#9411)
wangjj9219 Jul 27, 2021
7be311a
fix codec (#9445)
gui1117 Jul 27, 2021
97131a9
Move `PalletVersion` away from the crate version (#9165)
bkchr Jul 27, 2021
a019b57
pallet-staking: Reorg migration, pallet and pallet impls (#9410)
emostov Jul 27, 2021
9454af8
Bump proc-macro2 from 1.0.26 to 1.0.28 (#9451)
dependabot[bot] Jul 28, 2021
ad48abf
Round robin on_idle execution (#9432)
Jul 28, 2021
a1a5cd3
Bump walkdir from 2.3.1 to 2.3.2 (#9453)
dependabot[bot] Jul 28, 2021
8313e30
Add nonfungibles::Create Trait & Implement for Uniques (#9438)
danforbes Jul 28, 2021
22632d5
Improve `state` related logs to use a more uniform format (#9452)
bkchr Jul 29, 2021
44d0c8f
build: nix-shell: use mozilla/nixpkgs-mozilla repo (#9456)
andresilva Jul 29, 2021
9f7ce37
Remove old benchmark (#9457)
gilescope Jul 29, 2021
3478e0f
Add some important events to batch & staking to ensure ease of analys…
gavofyork Jul 29, 2021
4d28ebe
Move client consensus parts out of primitives and into client/consens…
gilescope Jul 30, 2021
c181160
Refactor Benchmarks for Less Wasm Memory Usage (#9373)
shawntabrizi Aug 1, 2021
c093de5
Warp sync part I (#9227)
arkpar Aug 2, 2021
a41578d
Add rustfmt skip to default frame benchmarking template (#9473)
bkchr Aug 2, 2021
f00ec46
CI: stop publishing to crates.io until unleash is fixed (#9474)
TriplEight Aug 2, 2021
be72e5d
Limit the maximum number of wasm memory pages a runtime can have (#9308)
pepyakin Aug 2, 2021
d3b4830
#9386: copy rustfmt.toml to node-template (#9461)
ericjmiller Aug 2, 2021
5e1aab8
Add a matrix chat badge to the README (#9476)
nuke-web3 Aug 2, 2021
471db4f
aura, babe: don't allow disabled validators to build blocks (#9414)
andresilva Aug 3, 2021
f651d45
Use correct `ExecutionContext` for `check_inherents` (#9483)
bkchr Aug 3, 2021
ff8026c
Explicitly support memory size changing in between allocations (#9477)
pepyakin Aug 3, 2021
a8faaf4
Refactor codec implementation for header (#9489)
gui1117 Aug 3, 2021
2e5d093
crate missing dependency when compiled on its own with std (#9487)
gilescope Aug 3, 2021
fa69d5f
Fix benchmarking macro for pallet with instance and where clause (#9485)
gui1117 Aug 4, 2021
8e52c10
Removing wasm unused import warnings (#9492)
gilescope Aug 4, 2021
b7409a2
Decouples light-sync state from chain spec (#9491)
bkchr Aug 4, 2021
88a59a0
companion_build: enable runtime-benchmarks feature (#9501)
ordian Aug 4, 2021
376712c
remove unused events and errors in democracy (#9502)
amarsinghcodes Aug 5, 2021
a2742a7
done (#9494)
amarsinghcodes Aug 5, 2021
4d93a6e
Storage chain fixes + guide (#9504)
arkpar Aug 5, 2021
423a46f
fix private event enum error message (#9506)
amarsinghcodes Aug 6, 2021
670ca51
Improve call, and usage in pallet utility (#9418)
gui1117 Aug 7, 2021
8a88403
FRAME Weights with Storage Metadata (#9471)
shawntabrizi Aug 7, 2021
2b7309b
Expose UnsafeRpcError (#9515)
liuchengxu Aug 7, 2021
0c9e901
Support test-runner to submit unsigned_extrinsic (#9512)
zjb0807 Aug 7, 2021
9d867b6
Remove Filter and use Contains instead (#9514)
gavofyork Aug 7, 2021
f2b3997
Tell dependabot to ignore jsonrpc-* updates (#9518)
athei Aug 9, 2021
d7babec
Clarify how `ApiId` is being generated (#9519)
bkchr Aug 9, 2021
91061a7
Fix staking `rebond` weight refund (#9508)
emostov Aug 9, 2021
11d0e7a
Merge remote-tracking branch 'upstream/polkadot-v0.9.9' into feature/…
MRamanenkau Oct 4, 2022
c00902a
Post merge fixes
MRamanenkau Oct 4, 2022
3e8b723
Update custom pallets dependencies
MRamanenkau Oct 4, 2022
1186ba2
Update DDC-pallet
MRamanenkau Oct 4, 2022
c308b28
Update toolchain
MRamanenkau Oct 4, 2022
83b8b4c
Post merge fix
MRamanenkau Oct 4, 2022
c2be719
Increment spec version and updare change logs
MRamanenkau Oct 4, 2022
f441e42
fix found diff with SubstrateFix found diff with Substrate
MRamanenkau Oct 5, 2022
af91cf8
Get back accidentally removed import
MRamanenkau Oct 6, 2022
5b5dddf
Update DDC pallet
MRamanenkau Oct 6, 2022
488fa46
Fix compilation errors
MRamanenkau Oct 6, 2022
509dc9b
Fix compilation issues with strage info
MRamanenkau Oct 6, 2022
651233c
Use 1.54.0 of rust to avoid internal compiler error
MRamanenkau Oct 7, 2022
bee6e0e
Fix chainbridge tests
MRamanenkau Oct 7, 2022
a4dd36b
compressed should be used
Oct 5, 2022
6a8f389
Use rustc 1.53
MRamanenkau Oct 13, 2022
6967b6f
Update ddc paller
MRamanenkau Oct 13, 2022
098a35c
Update ddc pallet
MRamanenkau Oct 17, 2022
7d8896b
Add storage migrations
MRamanenkau Nov 22, 2022
8801216
Merge branch 'feature/update-to-polkadot-v0-9-8' into feature/update-…
MRamanenkau Nov 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ updates:
labels: ["A2-insubstantial", "B0-silent", "C1-low 📌"]
schedule:
interval: "daily"
ignore:
- dependency-name: "jsonrpc-*"
versions: [">= 16"]
18 changes: 18 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Issues with these labels will never be considered stale
exemptLabels:
- "D9-needsaudit 👮"
# Label to use when marking an issue as stale
staleLabel: "A3-stale"
# we only bother with pull requests
only: pulls
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
Hey, is anyone still working on this? Due to the inactivity this issue has
been automatically marked as stale. It will be closed if no further activity
occurs. Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
- name: Copy wasm artifact from the image
run: |
container_id=$(docker create ${{ env.IMAGE_ID }})
artifact_name=node_runtime.compact.${GITHUB_SHA:0:7}.wasm
artifact_name=node_runtime.compact.compressed.${GITHUB_SHA:0:7}.wasm
echo ARTIFACT_NAME=$artifact_name >> $GITHUB_ENV
docker cp $container_id:/home/cere/node-runtime-artifacts/node_runtime.compact.wasm ./$artifact_name
docker cp $container_id:/home/cere/node-runtime-artifacts/node_runtime.compact.compressed.wasm ./$artifact_name
- name: Upload wasm artifact
uses: actions/upload-artifact@v3
with:
Expand Down
50 changes: 36 additions & 14 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ variables: &default-vars
ARCH: "x86_64"
CI_IMAGE: "paritytech/ci-linux:production"
# FIXME set to release
CARGO_UNLEASH_INSTALL_PARAMS: "--version 1.0.0-alpha.11"
CARGO_UNLEASH_INSTALL_PARAMS: "--version 1.0.0-alpha.12"
CARGO_UNLEASH_PKG_DEF: "--skip node node-* pallet-template pallet-example pallet-example-* subkey chain-spec-builder"

default:
Expand All @@ -55,9 +55,15 @@ default:
- artifacts/

.kubernetes-env: &kubernetes-env
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- api_failure
interruptible: true
tags:
- kubernetes-parity-build
interruptible: true

.rust-info-script: &rust-info-script
- rustup show
Expand Down Expand Up @@ -97,6 +103,7 @@ default:
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
- if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/

.test-refs-no-trigger-prs-only: &test-refs-no-trigger-prs-only
rules:
Expand Down Expand Up @@ -233,6 +240,14 @@ cargo-deny:
# FIXME: Temorarily allow to fail.
allow_failure: true

cargo-fmt:
stage: test
<<: *docker-env
<<: *test-refs
script:
- cargo +nightly fmt --all -- --check
allow_failure: true

cargo-check-benches:
stage: test
<<: *docker-env
Expand Down Expand Up @@ -265,7 +280,7 @@ node-bench-regression-guard:
CI_IMAGE: "paritytech/node-bench-regression-guard:latest"
before_script: [""]
script:
- 'node-bench-regression-guard --reference artifacts/benches/master-*
- 'node-bench-regression-guard --reference artifacts/benches/master-*
--compare-with artifacts/benches/$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA'

cargo-check-subkey:
Expand Down Expand Up @@ -326,14 +341,17 @@ test-linux-stable: &test-linux
unleash-check:
stage: test
<<: *docker-env
rules:
- if: $CI_PIPELINE_SOURCE == "pipeline"
when: never
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
<<: *test-refs-no-trigger
script:
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
- cargo unleash de-dev-deps
# Reuse build artifacts when running checks (cuts down check time by 3x)
# TODO: Implement this optimization in cargo-unleash rather than here
- mkdir -p target/unleash
- export CARGO_TARGET_DIR=target/unleash
- cargo unleash check ${CARGO_UNLEASH_PKG_DEF}
# FIXME: this job must not fail, or unleash-to-crates-io will publish broken stuff
allow_failure: true

test-frame-examples-compile-to-wasm:
# into one job
Expand Down Expand Up @@ -530,6 +548,7 @@ build-rust-doc:
script:
- RUSTDOCFLAGS="--html-in-header $(pwd)/.maintain/rustdoc-header.html"
time cargo +nightly doc --no-deps --workspace --all-features --verbose
- rm -f ./target/doc/.lock
- mv ./target/doc ./crate-docs
- echo "<meta http-equiv=refresh content=0;url=sc_service/index.html>" > ./crate-docs/index.html
- sccache -s
Expand Down Expand Up @@ -568,7 +587,7 @@ build-rust-doc:
- buildah push --format=v2s2 "$IMAGE_NAME:latest"
after_script:
- buildah logout "$IMAGE_NAME"
# pass artifacts to the trigger-simnet job
# pass artifacts to the trigger-simnet job
- echo "IMAGE_NAME=${IMAGE_NAME}" | tee -a ./artifacts/$PRODUCT/build.env
- IMAGE_TAG="$(cat ./artifacts/$PRODUCT/VERSION)"
- echo "IMAGE_TAG=${IMAGE_TAG}" | tee -a ./artifacts/$PRODUCT/build.env
Expand Down Expand Up @@ -642,6 +661,7 @@ publish-s3-doc:
echo "./crate-docs/index.html not present, build:rust:doc:release job not complete";
exit 1
)
- ls -lah crate-docs
- aws s3 sync --delete --size-only --only-show-errors
./crate-docs/ s3://${BUCKET}/${PREFIX}/
after_script:
Expand All @@ -658,12 +678,14 @@ publish-draft-release:
- ./.maintain/gitlab/publish_draft_release.sh
allow_failure: true

publish-to-crates-io:
unleash-to-crates-io:
stage: publish
<<: *docker-env
rules:
- if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
# FIXME: wait until https://github.com/paritytech/cargo-unleash/issues/50 is fixed, also
# remove allow_failure: true on the check job
# - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
script:
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
- cargo unleash em-dragons --no-check --owner github:paritytech:core-devs ${CARGO_UNLEASH_PKG_DEF}
Expand Down Expand Up @@ -702,13 +724,13 @@ trigger-simnet:
- if: $CI_COMMIT_REF_NAME == "master"
needs:
- job: publish-docker-substrate
# `build.env` brings here `$IMAGE_NAME` and `$IMAGE_TAG` (`$VERSION` here,
# `build.env` brings here `$IMAGE_NAME` and `$IMAGE_TAG` (`$VERSION` here,
# i.e. `2643-0.8.29-5f689e0a-6b24dc54`).
variables:
TRGR_PROJECT: ${CI_PROJECT_NAME}
TRGR_REF: ${CI_COMMIT_REF_NAME}
# simnet project ID
# Simnet project ID
DWNSTRM_ID: 332
script:
# API trigger for a simnet job
# API trigger for a Simnet job
- .maintain/gitlab/trigger_pipeline.sh --simnet-version=${SIMNET_REF}
11 changes: 11 additions & 0 deletions .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
// {{arg}}
{{/each}}

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]

Expand All @@ -45,8 +46,15 @@ pub trait WeightInfo {

/// Weights for {{pallet}} using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
{{~#if (eq pallet "frame_system")}}
impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
{{~else}}
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
{{~/if}}
{{~#each benchmarks as |benchmark|}}
{{~#each benchmark.comments as |comment|}}
// {{comment}}
{{~/each}}
fn {{benchmark.name~}}
(
{{~#each benchmark.components as |c| ~}}
Expand Down Expand Up @@ -76,6 +84,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// For backwards compatibility and tests
impl WeightInfo for () {
{{~#each benchmarks as |benchmark|}}
{{~#each benchmark.comments as |comment|}}
// {{comment}}
{{~/each}}
fn {{benchmark.name~}}
(
{{~#each benchmark.components as |c| ~}}
Expand Down
9 changes: 8 additions & 1 deletion .maintain/gitlab/check_polkadot_companion_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,12 @@ fi
# Patch all Substrate crates in Polkadot
diener patch --crates-to-patch ../ --substrate --path Cargo.toml

# We need to update specifically our patched Substrate crates so that other
# crates that depend on them (e.g. Polkadot, BEEFY) use this unified version
# NOTE: There's no way to only update patched crates, so we use a heuristic
# of updating a crucial Substrate crate (`sp-core`) to minimize the impact of
# updating unrelated dependencies
cargo update -p sp-core

# Test Polkadot pr or master branch with this Substrate commit.
time cargo test --all --release --verbose
time cargo test --workspace --release --verbose --features=runtime-benchmarks
12 changes: 0 additions & 12 deletions .maintain/kubernetes/Chart.yaml

This file was deleted.

47 changes: 0 additions & 47 deletions .maintain/kubernetes/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions .maintain/kubernetes/templates/poddisruptionbudget.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions .maintain/kubernetes/templates/secrets.yaml

This file was deleted.

54 changes: 0 additions & 54 deletions .maintain/kubernetes/templates/service.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions .maintain/kubernetes/templates/serviceaccount.yaml

This file was deleted.

Loading