-
Notifications
You must be signed in to change notification settings - Fork 124
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
Enforce UncheckedExtrinsicV4
for submit_extrinsic
and add _opaque_extrinsic
#421
Merged
Conversation
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
haerdib
added
F7-enhancement
Enhances an already existing functionality
E2-breaksapi
labels
Jan 5, 2023
haerdib
changed the title
Add submit opaque extrinsic
Add submit opaque extrinsic as Bytes and remove hex utils
Jan 5, 2023
haerdib
changed the title
Add submit opaque extrinsic as Bytes and remove hex utils
Add submit opaque extrinsic as Jan 5, 2023
Bytes
and remove hex utils
haerdib
changed the title
Add submit opaque extrinsic as
Add Jan 5, 2023
Bytes
and remove hex utilssubmit_opaque_extrinsic
as Bytes
and remove hex utils
haerdib
force-pushed
the
bh/90-add-send-xt
branch
from
January 6, 2023 07:51
e39d4c6
to
88f055c
Compare
1 task
haerdib
force-pushed
the
bh/90-add-send-xt
branch
from
January 6, 2023 07:54
88f055c
to
2e126bb
Compare
haerdib
changed the title
Add
Add Jan 6, 2023
submit_opaque_extrinsic
as Bytes
and remove hex utilssubmit_opaque_extrinsic
and related
haerdib
changed the title
Add
Add Jan 6, 2023
submit_opaque_extrinsic
and relatedsubmit_opaque_extrinsic
and enfore UncheckedExtrinsic on `submit_extrinsic
haerdib
changed the title
Add
Add Jan 6, 2023
submit_opaque_extrinsic
and enfore UncheckedExtrinsic on `submit_extrinsicsubmit_opaque_extrinsic
and enfore UncheckedExtrinsic on submit_extrinsic
haerdib
changed the title
Add
Enfore Jan 6, 2023
submit_opaque_extrinsic
and enfore UncheckedExtrinsic on submit_extrinsic
UncheckedExtrinsicV4
on submit_.._extrinsic
, add .._opaque_extrinsic
haerdib
changed the title
Enfore
Enforce Jan 6, 2023
UncheckedExtrinsicV4
on submit_.._extrinsic
, add .._opaque_extrinsic
UncheckedExtrinsicV4
on submit_.._extrinsic
, add .._opaque_extrinsic
haerdib
changed the title
Enforce
Enforce Jan 6, 2023
UncheckedExtrinsicV4
on submit_.._extrinsic
, add .._opaque_extrinsic
UncheckedExtrinsicV4
on submit_extrinsic
and add _opaque_extrinsic
haerdib
changed the title
Enforce
Enforce Jan 6, 2023
UncheckedExtrinsicV4
on submit_extrinsic
and add _opaque_extrinsic
UncheckedExtrinsicV4
for submit_extrinsic
and add _opaque_extrinsic
clangenb
approved these changes
Jan 7, 2023
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.
Great, I approve!
Niederb
approved these changes
Jan 9, 2023
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.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Renames current extrinsic submission to
opaque
and add new, more restrictivesubmit_extrinisc
and similiar functions instead. This way, the encoding does not have to be implemented on client side and is less error prone as UncheckedExtrinsicV4 type is enforced.fn send_xt<C: Encode>(xt: UncheckedExtrinsic<C>, xt_status: XtStatus)
#90 (comment)closes #90