Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add two Lean/UPLC proofs for the minting policy: positive minting after the deadline is rejected, and admin-authorized burning succeeds for every finite upper validity bound. The proofs quantify over integer amounts and bounds for a transaction with one configured token and the admin signer, using the actual core policy function compiled with the verification backend's options.
Use locally published Scalus
1.3.0+167-b683c1a2-SNAPSHOTwith its Scala 3.3.8 compiler plugin, add the project's Lean workspace, and document setup and execution in the README. Update the existing script-size and execution-budget expectations for this snapshot.Validation: the Lean workspace built successfully, both proofs passed without cancellation, and the three emulator tests passed. After updating the two snapshot-dependent expectations, all nine policy unit tests passed on rerun.
git diff --checkpassed.Reproduction requires publishing the pinned Scalus snapshot locally, including its verification and sbt plugins; a clean CI runner will need those artifacts provisioned. Lean proofs also require elan/lake, Z3, and
sbt leanInit leanBuild;SCALUS_REQUIRE_LEAN=1 sbt 'testOnly starter.MintingPolicyVerificationTest'fails on missing Lean prerequisites instead of canceling tests.