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

[To be merged in another PR]: small improvment on top of transaction extension PR #5440

Conversation

gui1117
Copy link
Contributor

@gui1117 gui1117 commented Aug 22, 2024

  • rename metadata stuff from additional_signed to implicit (doesn't break metadata, only temporary representation in the code)
  • removed some unused associated type SignaturePayload
  • remove From<u64> from transaction payment transaction extension
  • remove TransactionExtensionBase, merged into TransactionExtension

@paritytech-cicd-pr

This comment was marked as outdated.

@gui1117 gui1117 changed the title WIP: Trigger CI: small improvment on top of transaction extension PR [To be merged in another PR]: small improvment on top of transaction extension PR Sep 18, 2024
@@ -48,7 +48,7 @@ doc:
contextual data that is injected into the transaction extension logic. It is unused in
instances migrated from `SignedExtension`.
- Extensions now track the weight they consume during valdiation, preparation and
post-dispatch through the `TransactionExtensionBase::weight` function.
Copy link
Contributor

Choose a reason for hiding this comment

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

PR 2280 was merged already, then reverted. Maybe we should leave this as is for posterity?

impl TransactionExtensionBase for Tuple {
for_tuples!( where #( Tuple: TransactionExtensionBase )* );
impl<Call: Dispatchable> TransactionExtension<Call> for Tuple {
for_tuples!( where #( Tuple: TransactionExtension<Call> )* );
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be removed according to this comment right?

@gui1117 gui1117 marked this pull request as ready for review September 18, 2024 10:04
@gui1117 gui1117 requested a review from a team as a code owner September 18, 2024 10:04
@paritytech-review-bot paritytech-review-bot bot requested a review from a team September 18, 2024 10:05
@georgepisaltu georgepisaltu merged commit 56012d4 into paritytech:george/restore-gav-tx-ext Sep 18, 2024
160 of 205 checks passed
@gui1117 gui1117 deleted the gui-stage1-cleanup-maybe branch September 18, 2024 16:48
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