Skip to content

Commit

Permalink
Apply @mertwole review results
Browse files Browse the repository at this point in the history
  • Loading branch information
techraed committed Oct 9, 2023
1 parent 327b7bb commit d10229b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/runtime-fuzzer/src/gear_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ static_assertions::const_assert!(MAX_SALT_SIZE <= gear_core::message::MAX_PAYLOA

const ID_SIZE: usize = mem::size_of::<ProgramId>();
const GAS_AND_VALUE_SIZE: usize = mem::size_of::<(u64, u128)>();
// Used to make sure that generators will not exceed `Unstructured` size as it's used not only
// to generate things like wasm code or message payload but also to generate some auxiliary
// data, for example index in some vec.
const AUXILIARY_SIZE: usize = 512;

/// This trait provides ability for [`ExtrinsicGenerator`]s to fetch messages
Expand Down

0 comments on commit d10229b

Please sign in to comment.