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 size [x86_64-linux] succeeded Jan 6, 2025 in 9m 22s

Run results

Build succeeded

Details

Last 100 lines of logs:

https://cache.nixos.org/m0vcs3nkfc4akc1kskdikja28fv760m9.narinfo
https://cache.garnix.io/m0vcs3nkfc4akc1kskdikja28fv760m9.narinfo
Running phase: unpackPhase
@nix {"action":"setPhase","phase":"unpackPhase"}
unpacking source archive /nix/store/8i5x7yzq9y3b01a8vchb0y2r95lxbyjy-source-plutus-tx-plugin-test-size-root
source root is source-plutus-tx-plugin-test-size-root
Running phase: patchPhase
@nix {"action":"setPhase","phase":"patchPhase"}
Running phase: buildPhase
@nix {"action":"setPhase","phase":"buildPhase"}
/nix/store/q59a4ah955frlp59dyldk2zgcpmnw1fm-plutus-tx-plugin-test-size-1.38.0.0/bin:
patching script interpreter paths in /build/tmp.o9YreGo56E/bin
Size regression tests
  Golden
    Rational
      Eq
        equal:                 OK (0.02s)
        not-equal:             OK (0.02s)
      Ord
        compare:               OK (0.01s)
        less-than-equal:       OK (0.02s)
        greater-than-equal:    OK (0.01s)
        less-than:             OK (0.01s)
        greater-than:          OK (0.01s)
        max:                   OK
        min:                   OK
      Additive
        plus:                  OK (0.01s)
        zero:                  OK (0.01s)
        minus:                 OK (0.01s)
        negate-specialized:    OK (0.02s)
      Multiplicative
        times:                 OK (0.01s)
        one:                   OK (0.01s)
        scale:                 OK
      Serialization
        toBuiltinData:         OK (0.02s)
        fromBuiltinData:       OK
        unsafeFromBuiltinData: OK (0.02s)
      Construction
        unsafeRatio:           OK (0.02s)
        ratio:                 OK (0.02s)
        fromInteger:           OK
      Other
        numerator:             OK
        denominator:           OK (0.01s)
        round:                 OK
        truncate:              OK
        properFraction:        OK
        recip:                 OK
        abs-specialized:       OK (0.01s)
  Comparison
    negate:                    OK
      Target: general; size 163
      Measured: specialized; size 12
      Remaining headroom: 151
    abs:                       OK
      Target: general; size 207
      Measured: specialized; size 29
      Remaining headroom: 178
    scale:                     OK
      Target: equivalent in other primitives; size 76
      Measured: type class method; size 69
      Remaining headroom: 7

All 32 tests passed (0.02s)