Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

XCM V2 weight template #2344

Merged
merged 18 commits into from
Mar 23, 2023
Merged

XCM V2 weight template #2344

merged 18 commits into from
Mar 23, 2023

Conversation

ggwpez
Copy link
Member

@ggwpez ggwpez commented Mar 17, 2023

Update the weight template to correctly produce proof weights and dont use deprecated functions anymore.

cc #2322 @bkontur

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Legally not needed, we already remove them from Substrate.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez ggwpez added B0-silent Changes should not be mentioned in any release notes A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Mar 17, 2023
@ggwpez
Copy link
Member Author

ggwpez commented Mar 17, 2023

bot help

@ggwpez ggwpez marked this pull request as draft March 17, 2023 18:44
@ggwpez
Copy link
Member Author

ggwpez commented Mar 17, 2023

bot bench $ xcm statemine asset pallet_xcm_benchmarks::fungible

1 similar comment
@ggwpez
Copy link
Member Author

ggwpez commented Mar 17, 2023

bot bench $ xcm statemine asset pallet_xcm_benchmarks::fungible

@ggwpez
Copy link
Member Author

ggwpez commented Mar 19, 2023

bot bench $ xcm statemine assets pallet_xcm_benchmarks::fungible

@ggwpez
Copy link
Member Author

ggwpez commented Mar 19, 2023

bot bench $ xcm statemint assets pallet_xcm_benchmarks::fungible
bot bench $ xcm statemint assets pallet_xcm_benchmarks::generic
bot bench $ xcm statemine assets pallet_xcm_benchmarks::generic

command-bot and others added 4 commits March 19, 2023 17:26
…allet_xcm_benchmarks::fungible"

This reverts commit c4ac1a8.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez
Copy link
Member Author

ggwpez commented Mar 20, 2023

bot bench $ xcm westmint assets pallet_xcm_benchmarks::generic
bot bench $ xcm westmint assets pallet_xcm_benchmarks::fungible
bot clean

@ggwpez
Copy link
Member Author

ggwpez commented Mar 20, 2023

bot help

@ggwpez
Copy link
Member Author

ggwpez commented Mar 20, 2023

bot bench $ xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

Copy link
Contributor

@bkontur bkontur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ggwpez
cool, looks good, is it done or ianything else missing? I see just weight for all bridge-hub runtimes are not completed

@bkontur
Copy link
Contributor

bkontur commented Mar 23, 2023

bot bench $ xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungibles
bot bench $ xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic
bot bench $ xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungibles
bot bench $ xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::fungibles

@EgorPopelyaev
Copy link
Contributor

@ggwpez Hey Oliver, is there any timeline for this PR? Looks like this one is needed for the upcoming .40 cumulus release

@bkontur
Copy link
Contributor

bkontur commented Mar 23, 2023

bot bench $ xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungible
bot bench $ xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungible
bot bench $ xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::fungible

@ggwpez
Copy link
Member Author

ggwpez commented Mar 23, 2023

bot cancel
bot bench $ xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungible
bot bench $ xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungible
bot bench $ xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::fungible

@ggwpez
Copy link
Member Author

ggwpez commented Mar 23, 2023

@ggwpez Hey Oliver, is there any timeline for this PR? Looks like this one is needed for the upcoming .40 cumulus release

Yea sorry. Having my fun with the bot 😅 Should complete in ~3 hrs.

@bkontur
Copy link
Contributor

bkontur commented Mar 23, 2023

bot bench $ xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic

2 similar comments
@mordamax
Copy link
Contributor

bot bench $ xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic

@mordamax
Copy link
Contributor

bot bench $ xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic

Done directly on bm2 to bypass the bot.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez
Copy link
Member Author

ggwpez commented Mar 23, 2023

bot cancel
bot clean

Updated manually on bm2.

@ggwpez ggwpez marked this pull request as ready for review March 23, 2023 12:13
@paritytech paritytech deleted a comment from command-bot bot Mar 23, 2023
@paritytech paritytech deleted a comment from command-bot bot Mar 23, 2023
@ggwpez
Copy link
Member Author

ggwpez commented Mar 23, 2023

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit 9f2b54e into master Mar 23, 2023
@paritytech-processbot paritytech-processbot bot deleted the oty-xcm-weight-template branch March 23, 2023 12:45
EgorPopelyaev pushed a commit that referenced this pull request Mar 23, 2023
* Update XCM weight template

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Remove copyright year from file header

Legally not needed, we already remove them from Substrate.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"

This reverts commit c4ac1a8.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic

* Update weights

Done directly on bm2 to bypass the bot.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: command-bot <>
paritytech-processbot bot pushed a commit that referenced this pull request Mar 23, 2023
* Update XCM weight template



* Remove copyright year from file header

Legally not needed, we already remove them from Substrate.



* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"

This reverts commit c4ac1a8.



* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic

* Update weights

Done directly on bm2 to bypass the bot.



---------


Co-authored-by: command-bot <>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
ordian added a commit that referenced this pull request Mar 23, 2023
* master:
  Add Support for Foreign Assets (#2133)
  XCM V2 weight template (#2344)
  Companion for polkadot#6928 (#2356)
  move back to ci-linux@production image
EgorPopelyaev added a commit that referenced this pull request Mar 24, 2023
* Update XCM weight template



* Remove copyright year from file header

Legally not needed, we already remove them from Substrate.



* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"

This reverts commit c4ac1a8.



* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic

* Update weights

Done directly on bm2 to bypass the bot.



---------


Co-authored-by: command-bot <>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
EgorPopelyaev added a commit that referenced this pull request Mar 24, 2023
* Update XCM weight template



* Remove copyright year from file header

Legally not needed, we already remove them from Substrate.



* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"

This reverts commit c4ac1a8.



* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic

* Update weights

Done directly on bm2 to bypass the bot.



---------


Co-authored-by: command-bot <>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
EgorPopelyaev added a commit that referenced this pull request Mar 24, 2023
* XCM V2 weight template (#2344) (#2372)

* Update XCM weight template



* Remove copyright year from file header

Legally not needed, we already remove them from Substrate.



* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"

This reverts commit c4ac1a8.



* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic

* Update weights

Done directly on bm2 to bypass the bot.



---------


Co-authored-by: command-bot <>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* [benchmarks] pr with weights (#2373)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2374)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2375)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
EgorPopelyaev added a commit that referenced this pull request Mar 24, 2023
* XCM V2 weight template (#2344) (#2372)

* Update XCM weight template



* Remove copyright year from file header

Legally not needed, we already remove them from Substrate.



* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"

This reverts commit c4ac1a8.



* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic

* Update weights

Done directly on bm2 to bypass the bot.



---------


Co-authored-by: command-bot <>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* [benchmarks] pr with weights (#2373)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2374)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2375)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants