We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2dd66f + d6243f2 commit 00768beCopy full SHA for 00768be
contract_interface.md
@@ -51,3 +51,9 @@ In the [WebAssembly Javascript API](https://webassembly.org/docs/js/) however th
51
leaves no time for the client to acquire the memory area.
52
53
*Note:* This decision was made on WebAssembly version 0xb (pre version 1) and should be revisited.
54
+
55
+### Traps
56
57
+If execution of wasm code triggers the wasm _trap_, the contract execution is
58
+terminated with failure and all remaining gas is consumed (OOG-like exception).
59
+This includes execution of `unreachable` instruction.
0 commit comments