Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
wasm_config.cpp
Go to the documentation of this file.
3
4using namespace sysio::chain;
5
7 SYS_ASSERT(max_section_elements >= 4, action_validate_exception, "max_section_elements cannot be less than 4");
8 SYS_ASSERT(max_func_local_bytes >= 8, action_validate_exception, "max_func_local_bytes cannot be less than 8");
9 SYS_ASSERT(max_nested_structures >= 1, action_validate_exception, "max_nested_structures cannot be less than 1");
10 SYS_ASSERT(max_symbol_bytes >= 32, action_validate_exception, "max_symbol_bytes cannot be less than 32");
11 SYS_ASSERT(max_module_bytes >= 256, action_validate_exception, "max_module_bytes cannot be less than 256");
12 SYS_ASSERT(max_code_bytes >= 32, action_validate_exception, "max_code_bytes cannot be less than 32");
13 SYS_ASSERT(max_pages >= 1, action_validate_exception, "max_pages cannot be less than 1");
14 SYS_ASSERT(max_call_depth >= 2, action_validate_exception, "max_call_depth cannot be less than 2");
15}
#define SYS_ASSERT(expr, exc_type, FORMAT,...)
Definition exceptions.hpp:7
key Invalid authority Invalid transaction Invalid block ID Invalid packed transaction Invalid chain ID Invalid symbol Signature type is not a currently activated type Block can not be found Unlinkable block Block does not guarantee concurrent execution without conflicts Block exhausted allowed resources Block is from the future Block is not signed by expected producer Block includes an ill formed protocol feature activation extension Block includes an ill formed additional block signature extension Error decompressing transaction Transaction should have at least one required authority Expired Transaction Invalid Reference Block Duplicate deferred transaction The transaction can not be found Transaction is too big Invalid transaction extension Transaction includes disallowed Transaction exceeded transient resource limit action_validate_exception
std::uint32_t max_symbol_bytes
std::uint32_t max_func_local_bytes
std::uint32_t max_section_elements
std::uint32_t max_nested_structures
std::uint32_t max_module_bytes