Skip to content

Commit

Permalink
Remove uniques from some golden files (#6402)
Browse files Browse the repository at this point in the history
  • Loading branch information
zliu41 committed Aug 9, 2024
1 parent eafa4c5 commit ffe8f15
Show file tree
Hide file tree
Showing 8 changed files with 9,758 additions and 10,722 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Cardano.Constitution.Validator.TestsCommon
import Helpers.TestBuilders
import PlutusCore.Evaluation.Machine.ExBudget
import PlutusCore.Evaluation.Machine.ExBudgetingDefaults
import PlutusCore.Pretty (prettyPlcReadable)
import PlutusCore.Pretty (prettyPlcReadableSimple)
import PlutusLedgerApi.V3 as V3
import PlutusLedgerApi.V3.ArbitraryContexts as V3
import PlutusTx.Code as Tx
Expand Down Expand Up @@ -56,13 +56,13 @@ test_budget_small = testGroup "BudgetSmall" $ M.elems $
test_readable_pir = testGroup "ReadablePir" $ M.elems $
(\vName (_, vCode) ->
goldenVsString vName (mkPath vName ["pir"]) $
pure $ fromString $ show $ prettyPlcReadable $ fromJust $ getPirNoAnn vCode
pure $ fromString $ show $ prettyPlcReadableSimple $ fromJust $ getPirNoAnn vCode
)`M.mapWithKey` defaultValidatorsWithCodes

test_readable_uplc = testGroup "ReadableUplc" $ M.elems $
(\vName (_, vCode) ->
goldenVsString vName (mkPath vName ["uplc"]) $
pure $ fromString $ show $ prettyPlcReadable $ getPlcNoAnn vCode
pure $ fromString $ show $ prettyPlcReadableSimple $ getPlcNoAnn vCode
)`M.mapWithKey` defaultValidatorsWithCodes

tests :: TestTreeWithTestState
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

1 comment on commit ffe8f15

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Plutus Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: ffe8f15 Previous: eafa4c5 Ratio
validation-decode-prism-3 243.2 μs 229.7 μs 1.06
validation-decode-token-account-1 241.2 μs 229 μs 1.05

This comment was automatically generated by workflow using github-action-benchmark.

CC: @IntersectMBO/plutus-core

Please sign in to comment.