Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Closed
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
improve test panic message
  • Loading branch information
gui1117 committed Jul 20, 2021
commit b56949af15313cacba5cef372e7797b9ad2dfbbd
6 changes: 5 additions & 1 deletion bin/node/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1622,6 +1622,10 @@ mod tests {

#[test]
fn call_size() {
assert!(core::mem::size_of::<Call>() <= 90);
assert!(
core::mem::size_of::<Call>() <= 90,
"size of Call is more than 90: some calls have too big arguments, use Box to reduce the
size of Call",
);
}
}