You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following table summarizes "syntactic sugar" operations. These operations are not supported by the backend. The frontend compiler is responsible for translating these operations into the operations above.
The frontend also exposes the following syntactic sugar predicates. These predicates are not supported by the backend. The frontend compiler is responsible for translating these predicates into the predicates above.
In the future, we may also reserve statement IDs for "precompiles" such as:
102
57
```
103
-
EcdsaPrivToPubOf(A.pubkey, B.privkey)
58
+
EcdsaPrivToPubOf(A.pubkey, B.privkey),
104
59
```
60
+
as well as for low-level operations on Merkle trees and compound types.
61
+
<fontcolor="red">NOTE</font> Merkle trees and compound types explained in a separate markdown file `./merklestatements.md` which is no longer part of these docs, but saved in the github repo in case we need to restore it in the future.
105
62
106
63
### Built-in statements for entries of any type
107
64
@@ -143,10 +100,6 @@ poseidon_hash_of(A.hash, B.preimage) // perhaps a hash_of predicate can be param
143
100
ecdsa_priv_to_pub_of(A.pubkey, B.privkey)
144
101
```
145
102
146
-
##### Primitive Built-in Statements for Merkle Roots
147
-
148
-
[See separate page](./merklestatements.md).
149
-
150
103
151
104
152
105
[^builtin]: <fontcolor="red">TODO</font> List of built-in statements is not yet complete.
0 commit comments