-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use scale-type-resolver
to be generic over the type resolver used
#45
Merged
Merged
Changes from 7 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
01fe2b3
WIP be generic over how types are resolved
jsdw cbbfa01
WIP integrating type-resolver
jsdw 170da4b
cargo check compiles scale-decode now (without tests)
jsdw 2b559d5
cargo check pssing for --all-targets now
jsdw c95aa49
fix doc test and fmt
jsdw dbd4ecc
various misc tidy up
jsdw 8741aeb
clippy and fmt
jsdw 76f99c5
Remove commented-out paths in Composite and use released scale-type-r…
jsdw 29dfb62
'info to 'resolver to be more consistent now more generic
jsdw b7c1a15
use released scale-bits
jsdw 45a32a0
fix no-std failures
jsdw f847896
fix docs
jsdw 9326047
Merge branch 'main' into jsdw-scale-type-resolver
jsdw f7aa6d2
remove commented out line
jsdw 459047a
address PR comments; tweak a couple of comments
jsdw f890164
remove comments-out no-longer-needede visitor impl
jsdw 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
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# main codeowner @paritytech/tools-team | ||
* @paritytech/tools-team | ||
# main codeowner @paritytech/subxt-team | ||
* @paritytech/subxt-team | ||
|
||
# CI | ||
/.github/ @paritytech/ci @paritytech/tools-team | ||
/.github/ @paritytech/ci @paritytech/subxt-team |
This file contains 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 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.
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.
Using a type ID of 0 was a bit of a hack before, so here and in one other place we change it to being
Default::default()
instead. This requires ourTypeId
to have aDefault
bound on it, which ideally it would do without.In the future I expect that we can tweak these cases and remove the bound entirely, but for now I don't suspect it will be a big deal.