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

Coretime Chain #1479

Merged
merged 136 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from 113 commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
5d418be
coretime node
joepetrowski Sep 9, 2023
b5cb317
runtime
joepetrowski Sep 9, 2023
e88c889
updates since monorepo
joepetrowski Sep 9, 2023
8f6acd9
scripts
joepetrowski Sep 9, 2023
f193d9a
import path fix
joepetrowski Sep 9, 2023
f0c2ffe
propagate features
joepetrowski Sep 9, 2023
f90d059
propagate features again
joepetrowski Sep 9, 2023
e2c25a1
add experimental feature
joepetrowski Sep 9, 2023
13d3cbe
propagate features again
joepetrowski Sep 9, 2023
e672f78
somehow escaped fmt
joepetrowski Sep 11, 2023
e965b35
Merge remote-tracking branch 'origin' into joe-coretime-chain
joepetrowski Sep 11, 2023
1063a6a
Merge branch 'master' into joe-coretime-chain
joepetrowski Sep 12, 2023
be8b135
with trailing topic
joepetrowski Sep 12, 2023
87720cc
Merge remote-tracking branch 'origin' into joe-coretime-chain
joepetrowski Sep 13, 2023
d2753d9
add node requirements for rococo and westend runtimes
joepetrowski Sep 13, 2023
9affefe
add separate runtimes for rococo and westend
joepetrowski Sep 13, 2023
6f579d1
missing rococo parts
joepetrowski Sep 13, 2023
d9e8b85
actually include missing parts in commit
joepetrowski Sep 13, 2023
3840349
prelim broker integration to rococo
joepetrowski Sep 14, 2023
df9be31
Merge remote-tracking branch 'origin' into joe-coretime-chain
joepetrowski Sep 16, 2023
9c283dd
merge master
joepetrowski Sep 19, 2023
26bf95c
send coretime revenue to staking pot
joepetrowski Sep 19, 2023
efed2e2
Merge remote-tracking branch 'origin' into joe-coretime-chain
joepetrowski Sep 27, 2023
96625bf
merge master
joepetrowski Oct 8, 2023
cfee13b
coretimeallocator
joepetrowski Oct 8, 2023
b196f46
merge master
joepetrowski Oct 26, 2023
6a1d1ad
Remove native runtime constants from coretime runtimes
seadanda Oct 24, 2023
f00c403
Make runtimes compile
seadanda Nov 6, 2023
fa231ef
Add assign_core and mock CoretimeProvider
seadanda Nov 10, 2023
db713a7
Fix XCM parent/sibling delivery fee price
seadanda Nov 10, 2023
cc88547
Merge branch 'master' into joe-coretime-chain
seadanda Nov 13, 2023
1812039
Add TransactAsset and DeliveryHelper to runtimes
seadanda Nov 13, 2023
291d7f9
Disable calls to broker pallet
seadanda Nov 13, 2023
3035ddd
Rename parachain-info in coretime
seadanda Nov 13, 2023
f63e1b9
Remove coretime-kusama and -polkadot
seadanda Nov 13, 2023
6ef731d
Remove native coretime runtimes from parachain-bin
seadanda Nov 14, 2023
0238143
Update coretime message queues for 1246
seadanda Nov 14, 2023
619c38e
Include all pallets in define_benchmarks
seadanda Nov 14, 2023
99cf792
Add missing licenses in coretime runtimes
seadanda Nov 14, 2023
61b3933
Add rest of CoretimeInterface mocks
seadanda Nov 14, 2023
af2ae03
Revert over-zealous benchmark additions
seadanda Nov 14, 2023
b1a892b
Merge branch 'master' into joe-coretime-chain
seadanda Nov 14, 2023
b0f8f1d
Bootstrap weights
seadanda Nov 14, 2023
c4f4b64
Merge branch 'master' into joe-coretime-chain
seadanda Nov 15, 2023
9163ebe
Fix pallet_xcm benchmarking after master merge
seadanda Nov 15, 2023
594c0f1
Merge branch 'master' into joe-coretime-chain
seadanda Nov 15, 2023
36ba5f2
Impl WeightInfo for () to avoid missing chainspec
seadanda Nov 15, 2023
fcd1bdc
Merge branch 'master' into joe-coretime-chain
seadanda Nov 15, 2023
c4aa490
Fix missing bracket from github merge editor
seadanda Nov 15, 2023
3508e8c
Switch out mock for fixed indices
seadanda Nov 15, 2023
4b51067
Remove kusama and polkadot coretime chainspecs
seadanda Nov 15, 2023
4bf348e
Reorder generics in CoreProviderCalls
seadanda Nov 15, 2023
b639507
modify command
0xmovses Nov 17, 2023
6943cea
Revert "modify command"
0xmovses Nov 17, 2023
c35a889
Generate chain specs and head data
seadanda Nov 21, 2023
563aee9
Add rococo-coretime-local
seadanda Nov 22, 2023
97039ec
Add boot nodes, invulnerables and session keys
seadanda Nov 22, 2023
5df967e
Revert "Impl WeightInfo for () to avoid missing chainspec"
seadanda Nov 22, 2023
60fde52
Remove unnecessary files
seadanda Nov 24, 2023
f1aca09
Add coretime-rococo live chainspec
seadanda Nov 24, 2023
ea2892c
Set origin to Native and add Decode trait bound
seadanda Nov 24, 2023
9244059
Add broker weights
seadanda Nov 24, 2023
8dea375
Add westend local and dev chainspecs
seadanda Nov 29, 2023
a378202
Merge branch 'master' into joe-coretime-chain
seadanda Nov 29, 2023
d7f8e0d
Merge branch 'master' into joe-coretime-chain
seadanda Nov 29, 2023
a5d14b4
Make chainspec script run for westend
seadanda Nov 30, 2023
eac1350
Regenerate coretime-rococo live chainspec
seadanda Nov 30, 2023
a79f22e
Apply rustdoc suggestions from Liam
seadanda Dec 7, 2023
385f2c5
Fix versions
seadanda Dec 7, 2023
85e719e
Add PRDoc
seadanda Dec 7, 2023
76e3d80
Merge branch 'master' into joe-coretime-chain
seadanda Dec 7, 2023
4f5f890
Run taplo
seadanda Dec 7, 2023
26622ed
Add weights to broker and fix pallet_xcm weights
seadanda Dec 7, 2023
7ae2594
Merge branch 'master' into joe-coretime-chain
seadanda Dec 7, 2023
9d96d06
Run coretime-rococo weights
seadanda Dec 7, 2023
d2d6a57
Allow coretime-westend weights to be generated
seadanda Dec 7, 2023
9dd867f
Merge branch 'master' into joe-coretime-chain
seadanda Dec 12, 2023
18e34e5
Merge branch 'master' into joe-coretime-chain
seadanda Dec 12, 2023
215458e
Merge branch 'master' into joe-coretime-chain
seadanda Dec 12, 2023
e502935
Merge branch 'master' into joe-coretime-chain
seadanda Dec 13, 2023
cd6c327
Use derive_impl in coretime runtimes
seadanda Dec 13, 2023
ee3e414
Merge branch 'master' into joe-coretime-chain
seadanda Dec 13, 2023
eb1ad61
Lint coretime runtimes
seadanda Dec 13, 2023
45767ac
Apply suggestions from code review
seadanda Dec 14, 2023
c14f372
Rename CreditToStakingPot since nothing is at stake
seadanda Dec 14, 2023
21c9019
set proper limits on leased and reserved cores
seadanda Dec 14, 2023
c9d389e
Fix license and SS58Prefix
seadanda Dec 14, 2023
da2c17e
Tidy up use statements
seadanda Dec 14, 2023
4de01d0
Fix xcm_configs
seadanda Dec 14, 2023
fc2eb3d
Use more permissive weight limit, pending benchmarks
seadanda Dec 14, 2023
0296b21
Add sudo to coretime-rococo
seadanda Dec 14, 2023
37fe679
Add Alice as sudo at genesis
seadanda Dec 14, 2023
97a7908
Apply suggestions from Basti code review
seadanda Dec 15, 2023
a7a7b44
Remove coretime-westend live chainspec
seadanda Dec 15, 2023
70b1fba
Use specific types in BrokerRuntimePallets
seadanda Dec 15, 2023
b2de11c
Remove broker call filter
seadanda Dec 15, 2023
d13f255
Remove unused imports from review suggestions
seadanda Dec 15, 2023
db4a46d
Merge branch 'master' into joe-coretime-chain
seadanda Dec 15, 2023
a64f575
Use FungibleAdapter instead of deprecated CurrencyAdapter
seadanda Dec 15, 2023
88b1ae4
Clean up construct runtime in coretime-westend
seadanda Dec 15, 2023
6ebf9ce
Update cumulus/polkadot-parachain/src/chain_spec/coretime.rs
seadanda Dec 15, 2023
9306337
Tidy up coretime chainspec configs
seadanda Dec 15, 2023
64a5d68
Merge branch 'master' into joe-coretime-chain
seadanda Dec 15, 2023
8f8598c
Remove deprecated DMP pallet and clean up imports
seadanda Dec 15, 2023
d7aba9a
Bring coretime-westend shell up to speed
seadanda Dec 15, 2023
436b318
Merge branch 'master' into joe-coretime-chain
seadanda Dec 15, 2023
c901920
No need to be generic
bkchr Dec 18, 2023
3d95892
More improvements
bkchr Dec 18, 2023
7863975
".git/.scripts/commands/fmt/fmt.sh"
Dec 18, 2023
c62609d
Add try runtime check
bkchr Dec 18, 2023
3d31cbc
Merge branch 'master' into joe-coretime-chain
bkchr Dec 18, 2023
06ec872
Add short-benchmark jobs for coretime
bkontur Dec 18, 2023
a4dfce2
Add XcmpQueue v4 migration to coretime-rococo
seadanda Dec 18, 2023
b9a71fc
Use fixed `ParentRelayOrSiblingParachains`
seadanda Dec 18, 2023
0775ab5
Fix timeslice value
seadanda Dec 18, 2023
b74ea86
Add imports to bko feedback
seadanda Dec 18, 2023
7ada9ef
Apply suggestions from bko code review
seadanda Dec 18, 2023
2a3e360
Fix Coretime relay pallet naming
seadanda Dec 18, 2023
b7160a8
Fix xcm benchmarks
seadanda Dec 18, 2023
b0bb91b
Fix benchmark
bkchr Dec 18, 2023
c60350c
Fix purchase bench
seadanda Dec 19, 2023
90852d7
Extend required traits for BlockNumberProvider
bkchr Dec 19, 2023
c70f3d9
Switch broker to `BlockNumberProvider`
bkchr Dec 19, 2023
2565ec2
Fix benchmarks
bkchr Dec 19, 2023
0d1031a
Merge branch 'joe-coretime-chain' of github.com:paritytech/polkadot-s…
bkchr Dec 19, 2023
fc7b9f1
FMT
bkchr Dec 19, 2023
d9c9c1a
Clippy and make everything compile
bkchr Dec 19, 2023
4c68675
Fix xcm benchmarks
seadanda Dec 19, 2023
904105e
More fixes
bkchr Dec 19, 2023
b854d75
Merge branch 'joe-coretime-chain' of github.com:paritytech/polkadot-s…
bkchr Dec 19, 2023
7a7f105
Ups
bkchr Dec 19, 2023
0f2bddb
Remove unneeded config in bench from merge
seadanda Dec 19, 2023
9cbefa2
Merge branch 'master' into joe-coretime-chain
seadanda Dec 19, 2023
ce8ed20
Merge branch 'master' into joe-coretime-chain
seadanda Dec 19, 2023
60a0c16
Merge branch 'master' into joe-coretime-chain
seadanda Dec 19, 2023
bacb1c7
Merge branch 'master' into joe-coretime-chain
seadanda Dec 19, 2023
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
10 changes: 10 additions & 0 deletions .gitlab/pipeline/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ build-test-parachain:

