Skip to content

Commit

Permalink
feat(cognitarium): specify max_byte_size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel authored and amimart committed Apr 20, 2023
1 parent b4ed270 commit 62c2f81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/okp4-cognitarium/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ pub struct StoreLimits {
/// The maximum number of triples the store can contains.
/// If `None`, there is no limit on the number of triples.
pub max_triple_count: Option<Uint128>,
/// The maximum number of bytes the store can contains.
/// The size of a triple is counted as the sum of the size of its subject, predicate and object,
/// including the size of data types and language tags if any.
/// If `None`, there is no limit on the number of bytes.
pub max_byte_size: Option<Uint128>,
}

/// # GraphInput
Expand Down

0 comments on commit 62c2f81

Please sign in to comment.