-
Notifications
You must be signed in to change notification settings - Fork 335
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
Migrate to frontier Extrinsics #871
Merged
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
Conflicts: runtime/moonbase/src/lib.rs
librelois
added
B7-runtimenoteworthy
Changes should be noted in any runtime-upgrade release notes
A3-inprogress
Pull request is in progress. No review needed at this stage.
labels
Sep 30, 2021
librelois
added
the
D5-nicetohaveaudit⚠️
PR contains trivial changes to logic that should be properly reviewed.
label
Oct 4, 2021
librelois
added
A0-pleasereview
Pull request needs code review.
and removed
A3-inprogress
Pull request is in progress. No review needed at this stage.
labels
Oct 4, 2021
tgmichel
reviewed
Oct 5, 2021
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, awesome work. Just left a couple of comments.
tgmichel
approved these changes
Oct 5, 2021
I would add |
librelois
added
D9-needsaudit👮
PR contains changes to fund-managing logic that should be properly reviewed and externally audited
and removed
D5-nicetohaveaudit⚠️
PR contains trivial changes to logic that should be properly reviewed.
labels
Oct 12, 2021
Blocked by polkadot-evm/frontier#495 |
Conflicts: Cargo.lock
notlesh
added
D1-audited👍
PR contains changes to fund-managing logic that has been properly reviewed and externally audited
and removed
D9-needsaudit👮
PR contains changes to fund-managing logic that should be properly reviewed and externally audited
labels
Feb 9, 2022
notlesh
added a commit
that referenced
this pull request
Oct 6, 2022
crystalin
pushed a commit
that referenced
this pull request
Oct 11, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A0-pleasereview
Pull request needs code review.
B7-runtimenoteworthy
Changes should be noted in any runtime-upgrade release notes
D1-audited👍
PR contains changes to fund-managing logic that has been properly reviewed and externally audited
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.
What does it do?
Replace substrate
CheckedExtrinsic
andUncheckedExtrinsic
byfp_self_contained::CheckedExtrinsic
andfp_self_contained::UncheckedExtrinsic
Based on the
purestake/moonbeam-polkadot-v0.9.10-frontier-extrinsics
frontier branch that incorporates this PR: polkadot-evm/frontier#482What important points reviewers should know?
Evm transactions are no longer wrapped in an unsigned extrinsic but in a new dedicated extrinsic type named "Selfcontained".
Frontier defines a
SelfContainedCall
trait that theCall
type of each runtime must implement.In our case, the implementation is common and located in
runtime/common/src/impl_self_contained_call.rs
.Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?
What value does it bring to the blockchain users?