# DAG: build-runtime-assets -> build-runtime-collectives -> build-runtime-bridge-hubs
# DAG: build-runtime-assets -> build-runtime-collectives -> build-runtime-contracts
# DAG: build-runtime-assets -> build-runtime-coretime
# DAG: build-runtime-assets -> build-runtime-starters -> build-runtime-testing
build-runtime-assets:
<<: *build-runtime-template
Expand All @@ -235,6 +236,15 @@ build-runtime-collectives:
- job: build-runtime-assets
artifacts: false

build-runtime-coretime:
<<: *build-runtime-template
variables:
RUNTIME_PATH: "cumulus/parachains/runtimes/coretime"
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
needs:
- job: build-runtime-assets
artifacts: false

build-runtime-bridge-hubs:
<<: *build-runtime-template
variables:
Expand Down
13 changes: 13 additions & 0 deletions .gitlab/pipeline/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,19 @@ check-runtime-migration-collectives-westend:
URI: "wss://westend-collectives-rpc.polkadot.io:443"
COMMAND_EXTRA_ARGS: "--disable-spec-name-check"

# Check runtime migrations for Parity managed coretime chain
check-runtime-migration-coretime-rococo:
stage: check
extends:
- .docker-env
- .test-pr-refs
- .check-runtime-migration
variables:
NETWORK: "coretime-rococo"
PACKAGE: "coretime-rococo-runtime"
WASM: "coretime_rococo_runtime.compact.compressed.wasm"
URI: "wss://rococo-coretime-rpc.polkadot.io:443"

