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
@chelonia/lib 1.4.4 adds an optional event journal that can be used for debugging purposes. The journal is already enabled in #2961.
However, #2961 is an extremely basic implementation that's missing crucial UX features:
The journal has support for redacting certain information from the state, which Replace runtime with chel serve #2961 is not using. Since many parts of the contract state contain potentially sensitive information (e.g., actual messages sent by users), we might want to define which redactions to apply.
More crucially, the journal is only accessible programmatically, and there's no way to obtain it from the UI. This is an important limitation because it requires users to use development tools to get to the journal for making a report, which can be difficult (users may not be familiar with these tools, scary warnings are (justly) shown before pasting code) or impossible to get (e.g., development tools may be unavailable in certain browsers, especially on mobile, or might require even more special tooling, such as Android Bridge or Xcode).
Solution
Decide which fields should be redacted and how, then implement these redactions.
Add an option to the UI to export contract journals, similarly to how now we can export app logs (perhaps it could be a combined logs + journal export).
Problem
@chelonia/lib1.4.4 adds an optional event journal that can be used for debugging purposes. The journal is already enabled in #2961.However, #2961 is an extremely basic implementation that's missing crucial UX features:
chel serve#2961 is not using. Since many parts of the contract state contain potentially sensitive information (e.g., actual messages sent by users), we might want to define which redactions to apply.Solution