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: runtime metadata hash verification #5467

Merged
merged 13 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from 10 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
14 changes: 7 additions & 7 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ CF_TEST_CONFIG_ROOT = { value = "engine/config/testing", relative = true }
# `rustup completions --help` to find out how to set this up.

[alias]
cf-test = "test --features runtime-benchmarks,try-runtime"
cf-test-ci = "test --release --features runtime-benchmarks,slow-tests,try-runtime"
cf-test = "test --features runtime-benchmarks,try-runtime,metadata-hash"
cf-test-ci = "test --release --features runtime-benchmarks,slow-tests,try-runtime,metadata-hash"
cf-test-cfe = "test --package chainflip-engine --package multisig"

cf-clippy = "clippy --all-targets --features runtime-benchmarks,try-runtime,runtime-integration-tests,slow-tests -- -D warnings -A deprecated"
cf-clippy-ci = "clippy --all-targets --features runtime-benchmarks,try-runtime,runtime-integration-tests,slow-tests -- -D warnings -A deprecated"
cf-clippy = "clippy --all-targets --features runtime-benchmarks,try-runtime,runtime-integration-tests,slow-tests,metadata-hash -- -D warnings -A deprecated"
cf-clippy-ci = "clippy --all-targets --features runtime-benchmarks,try-runtime,runtime-integration-tests,slow-tests,metadata-hash -- -D warnings -A deprecated"
ramizhasan111 marked this conversation as resolved.
Show resolved Hide resolved

cf-build-benchmarks = "build --release --features=runtime-benchmarks"
cf-build-try-runtime = "build --release --features try-runtime"
cf-build-release = "build --release"
cf-build-benchmarks = "build --release --features=runtime-benchmarks,metadata-hash"
cf-build-try-runtime = "build --release --features try-runtime,metadata-hash"
cf-build-release = "build --release --features metadata-hash"
cf-build-production = "build --profile=production"
ramizhasan111 marked this conversation as resolved.
Show resolved Hide resolved
# Check for feature inconsistencies.
check-sc-features = '''
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
coverage:
uses: ./.github/workflows/_11_coverage.yml
with:
test_features: runtime-benchmarks
ramizhasan111 marked this conversation as resolved.
Show resolved Hide resolved
test_features: runtime-benchmarks metadata-hash
secrets: inherit
build:
uses: ./.github/workflows/_20_build.yml
Expand Down
Loading
Loading