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

Rename Palette to FRAME #4182

Merged
Merged
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
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ test-dependency-rules: &test-linux
script:
- .maintain/ensure-deps.sh

test-palette-staking: &test-palette-staking
test-frame-staking: &test-frame-staking
stage: test
<<: *docker-env
variables:
Expand All @@ -167,7 +167,7 @@ test-palette-staking: &test-palette-staking
variables:
- $DEPLOY_TAG
script:
- cd palette/staking/
- cd frame/staking/
- WASM_BUILD_NO_COLOR=1 time cargo test --release --verbose --no-default-features --features std
- sccache -s

Expand Down
12 changes: 6 additions & 6 deletions .maintain/ensure-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
# [top-lvl-dir]<[crate-name-prefix]

# For instance no crate within `./client` directory
# is allowed to import any crate with a directory path containing `palette`.
# Such rule is just: `client<palette`.
# is allowed to import any crate with a directory path containing `frame`.
# Such rule is just: `client<frame`.

# The script should be run from the main repo directory!

set -u

PLEASE_DONT=(
"client<palette"
"client<frame"
"client<node"
"palette<node"
"palette<client"
"primitives<palette"
"frame<node"
"frame<client"
"primitives<frame"
"primitives<client"
)

Expand Down
6 changes: 3 additions & 3 deletions .maintain/gitlab/check_runtime.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
#
#
# check for any changes in the node/src/runtime, palette/ and primitives/sr_* trees. if
# check for any changes in the node/src/runtime, frame/ and primitives/sr_* trees. if
# there are any changes found, it should mark the PR breaksconsensus and
# "auto-fail" the PR if there isn't a change in the runtime/src/lib.rs file
# that alters the version.
Expand Down Expand Up @@ -29,7 +29,7 @@ github_label () {

# check if the wasm sources changed
if ! git diff --name-only origin/master...${CI_COMMIT_SHA} \
| grep -q -e '^bin/node/src/runtime' -e '^palette/' -e '^primitives/sr-' | grep -v -e '^primitives/sr-arithmetic/fuzzer'
| grep -q -e '^bin/node/src/runtime' -e '^frame/' -e '^primitives/sr-' | grep -v -e '^primitives/sr-arithmetic/fuzzer'
then
cat <<-EOT

Expand Down Expand Up @@ -99,7 +99,7 @@ else

source file directories:
- bin/node/src/runtime
- palette
- frame
- primitives/sr-*

versions file: ${VERSIONS_FILE}
Expand Down
Loading