Joystream / Joystream/joystream

The trouble with events

Open
#4,186 1 comment 0 reactions 0 assignees View on GitHub
runtime
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

**This issue is meant as a long term placeholder for this issue, as I anticipate it will be with us in one form or another for the foreseeable future.**

Start here

- https://substrate.stackexchange.com/questions/4126/why-are-events-stored
- https://substrate.stackexchange.com/questions/4296/large-event-payloads-unsafe

So certainly having large event payloads, in particular when combined with big blocks, is not advisable. Problem is not solvable by dropping System module behavior, as that breaks lots of assumptions in downstream tooling, hence only remaining solution is to only have small fixed length event parameters, as initiated here: https://github.com/Joystream/joystream/issues/4135

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.