-
Couldn't load subscription status.
- Fork 2.7k
Extensible transactions (and tips) #3102
Conversation
Also Remove old extrinsic types.
|
CC @kianenigma |
* Weight signed extension. * Revert a bit + test for check era. * Update Cargo.toml * Update node/cli/src/factory_impl.rs * Update node/executor/src/lib.rs * Update node/executor/src/lib.rs
* working poc added. * some fixes. * Update doc. * Fix all tests + final logic. * more refactoring. * nits. * System block limit in bytes. * Silent the storage macro warnings. * More logic more tests. * Fix import. * Refactor names. * Fix build. * Update srml/balances/src/lib.rs * Final refactor.
…bstrate into gav-extensble-transactions
|
I put some leftover tasks/todos/thoughts there myself. Except for the last one about removing |
|
@kianenigma don't forget the issue for the TODO. then once it's reviewed by a third person is can be merged. |
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.
Cannot review the code, however did e2e testing with the polkadot-js API against the v2 format and this branch (and also pulled it into the apps UI), and it def. works as expected. Immortals, mortals, payloads, all ok and verifies as expected. (And all aligned with the specification as detailed in the first comment)
|
Merging by the end of today if no one else reacts. |
This removes a lot of logic from the executive into the modules, which is good because it should never have been there in the first place. I also added tips to the payment mechanism, which is trivial now.
I removed the historical variants of
UncheckedExtrinsicandMakePayment.This changes the transaction format; for now it is:
The signature payload is:
TODO
Maybe a different PR, maybe not.
subkeyandfactoryto make sure they are always creating txs with correct, decodable and verifiable signatures.Maybe do, maybe don't:
SignedExtension).