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
which stores already serialised script representation in CBOR. As a result, the TextEnvelope JSON produced contains cborHex which is doubly serialised.
This also makes decoding of Plutus scripts a two-stage process:
Internal/External
Internal if an IOHK staff member.
Area
Other Any other topic (Delegation, Ranking, ...).
Describe the feature you'd like
Currently Plutus
Script lang
serialisation uses double CBOR encoding. It serialisesPlutusScript lang
:cardano-api/cardano-api/internal/Cardano/Api/Script.hs
Line 431 in 9af6866
which stores already serialised script representation in CBOR. As a result, the
TextEnvelope
JSON produced containscborHex
which is doubly serialised.This also makes decoding of Plutus scripts a two-stage process:
cardano-api/cardano-api/test/cardano-api-test/Test/Cardano/Api/Transaction/Autobalance.hs
Lines 283 to 290 in 9af6866
Firstly the envelope has to be decoded from JSON, and then the PlutusScript itself.
Acceptance criteria:
The text was updated successfully, but these errors were encountered: