Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update frame/support/src/inherent.rs
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
4meta5 and bkchr authored Jan 29, 2021
commit 24e9ac23567c2ea8b637256c3227b75b9332aee9
5 changes: 4 additions & 1 deletion frame/support/src/inherent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@ mod tests {
fn check_inherents_works() {
let block = Block::new(
Header::new_from_number(1),
vec![Extrinsic { function: Call::Test2(CallTest2::Something) }],
vec![
Extrinsic { function: Call::Test2(CallTest2::Something) },
Extrinsic { function: Call::Test(CallTest::Something) },
],
);

assert!(InherentData::new().check_extrinsics(&block).ok());
Expand Down