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
Issue 212 - refactor Checkable trait to be more generic #287
Merged
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7937af9
runtime: refactor Checkable and BlindCheckable traits
snd cf080b0
fix impl BlindCheckable for Extrinsic
snd 0b2ff34
fix impl Checkable for TestXt
snd d277169
fix impl Checkable for UncheckedExtrinsic
snd 60a9e0c
fix tabs
snd 02eb103
add ::Address to system::Trait since its no longer in Checkable trait
snd b42b484
replace tab by space in comment
snd 05fe805
replace occurences of Checkable::check with ::check_with
snd 6a90ab5
tx-pool: replace CheckedIntrinsic type alias since it now would requi…
snd de69b7a
make more uses of Checkable compile
snd 574b2a8
adapt Executive impl to new Checkable trait
snd 8da0a5a
fix that CheckedExtrinsic takes AccountId not Address as first type p…
snd 7cccc1d
Checkable trait: return error again since it's required in some cases
snd b147c0a
Checkable: improve docstrings
snd 7642b81
consistent punctuation and capitalization in docstrings
snd 70ab210
Ctx -> Context
snd f4fcebb
reduce trait bounds for impl Checkable for TestXt
snd 21676fe
use <UncheckedExtrinsic as Checkable>::Checked
snd 2e3e4a8
Revert "add ::Address to system::Trait since its no longer in Checkab…
snd 6e550d8
runtime/executive: properly fix that Address no longer in Checkable
snd eef85e1
return `Result<Self::Checked, &'static str>` from `Checkable::check`
snd 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
fix impl Checkable for TestXt
- Loading branch information
commit 0b2ff34f7bcad5fcd3d11c7f33773fa44a6146f5
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
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.
are these bounds actually necessary?
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'll try to reduce them
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.
simplified paritytech/polkadot@f4fcebb