Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::wasm_validations::tables_validation_visitor Struct Reference

#include <wasm_sysio_validation.hpp>

Static Public Member Functions

static void validate (const IR::Module &m)
 

Detailed Description

Definition at line 30 of file wasm_sysio_validation.hpp.

Member Function Documentation

◆ validate()

void sysio::chain::wasm_validations::tables_validation_visitor::validate ( const IR::Module & m)
static

Definition at line 34 of file wasm_sysio_validation.cpp.

34 {
35 if ( m.tables.defs.size() && m.tables.defs[0].type.size.min > wasm_constraints::maximum_table_elements )
36 FC_THROW_EXCEPTION(wasm_execution_error, "Smart contract table limited to ${t} elements",
38}
#define FC_THROW_EXCEPTION(EXCEPTION, FORMAT,...)
IndexSpace< TableDef, TableType > tables
Definition Module.h:134

The documentation for this struct was generated from the following files: