-
Notifications
You must be signed in to change notification settings - Fork 1.2k
YAP NG FTW! #7220
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
Merged
Merged
YAP NG FTW! #7220
Changes from 20 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
fe04de8
YAP NG FTW!
s0me0ne-unkn0wn db61d22
".git/.scripts/commands/fmt/fmt.sh"
2176c4d
Enable experimental UMP signals
s0me0ne-unkn0wn 0c9f233
Fix manifests
s0me0ne-unkn0wn 695513a
Replace base extrinsic weight with sig check
georgepisaltu e849161
Update Cargo.lock
georgepisaltu 0bb4384
Merge remote-tracking branch 'origin/master' into s0me0ne/yap-ng
s0me0ne-unkn0wn 1adf38f
Merge remote-tracking branch 'origin/master' into s0me0ne/yap-ng
s0me0ne-unkn0wn 238ee5e
Fix comment
s0me0ne-unkn0wn 2026a8d
net/transactions: Refactor tx controller methods to batch notifications
lexnv be97f4b
net/transactions: Propagate batched transactions to
lexnv 0f5e9a9
net/transactions: Batch multiple tx into a single notification
lexnv 56aa3e8
net/transactions: Trace number of batched txes from controller
lexnv c5cdce1
use `--profile production` for parachain-debug image
ordian a896032
Merge branch 'master' into s0me0ne/yap-ng
ordian 770cb9b
transaction-network: consts updated
michalkucharczyk 03e813a
Merge remote-tracking branch 'origin/lexnv/transaction-rework' into s…
ordian ad23b8e
litep2p sync channel size bump
ordian 34535ba
set slot_duration to 3x
ordian 992ce06
introduce inmemory weights
ordian 8de9c0b
fix compilation
ordian f653309
actually use custom weights
ordian afd5235
Revert "Merge remote-tracking branch 'origin/lexnv/transaction-rework…
ordian e64599f
Revert "transaction-network: consts updated"
ordian 11a78ef
Revert "litep2p sync channel size bump"
ordian 7cfb6f8
Revert "use `--profile production` for parachain-debug image"
ordian 9582b21
Merge remote-tracking branch 'origin/master' into s0me0ne/yap-ng
s0me0ne-unkn0wn 3e4b865
Address discussions and finish merge
s0me0ne-unkn0wn f2700a4
Merge branch 'master' into s0me0ne/yap-ng
s0me0ne-unkn0wn df13fbc
Merge branch 'master' into s0me0ne/yap-ng
s0me0ne-unkn0wn bba4289
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] ae13389
Update prdoc
s0me0ne-unkn0wn 3e8f2a8
Merge remote-tracking branch 'origin/master' into s0me0ne/yap-ng
s0me0ne-unkn0wn cda63b2
Fix manifesr
s0me0ne-unkn0wn f1b9b36
Fix clippy and stale code
s0me0ne-unkn0wn 8066ed5
Fix prdoc
s0me0ne-unkn0wn 1962084
Relicense under Apache 2.0
s0me0ne-unkn0wn 672c57c
Update substrate/client/transaction-pool/src/graph/validated_pool.rs
s0me0ne-unkn0wn 1af0a37
Merge branch 'master' into s0me0ne/yap-ng
s0me0ne-unkn0wn 12ad66d
Add missing license
s0me0ne-unkn0wn 6a6b052
`cargo fmt`
s0me0ne-unkn0wn 6754f2b
More relicensing
s0me0ne-unkn0wn 97e96be
Merge branch 'master' into s0me0ne/yap-ng
s0me0ne-unkn0wn 976ae2b
Merge branch 'master' into s0me0ne/yap-ng
ordian dbfca71
Merge branch 'master' into s0me0ne/yap-ng
ordian 7f37a1a
Update substrate/client/basic-authorship/src/basic_authorship.rs
bkchr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
152 changes: 152 additions & 0 deletions
152
cumulus/parachains/runtimes/testing/yet-another-parachain/Cargo.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,152 @@ | ||
| [package] | ||
| name = "yet-another-parachain-runtime" | ||
| version = "0.6.0" | ||
| authors.workspace = true | ||
| edition.workspace = true | ||
| description = "Simple runtime used by the testing parachain(s)" | ||
| license = "Apache-2.0" | ||
|
|
||
| [lints] | ||
| workspace = true | ||
|
|
||
| [dependencies] | ||
| codec = { features = ["derive"], workspace = true } | ||
| scale-info = { features = ["derive"], workspace = true } | ||
|
|
||
| # Substrate | ||
| cumulus-pallet-xcm = { workspace = true } | ||
| cumulus-pallet-xcmp-queue = { workspace = true } | ||
| frame-benchmarking = { optional = true, workspace = true } | ||
| frame-executive = { workspace = true } | ||
| frame-support = { workspace = true } | ||
| frame-system = { workspace = true } | ||
| frame-system-rpc-runtime-api = { workspace = true } | ||
| pallet-assets = { workspace = true } | ||
| pallet-aura = { workspace = true } | ||
| pallet-authorship = { workspace = true } | ||
| pallet-balances = { workspace = true } | ||
| pallet-message-queue.workspace = true | ||
| pallet-sudo = { workspace = true } | ||
| pallet-timestamp = { workspace = true } | ||
| pallet-transaction-payment = { workspace = true } | ||
| pallet-transaction-payment-rpc-runtime-api = { workspace = true } | ||
| pallet-utility = { workspace = true } | ||
| pallet-verify-signature = { workspace = true } | ||
| pallet-xcm.workspace = true | ||
| sp-api = { workspace = true } | ||
| sp-block-builder = { workspace = true } | ||
| sp-consensus-aura = { workspace = true } | ||
| sp-core = { workspace = true } | ||
| sp-genesis-builder = { workspace = true } | ||
| sp-inherents = { workspace = true } | ||
| sp-io = { workspace = true } | ||
| sp-offchain = { workspace = true } | ||
| sp-runtime = { workspace = true } | ||
| sp-session = { workspace = true } | ||
| sp-transaction-pool = { workspace = true } | ||
| sp-version = { workspace = true } | ||
| xcm.workspace = true | ||
| xcm-builder.workspace = true | ||
| xcm-executor.workspace = true | ||
|
|
||
| # Polkadot | ||
| polkadot-parachain-primitives = { workspace = true } | ||
| polkadot-runtime-common = { workspace = true } | ||
|
|
||
| # Cumulus | ||
| cumulus-pallet-aura-ext = { workspace = true } | ||
| cumulus-pallet-parachain-system = { workspace = true, features = ["experimental-ump-signals"] } | ||
| cumulus-pallet-weight-reclaim = { workspace = true } | ||
| cumulus-primitives-aura = { workspace = true } | ||
| cumulus-primitives-core = { workspace = true } | ||
| cumulus-primitives-utility = { workspace = true } | ||
| parachain-info = { workspace = true } | ||
| parachains-common = { workspace = true } | ||
| testnet-parachains-constants = { features = ["rococo"], workspace = true } | ||
|
|
||
| [build-dependencies] | ||
| substrate-wasm-builder = { optional = true, workspace = true, default-features = true } | ||
|
|
||
| [features] | ||
| default = ["std"] | ||
| std = [ | ||
| "codec/std", | ||
| "cumulus-pallet-aura-ext/std", | ||
| "cumulus-pallet-parachain-system/std", | ||
| "cumulus-pallet-weight-reclaim/std", | ||
| "cumulus-pallet-xcm/std", | ||
| "cumulus-pallet-xcmp-queue/std", | ||
| "cumulus-primitives-aura/std", | ||
| "cumulus-primitives-core/std", | ||
| "cumulus-primitives-utility/std", | ||
| "frame-benchmarking?/std", | ||
| "frame-executive/std", | ||
| "frame-support/std", | ||
| "frame-system-rpc-runtime-api/std", | ||
| "frame-system/std", | ||
| "pallet-assets/std", | ||
| "pallet-aura/std", | ||
| "pallet-authorship/std", | ||
| "pallet-balances/std", | ||
| "pallet-message-queue/std", | ||
| "pallet-sudo/std", | ||
| "pallet-timestamp/std", | ||
| "pallet-transaction-payment-rpc-runtime-api/std", | ||
| "pallet-transaction-payment/std", | ||
| "pallet-utility/std", | ||
| "pallet-verify-signature/std", | ||
| "pallet-xcm/std", | ||
| "parachain-info/std", | ||
| "parachains-common/std", | ||
| "polkadot-parachain-primitives/std", | ||
| "polkadot-runtime-common/std", | ||
| "scale-info/std", | ||
| "sp-api/std", | ||
| "sp-block-builder/std", | ||
| "sp-consensus-aura/std", | ||
| "sp-core/std", | ||
| "sp-genesis-builder/std", | ||
| "sp-inherents/std", | ||
| "sp-io/std", | ||
| "sp-offchain/std", | ||
| "sp-runtime/std", | ||
| "sp-session/std", | ||
| "sp-transaction-pool/std", | ||
| "sp-version/std", | ||
| "substrate-wasm-builder", | ||
| "testnet-parachains-constants/std", | ||
| "xcm-builder/std", | ||
| "xcm-executor/std", | ||
| "xcm/std", | ||
| ] | ||
| runtime-benchmarks = [ | ||
| "cumulus-pallet-parachain-system/runtime-benchmarks", | ||
| "cumulus-pallet-weight-reclaim/runtime-benchmarks", | ||
| "cumulus-pallet-xcmp-queue/runtime-benchmarks", | ||
| "cumulus-primitives-core/runtime-benchmarks", | ||
| "cumulus-primitives-utility/runtime-benchmarks", | ||
| "frame-benchmarking/runtime-benchmarks", | ||
| "frame-support/runtime-benchmarks", | ||
| "frame-system/runtime-benchmarks", | ||
| "pallet-assets/runtime-benchmarks", | ||
| "pallet-balances/runtime-benchmarks", | ||
| "pallet-message-queue/runtime-benchmarks", | ||
| "pallet-sudo/runtime-benchmarks", | ||
| "pallet-timestamp/runtime-benchmarks", | ||
| "pallet-transaction-payment/runtime-benchmarks", | ||
| "pallet-utility/runtime-benchmarks", | ||
| "pallet-verify-signature/runtime-benchmarks", | ||
| "pallet-xcm/runtime-benchmarks", | ||
| "parachains-common/runtime-benchmarks", | ||
| "polkadot-parachain-primitives/runtime-benchmarks", | ||
| "polkadot-runtime-common/runtime-benchmarks", | ||
| "sp-runtime/runtime-benchmarks", | ||
| "xcm-builder/runtime-benchmarks", | ||
| "xcm-executor/runtime-benchmarks", | ||
| "xcm/runtime-benchmarks", | ||
| ] | ||
|
|
||
| # A feature that should be enabled when the runtime should be built for on-chain | ||
| # deployment. This will disable stuff that shouldn't be part of the on-chain wasm | ||
| # to make it smaller, like logging for example. | ||
| on-chain-release-build = [] |
22 changes: 22 additions & 0 deletions
22
cumulus/parachains/runtimes/testing/yet-another-parachain/build.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| // Copyright (C) Parity Technologies (UK) Ltd. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| #[cfg(feature = "std")] | ||
| fn main() { | ||
| substrate_wasm_builder::WasmBuilder::build_using_defaults(); | ||
| } | ||
|
|
||
| #[cfg(not(feature = "std"))] | ||
| fn main() {} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.