This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Tipped Transaction Type. #2930
Closed
Closed
Tipped Transaction Type. #2930
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ab34400
Initial draft of tip enum
d36dc9a
Fix local tests
a18be8c
Builds.
kianenigma 55d39cf
Fix test build.
kianenigma a4e2816
Tratify tip.
kianenigma 58ae208
Cleanup of checkedExt.
kianenigma c7fe8bf
More cleanup.
kianenigma e47bf96
Master.into()
kianenigma 78dde21
Checked Tip + other fixes.
kianenigma 7326e5a
Line width
kianenigma a568a9b
Update core/sr-primitives/src/generic/tip.rs
4meta5 b3f69cb
Fix build.
kianenigma 557f6c5
Merge branch 'master' of github.com:paritytech/substrate into kiz-tx-tip
kianenigma 8e713aa
Bump.
kianenigma b110af6
Merge branch 'kiz-tx-tip' of github.com:paritytech/substrate into kiz…
kianenigma 23df80d
Some cleanup (+should pass the tests).
kianenigma 83721a4
Fix sync test payload.
kianenigma bd28f0d
Fix subkey and factory sig
kianenigma 120de20
revert back old unchecked ext type to NOT use tip.
kianenigma 0d1de9d
Make balance associated type of payment.
kianenigma 6836f6b
Optionize tip.
kianenigma 7191a7d
Further cleanup.
kianenigma 0846065
Further cleanup.
kianenigma 12ecfcc
Master.into()
kianenigma bf99e73
Fix tests.
kianenigma 4824776
remove balance as generic.
kianenigma fb42e4e
Update doc.
kianenigma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Checked Tip + other fixes.
- Loading branch information
commit 78dde219fe5773b585f4832501df58702501de96
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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.
it could theoretically be an option, but as long as it's compact encoded, then there's no point since zero compact encoded is a big as
Noneencoded.Uh oh!
There was an error while loading. Please reload this page.
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.
Just make sure
Tip<Balance>implementsDefault. For non-tipping chains,Tip<Balance>can be().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.
if it is part of the signature then it is only visible in signed txs which is the point of the current option. Hence,
pub signed: Option<(AccountId, Index, Tip<Balance>)>,looks ok