find-fail-ci-phrase:
stage: check
variables:
Expand Down
10 changes: 10 additions & 0 deletions .gitlab/pipeline/short-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ short-benchmark-collectives-westend:
variables:
RUNTIME_CHAIN: collectives-westend-dev

short-benchmark-coretime-rococo:
<<: *short-bench-cumulus
variables:
RUNTIME_CHAIN: coretime-rococo-dev

short-benchmark-coretime-westend:
<<: *short-bench-cumulus
variables:
RUNTIME_CHAIN: coretime-westend-dev

short-benchmark-glutton-westend:
<<: *short-bench-cumulus
variables:
Expand Down
129 changes: 129 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ members = [
"cumulus/parachains/runtimes/bridge-hubs/test-utils",
"cumulus/parachains/runtimes/collectives/collectives-westend",
"cumulus/parachains/runtimes/contracts/contracts-rococo",
"cumulus/parachains/runtimes/coretime/coretime-rococo",
"cumulus/parachains/runtimes/coretime/coretime-westend",
"cumulus/parachains/runtimes/glutton/glutton-westend",
"cumulus/parachains/runtimes/starters/seedling",
"cumulus/parachains/runtimes/starters/shell",
Expand Down
70 changes: 70 additions & 0 deletions cumulus/parachains/chain-specs/coretime-rococo.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions cumulus/parachains/runtimes/coretime/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Coretime System Chain

Also known as the "Broker Chain". Described in
[RFC-0001](https://github.com/polkadot-fellows/RFCs/pull/1).
Loading