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

contracts: Adapt dry-run runtime APIs to WeightV2 #12429

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

athei
Copy link
Member

@athei athei commented Oct 5, 2022

Follow up for #12421

We also to accept Weight in our runtime apis so that the proof_size can be passed when dry-running. Additionally, we make the argument optional so that the runtime can choose a sensible default.

While doing so we move the runtime api into the main crate. Since there are no RPCs using it anymore we don't need it to be in its own crate.

cumulus companion: paritytech/cumulus#1736

@athei athei added A0-please_review Pull request needs code review. B7-runtimenoteworthy C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Oct 5, 2022
@athei athei requested a review from ascjones October 5, 2022 18:05
@athei
Copy link
Member Author

athei commented Oct 6, 2022

bot merge

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. C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants