Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs on data-backed ScriptContext #6759

Merged
merged 3 commits into from
Jan 6, 2025

Address review comment

bd9591f
Select commit
Loading
Failed to load commit list.
Merged

Add docs on data-backed ScriptContext #6759

Address review comment
bd9591f
Select commit
Loading
Failed to load commit list.
Garnix CI / check plutus-ledger-api-test [x86_64-linux] succeeded Jan 6, 2025 in 9m 47s

Run results

Build succeeded

Details

Last 100 lines of logs:

        builtins
          all builtins are available some time:                           OK
          builtins aren't available before Alonzo:                        OK
          serializeData is only available in l2,Vasil and after:          OK
          bls,keccak256,blake2b224 only available in l3,Future and after: OK
        Plutus Core language versions
          v1.1.0 is available in l3,future and not before:                OK
          constr is not available with v1.0.0 ever:                       OK
          case is not available with v1.0.0 ever:                         OK
        rmdr
          remdr:                                                          OK
          remdr1gen:                                                      OK
            +++ OK, passed 100 tests.
          remdr2gen:                                                      OK
            +++ OK, passed 100 tests.
          remdr1genc:                                                     OK
            +++ OK, passed 100 tests.
          remdr2genc:                                                     OK
            +++ OK, passed 100 tests.
      costModelParams
        length:                                                           OK
        tripping paramname:                                               OK
        context length:                                                   OK (0.04s)
        cost model parameters:                                            OK
      context decoding
        v1context:                                                        OK
      Value
        laws:                                                             OK (1.37s)
          +++ OK, passed 500 tests; 6 discarded.
        updateSomeTokenValues:                                            OK (0.88s)
          +++ OK, passed 1500 tests; 154 discarded.
        updateSomeTokenNames:                                             OK (0.95s)
          +++ OK, passed 1500 tests; 174 discarded.
        shuffle:                                                          OK (1.30s)
          +++ OK, passed 1000 tests.
        split:                                                            OK (0.69s)
          +++ OK, passed 700 tests.
    Data
      eval
        v1-api
          delay0:                                                         OK
          fun0var0:                                                       OK
          const0var0:                                                     OK
          iteLazy0:                                                       OK
          iteStrict0:                                                     OK
        EvaluationContext has machine parameters for all protocol versions
          PlutusV1:                                                       OK (0.04s)
          PlutusV2:                                                       OK (0.04s)
          PlutusV3:                                                       OK (0.03s)
        NoThunks in EvaluationContext
          PlutusV1:                                                       OK (0.04s)
          PlutusV2:                                                       OK (0.04s)
          PlutusV3:                                                       OK (0.03s)
      versions
        ledger languages
          v1 not before but after:                                        OK
            +++ OK, passed 100 tests.
          v2 not before but after:                                        OK
            +++ OK, passed 100 tests.
          v3 not before but after:                                        OK
            +++ OK, passed 100 tests.
          protocol-versions can add but not remove ledger languages:      OK
            +++ OK, passed 100 tests; 109 discarded.
        builtins
          all builtins are available some time:                           OK
          builtins aren't available before Alonzo:                        OK
          serializeData is only available in l2,Vasil and after:          OK
          bls,keccak256,blake2b224 only available in l3,Future and after: OK
        Plutus Core language versions
          v1.1.0 is available in l3,future and not before:                OK
          constr is not available with v1.0.0 ever:                       OK
          case is not available with v1.0.0 ever:                         OK
        rmdr
          remdr:                                                          OK
          remdr1gen:                                                      OK
            +++ OK, passed 100 tests.
          remdr2gen:                                                      OK
            +++ OK, passed 100 tests.
          remdr1genc:                                                     OK
            +++ OK, passed 100 tests.
          remdr2genc:                                                     OK
            +++ OK, passed 100 tests.
      costModelParams
        length:                                                           OK
        tripping paramname:                                               OK
        context length:                                                   OK (0.04s)
        cost model parameters:                                            OK
      Value
        laws:                                                             OK (4.11s)
          +++ OK, passed 500 tests; 9 discarded.
        updateSomeTokenValues:                                            OK (3.18s)
          +++ OK, passed 1500 tests; 150 discarded.
        updateSomeTokenNames:                                             OK (3.35s)
          +++ OK, passed 1500 tests; 172 discarded.
        shuffle:                                                          OK (1.94s)
          +++ OK, passed 1000 tests.
        split:                                                            OK (1.67s)
          +++ OK, passed 700 tests.

All 133 tests passed (4.13s)