Our Wasm validator does not adhere to recent changes in Wasm specification. #331
Labels
[Type] Bug
Something isn't working
[Type] Change Request
Some visible functionality should be change.
Specifically in WebAssembly/spec#1525 they restricted the appearance of globals in data and element sections (their initializers).
In the standard that we implemented https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#modules%E2%91%A3 this was allowed, and we adhere to the specification as stated there.
The discussion in WebAssembly/spec#1522 indicates that they consider this a typo in the specification.
We need to figure out what we should do. Consider this a bug or keep it.
If we were to fix it this requires a protocol update since it changes criteria for validity of smart contracts.
The text was updated successfully, but these errors were encountered: