-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add ExtrsinicV5 type #816
Add ExtrsinicV5 type #816
Conversation
0f850f4
to
ac9ecd7
Compare
ac9ecd7
to
395eb38
Compare
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.
Looks good. Only a small suggestion/comment
pub struct SignedPayload<Call, SignedExtra, AdditionalSigned>( | ||
(Call, SignedExtra, AdditionalSigned), | ||
); | ||
pub struct SignedPayload<Call, SignedExtra, Implicit>((Call, SignedExtra, Implicit)); |
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 think it would be nice to also rename all the SignedExtra
-Types in generics. It is also still used in some other places (author.rs, block_builder.rs, transaction_payment.rs)
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.
Good catch, you're absolutely right
5626ac1
to
88f4c56
Compare
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.
Nice 😸
cargo update
Deprecate ExtrinsicV4
Use Extrinsic Type from Substrate directly (V5): Only requirement:
GenericTxExtension
needs to implement theTransactionExtension
from Substrate.merge and rebase Upgrade to ubuntu-latest #823
closes #810