Skip to content

[docs]: document private log limits #439

@critesjosh

Description

@critesjosh

Note in docs that private logs to have at most 8 fields.

  • For notes: 1 for storage slot, 1 for note type id, and 6 for custom fields.
  • For events: 1 for storage slot, 1 for event type id, 1 for address tag, and 5 for custom fields.
    This is to make it more difficult to figure out what a tx is about when all the logs are the same length. In the current codebase, the max number of custom fields is 4 for note, and 5 for event. We can adjust the limit to allow more custom fields if necessary.

associated PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions