-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
"Parachain heads update extrinsic must be at position {} in the block", | ||
T::SET_POSITION | ||
"Parachain heads update extrinsic must be at position {} in the block" | ||
// , T::SET_POSITION |
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.
Left in for completeness, but given we're returning &'static str
(for efficiency) and have no formatting tools (since it would severely bloat the runtime), I doubt there's much that can be done right now. A later PR could perhaps switch &'static str
to String
in the case of compiling to native and then it can be formatted properly.
$( $x )* | ||
} | ||
assert_eq!(h, runtime_io::storage_root()); | ||
macro_rules! assert_ok { |
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.
Could be just ?;
, I know, but the code looks more uniform with this macro.
There are some warnings related to this changeset: https://travis-ci.org/paritytech/polkadot/builds/386366949#L691-L720 |
* I think I found the issue. * clean up * unused variable * Update pallets/author-inherent/src/lib.rs Co-authored-by: Amar Singh <asinghchrony@protonmail.com> Co-authored-by: Amar Singh <asinghchrony@protonmail.com>
remove transfer to self error
Goes in after #130
Closes #188
Makes usage cleaner, testing better and paves the way to easily getting rid of almost all panics in the runtime.