|
|
@@ -18,8 +18,8 @@ The compiled binary blob has the following layout:
|
|
|
|
|
|
```
|
|
|
.constant
|
|
|
-CONSTANT_NAME CONSTANT_TYPE STACK_INDEX
|
|
|
-CONSTANT_NAME CONSTANT_TYPE STACK_INDEX
|
|
|
+CONSTANT_TYPE STACK_INDEX CONSTANT_NAME
|
|
|
+CONSTANT_TYPE STACK_INDEX CONSTANT_NAME
|
|
|
...
|
|
|
.contract
|
|
|
WITNESS_TYPE STACK_INDEX
|
|
|
@@ -35,9 +35,9 @@ TBD
|
|
|
|
|
|
## `.constant`
|
|
|
|
|
|
-The constants in the `.constant` section are declared with their name
|
|
|
-and type, so that the VM knows how to search for the builtin constant
|
|
|
-and add it to the stack.
|
|
|
+The constants in the `.constant` section are declared with their type
|
|
|
+stack index, and name, so that the VM knows how to search for the
|
|
|
+builtin constant and add it to the stack.
|
|
|
|
|
|
## `.contract`
|
|
|
|