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
Redeemers are not part of the transaction body (hence not part of the Transaction table), but are required to know the full Plutus context of a transaction (therefore, would be useful to add as an option in the history endpoint)
We have a TransactionMetadata table for a similar reason
I feel the schema for the table could probably just be something like
CREATETABLEpublic."Redeemer" (
tx_id bigintNOT NULL,
redeemers bytea[] NOT NULL,
);
since:
I don't think there is ever really a case to sub-index into the redeemer structure
The Plutus context requires all witnesses anyway
This is more space efficient
The logic for redeemer tags & indices is complex (depends on the global order of things in a tx), so it would be hard to join on even if you wanted to
The text was updated successfully, but these errors were encountered:
Redeemers are not part of the transaction body (hence not part of the
Transaction
table), but are required to know the full Plutus context of a transaction (therefore, would be useful to add as an option in the history endpoint)We have a
TransactionMetadata
table for a similar reasonI feel the schema for the table could probably just be something like
since:
The text was updated successfully, but these errors were encountered: