Do not omit script, datum and redeemers in compact mode
KtorZ opened this issue · comments
Matthias Benkort commented
Discussed in #269
Originally posted by KtorZ July 14, 2022
Describe your idea, in simple words.
Ogmios has a compact mode where large data like signatures and headers are omitted from the response. This is useful for clients in a trusted configuration who do not actively verify information they get from Ogmios (i.e. most clients really).
However, in compact mode, Ogmios currently omits the entire witness set, whereas some witness are pretty useful information such as scripts, datums and redeemers. The compact mode should really just omit signatures from the witness set.
Why is it a good idea?
Allows to build clients that consume compact data but still have access to missing useful pieces.
Are you willing to work on it yourself?
Yes.