-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
frame/system/src/lib.rs
Outdated
|
||
|
||
/// An unchecked extrinsic type to be used in test. | ||
pub type MockUncheckedExtrinsic<T, Signature = (), Extra = ()> = generic::UncheckedExtrinsic< |
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.
better to make these std only?
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.
^^^ + put in some extra file testing.rs
? Or something like that?
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.
Yes I moved into mocking.rs
and made it std only
frame/system/src/lib.rs
Outdated
|
||
|
||
/// An unchecked extrinsic type to be used in test. | ||
pub type MockUncheckedExtrinsic<T, Signature = (), Extra = ()> = generic::UncheckedExtrinsic< |
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.
^^^ + put in some extra file testing.rs
? Or something like that?
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: David <dvdplm@gmail.com>
Co-authored-by: David <dvdplm@gmail.com>
Co-authored-by: David <dvdplm@gmail.com>
…o-construct_runtime
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
bot merge |
Waiting for commit status. |
Merge failed: |
Related to #7949
This PR introduce a few types, and make pallet-assets use construct_runtime.