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.
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
feat(mainnet): include xcm benchmarks #479
base: al3mart/feat-mainnet-all-benchmarks
Are you sure you want to change the base?
feat(mainnet): include xcm benchmarks #479
Changes from all commits
7cbcf93
d01b5fd
bdbcf25
8cc0ab1
2b0ec99
8974a5a
e92d2a0
08ac3ee
09b6582
9719dfd
5ed1a0d
ec8e319
ce9ede1
29adfb5
18a2cee
4b04f4a
081ca54
31f9e63
1f3c852
8906204
4863071
7269599
0b83a86
8640b6b
66e3802
ac7e849
f6f8af0
9755095
b4824d2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Check warning on line 288 in runtime/mainnet/src/apis.rs
non-local `impl` definition, `impl` blocks should be written at the same level as their item
Check warning on line 300 in runtime/mainnet/src/apis.rs
non-local `impl` definition, `impl` blocks should be written at the same level as their item
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funding AH sovereign account on pop because the benchmark tries to withdraw from destination as a way to verify the benchmark.
I believe that makes sense for reserve transfers happening within the reserve itself. Not quite that for our case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why all the above is necessary for us and not asset hub: https://github.com/polkadot-fellows/runtimes/blob/80ee7dce11ed68a68abf89512bd9886ffcabe192/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs#L1155
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check warning on line 129 in runtime/mainnet/src/benchmarks.rs
useless conversion to the same type: `cumulus_primitives_core::ParaId`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please add a comment on one of the XCM config unit tests?
Basically that way we have this flow:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
25a3bf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
worst_case_holding
is also one that must be included in this cycle? Perhaps we should create a doc that we can circle back to? Just an idea not saying it as a requirementThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know why asset hub only uses
ToParentDeliveryHelper
(ref)?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had the same question. The answer I got is that our config looked good but no explanation to why AH benches are configured the way they are.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we ask this specific thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing is done with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want it to emit an error and stop or skip? Just checking because I honestly don't know
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the key difference is that Skip won't stop the benchmark of other extrinsics even though this one errs.
Which seems handy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asset hub uses it so seems to be fine.