Skip to content

Commit

Permalink
Merge pull request #128 from Cerebellum-Network/feature/increase-call…
Browse files Browse the repository at this point in the history
…-size

Increase call_size for tests
  • Loading branch information
yahortsaryk authored Nov 10, 2023
2 parents 43ada87 + 918474e commit ef79f8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1898,8 +1898,8 @@ mod tests {
fn call_size() {
let size = core::mem::size_of::<RuntimeCall>();
assert!(
size <= 208,
"size of RuntimeCall {} is more than 208 bytes: some calls have too big arguments, use Box to reduce the
size <= 256,
"size of RuntimeCall {} is more than 256 bytes: some calls have too big arguments, use Box to reduce the
size of RuntimeCall.
If the limit is too strong, maybe consider increase the limit to 300.",
size,
Expand Down
4 changes: 2 additions & 2 deletions runtime/cere/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1844,8 +1844,8 @@ mod tests {
fn call_size() {
let size = core::mem::size_of::<RuntimeCall>();
assert!(
size <= 208,
"size of RuntimeCall {} is more than 208 bytes: some calls have too big arguments, use Box to reduce the
size <= 256,
"size of RuntimeCall {} is more than 256 bytes: some calls have too big arguments, use Box to reduce the
size of RuntimeCall.
If the limit is too strong, maybe consider increase the limit to 300.",
size,
Expand Down

0 comments on commit ef79f8a

Please sign in to comment.