user1051: I read the docs for language views here, but I still don't quite understand what they are: https://github.com/input-output-hk/cardano-ledger-specs/blob/master/eras/alonzo/test-suite/cddl-files/alonzo.cddl#L97
For the Spacebudz marketplace, Alessandro requires this to be set and I'm not sure if it we need to change it for our own dApp: https://github.com/Berry-Pool/spacebudz/blob/main/src/cardano/market/languageViews.js

user810: I think the explanation follows after the canonical encoding description
; For PlutusV1 (language id 0), the script integrity data is a cost_model.
; This is the value of the costmdls map at key 0.

Looks like you need to encode cost-model map as language-views key 0 according to canonical encoding.

1051: <p>I read the docs for <code>language views</code> here, but I still don't quite understand what they are: <a href="https://github.com/input-output-hk/cardano-ledger-specs/blob/master/eras/alonzo/test-suite/cddl-files/alonzo.cddl#L97" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-ledger-specs/blob/master/eras/alonzo/test-suite/cddl-files/alonzo.cddl#L97</a></p>
<p>For the Spacebudz marketplace, Alessandro requires this to be set and I'm not sure if it we need to change it for our own dApp: <a href="https://github.com/Berry-Pool/spacebudz/blob/main/src/cardano/market/languageViews.js" rel="nofollow noreferrer">https://github.com/Berry-Pool/spacebudz/blob/main/src/cardano/market/languageViews.js</a></p>
 810: <p>I think the <a href="https://github.com/input-output-hk/cardano-ledger/blob/master/eras/alonzo/test-suite/cddl-files/alonzo.cddl#L111-L114" rel="nofollow noreferrer">explanation follows</a> after the canonical encoding description</p>
<pre><code>; For PlutusV1 (language id 0), the script integrity data is a cost_model.
; This is the value of the costmdls map at key 0.
</code></pre>
<p>Looks like you need to encode cost-model map as language-views key <code>0</code> according to <a href="https://github.com/input-output-hk/cardano-ledger/blob/master/eras/alonzo/test-suite/cddl-files/alonzo.cddl#L100-L109" rel="nofollow noreferrer">canonical encoding</a>.</p>
