-
Notifications
You must be signed in to change notification settings - Fork 378
Extrinsic v2 #1150
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
Merged
Merged
Extrinsic v2 #1150
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
8736fc9
Extrinsic v2
jacogr 118402b
Save after last move of files
jacogr 924cb1a
Signature V2
jacogr 3422329
Rework signature decoding
jacogr c3f6a60
Simplify V1 and V2 underlying impl.
jacogr 8798656
Detect chain extrinsic version
jacogr 7b8baae
SignaturePayload
jacogr e6ee306
remove Raw payload variant link (Payload is now raw)
jacogr c2cf69c
Remove v2 comments referring to v1 data
jacogr 9b50084
Merge branch 'master' into kg-extrinsic-v2
jacogr 8e95203
Pass isSigned to Extrinsic{V1, V2}
jacogr 419663b
Cleanup era injection
jacogr 8e8c5f9
It flows :)
jacogr 64193d0
Add SignerPayload and signPayload for Signer (#1152)
jacogr ed8227a
Update packages/api/src/types.ts
jacogr 7d8ad6d
Update packages/types/src/primitive/BalanceCompact.ts
jacogr 73e0e40
Backwards compatibility for current in-store signers
jacogr 236b7c7
Merge branch 'kg-extrinsic-v2' of github.com:polkadot-js/api into kg-…
jacogr 680a38b
Apply options suggestions
jacogr 4fb312c
Marge master
jacogr c4f0789
Add missing Compact params (linting)
jacogr 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
It flows :)
- Loading branch information
commit 8e8c5f97be2425f4dd84fa84d835660e78d49c3f
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
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.
We now determine the extrinsic version from the chain - basically, based on the last block, we pull out the version from contained extrinsics and then use this in any future construction of this type.