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

Update to latest SDK #4

Merged
merged 82 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
8590122
remove parachains_assigner code (#6171)
alindima Oct 28, 2024
58fd5ae
[pallet-revive] Add Ethereum JSON-RPC server (#6147)
pgherveou Oct 28, 2024
7e87654
[pallet-revive] Update typeInfo (#6263)
pgherveou Oct 28, 2024
54c19f5
pallet-revive: Trade code size for call stack depth (#6264)
athei Oct 28, 2024
35535ef
[pallet-revive] implement tx origin API (#6105)
xermicus Oct 29, 2024
9584dbd
Use frame umbrella crate in `pallet-proxy` and `pallet-multisig` (#5995)
kianenigma Oct 29, 2024
1497635
Migrate pallet-vesting benchmark to v2 (#6254)
aurexav Oct 29, 2024
80cd5fd
Migrate pallet-timestamp benchmark to v2 (#6258)
aurexav Oct 29, 2024
cc4fe1e
[Identity] Decouple usernames from identities (#5554)
georgepisaltu Oct 29, 2024
db40a66
pallet-revive: Use custom target to build test fixtures (#6266)
athei Oct 29, 2024
5e8a96a
Fix review in #6258 (#6275)
aurexav Oct 29, 2024
a42dcbf
Refactor `pallet-grandpa` to use `v2` benchmarks (#6073)
rockbmb Oct 29, 2024
3d50716
[pallet-revive] rpc server add docker file (#6278)
pgherveou Oct 30, 2024
4e24733
Bump a timeout in zombienet coretime smoke test (#6268)
tdimitrov Oct 30, 2024
06debd0
Migrate pallet-utility to benchmark v2 (#6276)
aurexav Oct 30, 2024
6f96f72
[ci] Add publish docker for eth-rpc (#6286)
alvicsam Oct 30, 2024
40547f9
Add overhead benchmark to frame-omni-bencher (#5891)
skunert Oct 30, 2024
7aa3143
[pallet-revive] code size API (#6260)
xermicus Oct 30, 2024
01936b3
Publish `polkadot-omni-node` binary (#6057)
serban300 Oct 30, 2024
2b6b696
[pallet-revive] implement the block hash API (#6246)
xermicus Oct 30, 2024
5f782a4
[pallet-revive] Add metrics to eth-rpc (#6288)
pgherveou Oct 30, 2024
dd9924f
Remove `riscv` feature flag (#6305)
athei Oct 31, 2024
2700dbf
`candidate-validation`: RFC103 implementation (#5847)
sandreim Oct 31, 2024
fa52407
Update Treasury to Support Relay Chain Block Number Provider (#3970)
shawntabrizi Nov 1, 2024
68e0563
collation-generation: use v2 receipts (#5908)
alindima Nov 4, 2024
7f80f45
[eth-rpc] Fixes (#6317)
pgherveou Nov 4, 2024
657b550
Refactor pallet `claims` (#6318)
re-gius Nov 4, 2024
2a84917
templates: make node compilation optional (#5954)
iulianbarbu Nov 4, 2024
f4ded5c
Migrate pallet-glutton benchmark to v2 (#6296)
aurexav Nov 4, 2024
9353a28
Migrate pallet-election-provider-multi-phase benchmark to v2 and impr…
aurexav Nov 4, 2024
f4133b0
fix claim queue size (#6257)
alindima Nov 4, 2024
8b6f815
Bump the ci_dependencies group across 1 directory with 3 updates (#6340)
dependabot[bot] Nov 4, 2024
b326540
inclusion emulator: correctly handle UMP signals (#6178)
sandreim Nov 4, 2024
b1084e7
migrate pallet-recovery to benchmark V2 syntax (#6299)
clangenb Nov 4, 2024
028e61b
Disable flaky tests reported in #6343 / #6345 (#6346)
pepoviola Nov 4, 2024
38cd03c
`statement-distribution`: RFC103 implementation (#5883)
sandreim Nov 4, 2024
d69a80e
[pallet-revive] rework balance transfers (#6187)
xermicus Nov 4, 2024
f1e416a
Silent annoying log (#6351)
s0me0ne-unkn0wn Nov 4, 2024
2ae79be
Bounty Pallet: add `approve_bounty_with_curator` call to `bounties` p…
davidk-pt Nov 5, 2024
762f824
authority-discovery: Populate DHT records with public listen addresse…
lexnv Nov 5, 2024
6969be3
snowbridge: allow account conversion for Ethereum accounts (#6221)
acatangiu Nov 5, 2024
ec61396
Remove leftover references of Wococo (#6361)
acatangiu Nov 5, 2024
3c6ea86
migrate pallet-remarks to v2 bench syntax (#6291)
clangenb Nov 5, 2024
be26d62
[pallet-staking] Additional check for virtual stakers (#5985)
Ank4n Nov 5, 2024
94389a9
litep2p: Update litep2p to v0.8.0 (#6353)
lexnv Nov 5, 2024
74ec1ee
refactor and harden check_core_index (#6217)
alindima Nov 5, 2024
7725890
[Deprecation] deprecate treasury `spend_local` call and related items…
davidk-pt Nov 5, 2024
16e877b
Run check semver in MQ (#6287)
alvicsam Nov 5, 2024
c4ef438
Bump the known_good_semver group across 1 directory with 3 updates (#…
dependabot[bot] Nov 5, 2024
32e116a
[Release|CI/CD] adjust release pipelines (#6366)
EgorPopelyaev Nov 5, 2024
76f297d
[eth-rpc] proxy /health (#6360)
pgherveou Nov 5, 2024
6f078d1
pallet-revive: Use `RUSTUP_TOOLCHAIN` if set (#6365)
athei Nov 5, 2024
8b6c6eb
Migrate pallet-im-online benchmark to v2 (#6295)
aurexav Nov 5, 2024
52a7325
Fix statement distribution benchmark (#6369)
sandreim Nov 5, 2024
c5444f3
Remove `sp_runtime::RuntimeString` and replace with `Cow<'static, str…
nazar-pc Nov 5, 2024
b667c27
`chain-spec-builder`: info about patch/full files added (#6373)
michalkucharczyk Nov 5, 2024
a479161
pallet-child-bounties index child bounty by parent bounty (#6255)
davidk-pt Nov 6, 2024
ccb2a88
litep2p/peerset: Do not disconnect all peers on `SetReservedPeers` co…
lexnv Nov 6, 2024
d1620f0
polkadot-service: Fix flaky tests (#6376)
bkchr Nov 6, 2024
c81569e
Don't expose metadata for Runtime APIs that haven't been implemented …
jsdw Nov 6, 2024
6170c37
[Release|CI/CD] Fix GH_TOKEN owner (#6381)
EgorPopelyaev Nov 6, 2024
67394cd
collator protocol: validate descriptor version on the validator side …
alindima Nov 6, 2024
a1aa71e
sp-api: `impl_runtime_apis!` replace the use of `Self` as a type argu…
dastansam Nov 6, 2024
86e1e38
Fix #6102 (#6384)
eskimor Nov 6, 2024
c1238b6
pallet-revive: The fixtures are only required for benchmarking (#6385)
bkchr Nov 6, 2024
85521e8
XCM v5 (#4826)
franciscoaguirre Nov 6, 2024
1f381f6
[Pools] New runtime api that returns the pot accounts associated with…
Ank4n Nov 6, 2024
27bf54b
Bump futures from 0.3.30 to 0.3.31 (#6252)
dependabot[bot] Nov 7, 2024
1d351bf
Migrate pallet-election-provider-support-benchmarking benchmark to v2…
aurexav Nov 7, 2024
ec77843
fix shared-core-idle-parachain flaky test (#6387)
alindima Nov 7, 2024
3c7b9a0
substrate/zombienet: Fix 0002-validators-warp-sync (#6379)
lexnv Nov 7, 2024
12d9052
Syncing strategy refactoring (part 3) (#5737)
nazar-pc Nov 7, 2024
8c146a7
[pallet-staking] Add page info to `PayoutStarted` event (#5984)
Ank4n Nov 7, 2024
bb8c7a3
net/discovery: Do not propagate external addr with different peerIDs …
lexnv Nov 7, 2024
6c8a347
PVF: drop backing jobs if it is too late (#5616)
AndreiEres Nov 7, 2024
1100c18
[Release|CI/CD] Add node version to deb package version (#6399)
EgorPopelyaev Nov 7, 2024
566706d
gensis-config: patching default `RuntimeGenesisConfig` fixed (#6382)
michalkucharczyk Nov 7, 2024
65e7972
Add missing events to identity pallet (#6261)
rockbmb Nov 7, 2024
8795ae6
Add networking benchmarks for libp2p (#6077)
AndreiEres Nov 7, 2024
2680f20
make prospective-parachains debug logs less spammy (#6406)
alindima Nov 7, 2024
c4e94d3
Migrate pallet-elections-phragmen benchmark to v2 and improve doc (#6…
aurexav Nov 7, 2024
0e09ad4
Expose more syncing types to enable custom syncing strategy (#6163)
liuchengxu Nov 7, 2024
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .config/zepter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ workflows:
]
# The umbrella crate uses more features, so we to check those too:
check_umbrella:
- [ $check.0, '--features=serde,experimental,riscv,runtime,with-tracing,tuples-96,with-tracing', '-p=polkadot-sdk' ]
- [ $check.0, '--features=serde,experimental,runtime,with-tracing,tuples-96,with-tracing', '-p=polkadot-sdk' ]
# Same as `check_*`, but with the `--fix` flag.
default:
- [ $check.0, '--fix' ]
Expand Down
25 changes: 17 additions & 8 deletions .github/scripts/cmd/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import argparse
import _help
import importlib.util
import re

_HelpAction = _help._HelpAction

Expand Down Expand Up @@ -40,20 +41,20 @@ def setup_logging():
setup_logging()

"""
BENCH
BENCH
"""

bench_example = '''**Examples**:
Runs all benchmarks
Runs all benchmarks
%(prog)s

Runs benchmarks for pallet_balances and pallet_multisig for all runtimes which have these pallets. **--quiet** makes it to output nothing to PR but reactions
%(prog)s --pallet pallet_balances pallet_xcm_benchmarks::generic --quiet

Runs bench for all pallets for westend runtime and fails fast on first failed benchmark
%(prog)s --runtime westend --fail-fast
Does not output anything and cleans up the previous bot's & author command triggering comments in PR

Does not output anything and cleans up the previous bot's & author command triggering comments in PR
%(prog)s --runtime westend rococo --pallet pallet_balances pallet_multisig --quiet --clean
'''

Expand All @@ -67,14 +68,14 @@ def setup_logging():
parser_bench.add_argument('--fail-fast', help='Fail fast on first failed benchmark', action='store_true')

"""
FMT
FMT
"""
parser_fmt = subparsers.add_parser('fmt', help='Formats code (cargo +nightly-VERSION fmt) and configs (taplo format)')
for arg, config in common_args.items():
parser_fmt.add_argument(arg, **config)

"""
Update UI
Update UI
"""
parser_ui = subparsers.add_parser('update-ui', help='Updates UI tests')
for arg, config in common_args.items():
Expand Down Expand Up @@ -175,7 +176,15 @@ def main():
print(f'-- package_dir: {package_dir}')
print(f'-- manifest_path: {manifest_path}')
output_path = os.path.join(package_dir, "src", "weights.rs")
# TODO: we can remove once all pallets in dev runtime are migrated to polkadot-sdk-frame
try:
uses_polkadot_sdk_frame = "true" in os.popen(f"cargo metadata --locked --format-version 1 --no-deps | jq -r '.packages[] | select(.name == \"{pallet.replace('_', '-')}\") | .dependencies | any(.name == \"polkadot-sdk-frame\")'").read()
# Empty output from the previous os.popen command
except StopIteration:
uses_polkadot_sdk_frame = False
template = config['template']
if uses_polkadot_sdk_frame and re.match(r"frame-(:?umbrella-)?weight-template\.hbs", os.path.normpath(template).split(os.path.sep)[-1]):
template = "substrate/.maintain/frame-umbrella-weight-template.hbs"
else:
default_path = f"./{config['path']}/src/weights"
xcm_path = f"./{config['path']}/src/weights/xcm"
Expand Down Expand Up @@ -251,4 +260,4 @@ def main():
print('🚀 Done')

if __name__ == '__main__':
main()
main()
26 changes: 13 additions & 13 deletions .github/scripts/cmd/test_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"path": "substrate/frame",
"header": "substrate/HEADER-APACHE2",
"template": "substrate/.maintain/frame-weight-template.hbs",
"bench_features": "runtime-benchmarks,riscv",
"bench_features": "runtime-benchmarks",
"bench_flags": "--flag1 --flag2"
},
{
Expand Down Expand Up @@ -67,7 +67,7 @@ def setUp(self):
self.patcher6 = patch('importlib.util.spec_from_file_location', return_value=MagicMock())
self.patcher7 = patch('importlib.util.module_from_spec', return_value=MagicMock())
self.patcher8 = patch('cmd.generate_prdoc.main', return_value=0)

self.mock_open = self.patcher1.start()
self.mock_json_load = self.patcher2.start()
self.mock_parse_args = self.patcher3.start()
Expand Down Expand Up @@ -101,27 +101,27 @@ def test_bench_command_normal_execution_all_runtimes(self):
clean=False,
image=None
), [])

self.mock_popen.return_value.read.side_effect = [
"pallet_balances\npallet_staking\npallet_something\n", # Output for dev runtime
"pallet_balances\npallet_staking\npallet_something\n", # Output for westend runtime
"pallet_staking\npallet_something\n", # Output for rococo runtime - no pallet here
"pallet_balances\npallet_staking\npallet_something\n", # Output for asset-hub-westend runtime
"./substrate/frame/balances/Cargo.toml\n", # Mock manifest path for dev -> pallet_balances
]

with patch('sys.exit') as mock_exit:
import cmd
cmd.main()
mock_exit.assert_not_called()

expected_calls = [
# Build calls
call("forklift cargo build -p kitchensink-runtime --profile release --features=runtime-benchmarks,riscv"),
call("forklift cargo build -p kitchensink-runtime --profile release --features=runtime-benchmarks"),
call("forklift cargo build -p westend-runtime --profile release --features=runtime-benchmarks"),
call("forklift cargo build -p rococo-runtime --profile release --features=runtime-benchmarks"),
call("forklift cargo build -p asset-hub-westend-runtime --profile release --features=runtime-benchmarks"),

call(get_mock_bench_output(
runtime='kitchensink',
pallets='pallet_balances',
Expand Down Expand Up @@ -162,7 +162,7 @@ def test_bench_command_normal_execution(self):
self.mock_popen.return_value.read.side_effect = [
"pallet_balances\npallet_staking\npallet_something\n", # Output for westend runtime
]

with patch('sys.exit') as mock_exit:
import cmd
cmd.main()
Expand All @@ -171,7 +171,7 @@ def test_bench_command_normal_execution(self):
expected_calls = [
# Build calls
call("forklift cargo build -p westend-runtime --profile release --features=runtime-benchmarks"),

# Westend runtime calls
call(get_mock_bench_output(
runtime='westend',
Expand Down Expand Up @@ -205,7 +205,7 @@ def test_bench_command_normal_execution_xcm(self):
self.mock_popen.return_value.read.side_effect = [
"pallet_balances\npallet_staking\npallet_something\npallet_xcm_benchmarks::generic\n", # Output for westend runtime
]

with patch('sys.exit') as mock_exit:
import cmd
cmd.main()
Expand All @@ -214,7 +214,7 @@ def test_bench_command_normal_execution_xcm(self):
expected_calls = [
# Build calls
call("forklift cargo build -p westend-runtime --profile release --features=runtime-benchmarks"),

# Westend runtime calls
call(get_mock_bench_output(
runtime='westend',
Expand All @@ -241,7 +241,7 @@ def test_bench_command_two_runtimes_two_pallets(self):
"pallet_staking\npallet_balances\n", # Output for westend runtime
"pallet_staking\npallet_balances\n", # Output for rococo runtime
]

with patch('sys.exit') as mock_exit:
import cmd
cmd.main()
Expand Down Expand Up @@ -309,7 +309,7 @@ def test_bench_command_one_dev_runtime(self):

expected_calls = [
# Build calls
call("forklift cargo build -p kitchensink-runtime --profile release --features=runtime-benchmarks,riscv"),
call("forklift cargo build -p kitchensink-runtime --profile release --features=runtime-benchmarks"),
# Westend runtime calls
call(get_mock_bench_output(
runtime='kitchensink',
Expand Down Expand Up @@ -429,4 +429,4 @@ def test_prdoc_command(self, mock_system, mock_parse_args):
self.mock_generate_prdoc_main.assert_called_with(mock_parse_args.return_value[0])

if __name__ == '__main__':
unittest.main()
unittest.main()
3 changes: 2 additions & 1 deletion .github/scripts/common/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,10 @@ function import_gpg_keys() {
EGOR="E6FC4D4782EB0FA64A4903CCDB7D3555DD3932D3"
MORGAN="2E92A9D8B15D7891363D1AE8AF9E6C43F7F8C4CF"
PARITY_RELEASES="90BD75EBBB8E95CB3DA6078F94A4029AB4B35DAE"
PARITY_RELEASES_SIGN_COMMITS="D8018FBB3F534D866A45998293C5FB5F6A367B51"

echo "Importing GPG keys from $GPG_KEYSERVER"
for key in $SEC $EGOR $MORGAN $PARITY_RELEASES; do
for key in $SEC $EGOR $MORGAN $PARITY_RELEASES $PARITY_RELEASES_SIGN_COMMITS; do
(
echo "Importing GPG key $key"
gpg --no-tty --quiet --keyserver $GPG_KEYSERVER --recv-keys $key
Expand Down
3 changes: 1 addition & 2 deletions .github/scripts/release/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ cargo install --version 2.7.0 cargo-deb --locked -q
echo "Using cargo-deb v$(cargo-deb --version)"
echo "Building a Debian package for '$PRODUCT' in '$PROFILE' profile"

# we need to start the custom version with a didgit as requires it cargo-deb
cargo deb --profile $PROFILE --no-strip --no-build -p $PRODUCT --deb-version 1-$VERSION
cargo deb --profile $PROFILE --no-strip --no-build -p $PRODUCT --deb-version $VERSION

deb=target/debian/$PRODUCT_*_amd64.deb

Expand Down
79 changes: 79 additions & 0 deletions .github/workflows/build-publish-eth-rpc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Build and push ETH-RPC image

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
IMAGE_NAME: "docker.io/paritypr/eth-rpc"

jobs:
set-variables:
# This workaround sets the container image for each job using 'set-variables' job output.
# env variables don't work for PR from forks, so we need to use outputs.
runs-on: ubuntu-latest
outputs:
VERSION: ${{ steps.version.outputs.VERSION }}
steps:
- name: Define version
id: version
run: |
export COMMIT_SHA=${{ github.sha }}
export COMMIT_SHA_SHORT=${COMMIT_SHA:0:8}
export REF_NAME=${{ github.ref_name }}
export REF_SLUG=${REF_NAME//\//_}
VERSION=${REF_SLUG}-${COMMIT_SHA_SHORT}
echo "VERSION=${REF_SLUG}-${COMMIT_SHA_SHORT}" >> $GITHUB_OUTPUT
echo "set VERSION=${VERSION}"

build_docker:
name: Build docker image
runs-on: parity-large
needs: [set-variables]
env:
VERSION: ${{ needs.set-variables.outputs.VERSION }}
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
file: ./substrate/frame/revive/rpc/Dockerfile
push: false
tags: |
${{ env.IMAGE_NAME }}:${{ env.VERSION }}

build_push_docker:
name: Build and push docker image
runs-on: parity-large
if: github.ref == 'refs/heads/master'
needs: [set-variables]
env:
VERSION: ${{ needs.set-variables.outputs.VERSION }}
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.PARITYPR_DOCKERHUB_USERNAME }}
password: ${{ secrets.PARITYPR_DOCKERHUB_PASSWORD }}

- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
file: ./substrate/frame/revive/rpc/Dockerfile
push: true
tags: |
${{ env.IMAGE_NAME }}:${{ env.VERSION }}
4 changes: 2 additions & 2 deletions .github/workflows/check-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
- uses: actions/setup-node@v4.0.4
- uses: actions/setup-node@v4.1.0
with:
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
- uses: actions/setup-node@v4.0.4
- uses: actions/setup-node@v4.1.0
with:
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.0 (22. Sep 2023)

- name: Lychee link checker
uses: lycheeverse/lychee-action@2bb232618be239862e31382c5c0eaeba12e5e966 # for v1.9.1 (10. Jan 2024)
uses: lycheeverse/lychee-action@7cd0af4c74a61395d455af97419279d86aafaede # for v1.9.1 (10. Jan 2024)
with:
args: >-
--config .config/lychee.toml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
merge_group:

concurrency:
group: check-semver-${{ github.event.pull_request.number || github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks-quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
- name: Setup Node.js
uses: actions/setup-node@v4.0.4
uses: actions/setup-node@v4.1.0
with:
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
- name: script
run: |
forklift cargo clippy --all-targets --locked --workspace --quiet
forklift cargo clippy --all-targets --all-features --locked --workspace --quiet
cargo clippy --all-targets --locked --workspace --quiet
cargo clippy --all-targets --all-features --locked --workspace --quiet
check-try-runtime:
runs-on: ${{ needs.preflight.outputs.RUNNER }}
needs: [preflight]
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/misc-sync-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ jobs:
homepage = "https://paritytech.github.io/polkadot-sdk/"

[workspace]
EOF

[ ${{ matrix.template }} != "solochain" ] && echo "# Leave out the node compilation from regular template usage." \
&& echo "\"default-members\" = [\"pallets/template\", \"runtime\"]" >> Cargo.toml
[ ${{ matrix.template }} == "solochain" ] && echo "# The node isn't yet replaceable by Omni Node."
cat << EOF >> Cargo.toml
members = [
"node",
"pallets/template",
Expand Down
Loading
Loading