casper-network / casper-network/casper-node

Support Wasm start section

Open
#2,485 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
399
Forks
224
Avg merge
15h 44m
Merged PRs (30d)
2

Description

We should consider to support Wasm start sections. Standard says it’s optional and should be automatically executed when a module is instantiated (https://webassembly.github.io/spec/core/syntax/modules.html#syntax-start). Currently we disabled start sections and we don’t execute a Wasm that contains it. AssemblyScript generates start sections if global variables needs to be instantiated. If we’re to support it we need to add necessary tests to ensure we properly charge for executing it apart from call

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.