Skip to content
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

apply_self_contained function signature update #6

Merged
merged 4 commits into from
Dec 18, 2023

Conversation

zees-dev
Copy link

@zees-dev zees-dev commented Dec 4, 2023

Context

Currently the self contained call function signature is restrictive; there could be other transaction types which require dispatch info and call data length (to determine fees that should be charged).

This PR aims to make the apply_self_contained trait function more accomodating such that implementors of the function can now use additional context (dispatch info and call data length) to derive the fee.

TODOs

  • Fix tests
  • Ensure dependent PR(s) are functional

@zees-dev zees-dev marked this pull request as ready for review December 17, 2023 22:38
@zees-dev zees-dev merged commit c3c874f into polkadot-v0.9.30-TRN Dec 18, 2023
6 of 8 checks passed
@zees-dev zees-dev deleted the polkadot-v0.9.30-trn-sp branch December 18, 2023 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants