Skip to content

Conversation

basetunnel
Copy link
Collaborator

This contains uplc conformance tests for

  • built-in functions insertCoin, unionValue, lookupCoin, valueContains
  • constants of builtin Value type

Test cases are based on the semantics described in cardano-foundation/CIPs#1088, but it seems like the semantics of valueContains are still being discussed. When that is finalised, I can add some more cases if necessary.

@basetunnel basetunnel changed the title Basetunnel/builtin value conformance Conformance tests for built-in functions on Value Sep 23, 2025
@basetunnel
Copy link
Collaborator Author

Tests are failing because the metatheory needs to be updated. Working on that now.

@basetunnel basetunnel force-pushed the basetunnel/builtin-value-conformance branch from 2e6833c to d911396 Compare October 3, 2025 11:23
@basetunnel
Copy link
Collaborator Author

I've ignored these tests in the agda-conformance test suite for now, because the formalisation of Value in agda is not yet finished.

Also added some new ones to test maximum key length.

@basetunnel basetunnel added the No Changelog Required Add this to skip the Changelog Check label Oct 7, 2025
Copy link
Member

@zliu41 zliu41 left a comment

Choose a reason for hiding this comment

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

Great tests 👍

@zliu41 zliu41 merged commit f19be20 into master Oct 8, 2025
5 of 6 checks passed
@zliu41 zliu41 deleted the basetunnel/builtin-value-conformance branch October 8, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Changelog Required Add this to skip the Changelog Check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants