aztec-nr - protocol_types::constants
Module constants
Globals
- GAS COSTS FOR AVM OPCODES They are used in TS and C++
- Convention for constant array lengths are mainly divided in 2 classes:
- FUNCTION CALL
- TRANSACTION
- A private log's ciphertext is all fields except the first one, which is called 'tag'. We call this 'ciphertext' because, unlike public logs, it is expected that private logs are encrypted (though this is not mandatory).
- A public log's plaintext is all fields except the first one, which is called 'tag'. We call this 'plaintext' because, unlike public logs, it is expected that public logs are not encrypted (since the encryption would be public, revealing the plaintext).