If an error occurs related to emitting events (e.g., exceeding size limits), the host returns a HostError::Events code. Users need to know exactly what constraint was violated.
- Map
HostError::Events codes to understandable explanations about event emission failures.
- Add these error descriptions to the error parser.
Expectation: Prism clearly displays why a contract's event emission failed, such as "too many topics" or "data payload too large".
Contributor telegram group: https://t.me/+sII7WPhll2liMGNk
If an error occurs related to emitting events (e.g., exceeding size limits), the host returns a
HostError::Eventscode. Users need to know exactly what constraint was violated.HostError::Eventscodes to understandable explanations about event emission failures.Expectation: Prism clearly displays why a contract's event emission failed, such as "too many topics" or "data payload too large".
Contributor telegram group: https://t.me/+sII7WPhll2liMGNk