Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 426d57b

Browse files
authored
Fix check runtime CI (#8930)
* Fix check_runtime.sh script * contracts: Remove confusing "Related Modules" doc
1 parent 925f170 commit 426d57b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.maintain/gitlab/check_runtime.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ fi
5656
# consensus-critical logic that has changed. the runtime wasm blobs must be
5757
# rebuilt.
5858

59-
add_spec_version="$(git diff "tags/release...${CI_COMMIT_SHA}" "${VERSIONS_FILE}" \
59+
add_spec_version="$(git diff tags/release ${CI_COMMIT_SHA} -- "${VERSIONS_FILE}" \
6060
| sed -n -r "s/^\+[[:space:]]+spec_version: +([0-9]+),$/\1/p")"
61-
sub_spec_version="$(git diff "tags/release...${CI_COMMIT_SHA}" "${VERSIONS_FILE}" \
61+
sub_spec_version="$(git diff tags/release ${CI_COMMIT_SHA} -- "${VERSIONS_FILE}" \
6262
| sed -n -r "s/^\-[[:space:]]+spec_version: +([0-9]+),$/\1/p")"
6363

6464

@@ -79,9 +79,9 @@ else
7979
# check for impl_version updates: if only the impl versions changed, we assume
8080
# there is no consensus-critical logic that has changed.
8181

82-
add_impl_version="$(git diff "tags/release...${CI_COMMIT_SHA}" "${VERSIONS_FILE}" \
82+
add_impl_version="$(git diff tags/release ${CI_COMMIT_SHA} -- "${VERSIONS_FILE}" \
8383
| sed -n -r 's/^\+[[:space:]]+impl_version: +([0-9]+),$/\1/p')"
84-
sub_impl_version="$(git diff "tags/release...${CI_COMMIT_SHA}" "${VERSIONS_FILE}" \
84+
sub_impl_version="$(git diff tags/release ${CI_COMMIT_SHA} -- "${VERSIONS_FILE}" \
8585
| sed -n -r 's/^\-[[:space:]]+impl_version: +([0-9]+),$/\1/p')"
8686

8787

frame/contracts/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@
7676
//! * [`ink`](https://github.com/paritytech/ink) is
7777
//! an [`eDSL`](https://wiki.haskell.org/Embedded_domain_specific_language) that enables writing
7878
//! WebAssembly based smart contracts in the Rust programming language. This is a work in progress.
79-
//!
80-
//! ## Related Modules
81-
//!
82-
//! * [Balances](../pallet_balances/index.html)
8379
8480
#![cfg_attr(not(feature = "std"), no_std)]
8581
#![cfg_attr(feature = "runtime-benchmarks", recursion_limit="512")]

0 commit comments

Comments
 (0)