omni-node: fix benchmark pallet to work with --runtime#8594
Merged
iulianbarbu merged 27 commits intoparitytech:masterfrom Jun 4, 2025
Merged
omni-node: fix benchmark pallet to work with --runtime#8594iulianbarbu merged 27 commits intoparitytech:masterfrom
benchmark pallet to work with --runtime#8594iulianbarbu merged 27 commits intoparitytech:masterfrom
Conversation
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
benchmark pallet to work just with --runtime toobenchmark pallet to work with --runtime
Contributor
Author
|
/cmd prdoc |
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
iulianbarbu
commented
May 21, 2025
bkontur
reviewed
May 21, 2025
Contributor
@iulianbarbu Does this apply also to @franciscoaguirre This is something you asked me about in the morning. Looks like Iulian "heard" our element conversation :D |
Contributor
Author
Yes it does. |
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
bkchr
reviewed
May 21, 2025
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
bkchr
approved these changes
May 26, 2025
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
serban300
approved these changes
Jun 3, 2025
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
ggwpez
reviewed
Jun 3, 2025
This reverts commit 4a3f245.
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
skunert
approved these changes
Jun 4, 2025
ordian
added a commit
that referenced
this pull request
Jun 4, 2025
* master: omni-node: fix `benchmark pallet` to work with `--runtime` (#8594) Handle and suppress "New unknown `FromSwarm` libp2p event" warning (#8731) Implement detailed logging for XCM failures (#8724) [pallet-revive] contract's nonce starts at 1 (#8734) sync/fix: Clear gap sync on known imported blocks (#8445) [PoP] Add personhood tracking pallets (#8164) client/net: Use litep2p as the default network backend (#8461) Unflake `returns_status_for_pruned_blocks` (#8709) [AHM] Report the weights of epmb pallet to expose kusama and polkadot weights (#8704) Remove all XCM dependencies from `pallet-revive` (#8584) Docker master image tag fix (#8711) Record ed as part of the storage deposit (#8718) [pallet-revive] update dry-run logic (#8662) feat: add collator peer ID to ParachainInherentData (#8708) Nest errors in pallet-xcm (#7730) pallet-assets ERC20 precompile (#8554) Broker: Introduce min price + adjust renewals to lower market. (#8630) [AHM] Staking async fixes for XCM and election planning (#8422) Staking (EPMB): Add defensive error handling to voter snapshot creation and solution verification (#8687)
pgherveou
pushed a commit
that referenced
this pull request
Jun 11, 2025
# Description The PR fixes the logic so that `polkadot-omni-node benchmark pallet` subcommand pulls in the appropriate arguments, while not needing to instatiate the full node configuration, which requires always passing `--chain` flag. ## Integration Developers will be able to use `polkadot-omni-node benchmark pallet` with `--runtime` flag, same as `frame-omni-bencher`. ## Review Notes Did a few things in this PR: - made `polkadot-omni-node benchmark pallet` not require always the `--chain` flag - removed the deprecated `run` method for `benchmark pallet` from `benchmarking-cli`. - removed the check that disallows the chain flag from `frame-omni-bencher` since it is allowed and usable TODO: - [x] a few more testing of the commands with both `--runtime` and `--chain`. - [x] remove `runtime-benchmarks` feature guard for benchmark cmds --------- Signed-off-by: Iulian Barbu <iulian.barbu@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
alvicsam
pushed a commit
that referenced
this pull request
Oct 17, 2025
# Description The PR fixes the logic so that `polkadot-omni-node benchmark pallet` subcommand pulls in the appropriate arguments, while not needing to instatiate the full node configuration, which requires always passing `--chain` flag. ## Integration Developers will be able to use `polkadot-omni-node benchmark pallet` with `--runtime` flag, same as `frame-omni-bencher`. ## Review Notes Did a few things in this PR: - made `polkadot-omni-node benchmark pallet` not require always the `--chain` flag - removed the deprecated `run` method for `benchmark pallet` from `benchmarking-cli`. - removed the check that disallows the chain flag from `frame-omni-bencher` since it is allowed and usable TODO: - [x] a few more testing of the commands with both `--runtime` and `--chain`. - [x] remove `runtime-benchmarks` feature guard for benchmark cmds --------- Signed-off-by: Iulian Barbu <iulian.barbu@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
The PR fixes the logic so that
polkadot-omni-node benchmark palletsubcommand pulls in the appropriate arguments, while not needing to instatiate the full node configuration, which requires always passing--chainflag.Integration
Developers will be able to use
polkadot-omni-node benchmark palletwith--runtimeflag, same asframe-omni-bencher.Review Notes
Did a few things in this PR:
polkadot-omni-node benchmark palletnot require always the--chainflagrunmethod forbenchmark palletfrombenchmarking-cli.frame-omni-benchersince it is allowed and usableTODO:
--runtimeand--chain.runtime-benchmarksfeature guard for benchmark cmds