Skip to content

Commit

Permalink
Compat: use the on-wire ASM magic number layout
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Aug 14, 2016
1 parent 757003d commit a39a3a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backwardsCompatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ cost. The fee schedule for eWASM is yet to be specified.
## Identification of code
We assume there is some sort of code handler function that all clients have
implemented. The code handler identifies the instruction set type by whether it
starts with WASM's magic number (0x6d736100) or not.
starts with WASM's magic number or not.

The WASM magic number is the following byte sequence: `0x00, 0x61, 0x73, 0x6d`.

## Solidity
Support of compiling to eWASM can be accompilshed by adding a new backend to
Expand Down

0 comments on commit a39a3a7

Please sign in to comment.