feat(pallets,core): separately charge for wasm module sections instantiation
Resolves #3931.
Separately charge for wasm module sections instantiation.
- Added
number of tableslimit - Charging separately for the following sections:
- Code
- Data
- Global
- Table
- Element
- Type
@reviewer-or-team
WIP migration
Looks like CI is unable to auto-run when target branch is not master. Seems strange. Waiting for #3929 to be merged.
Added charging for table section and element section separately (added separate table/element weights).
Added number of tables limit.
Just for notice, other changes except comments and general idea howto look good 👍🏻
Updated migration and instruction weights version, fixed review comments, updated doc-comments.