Skip to content

Add sha2_512 and sha3_512 builtins. #1

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

Open
wants to merge 92 commits into
base: master
Choose a base branch
from
Open

Conversation

locallycompact
Copy link
Collaborator

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Changelog fragments have been written (if appropriate)
    • Relevant tickets are mentioned in commit messages
    • Formatting, PNG optimization, etc. are updated
  • PR
    • (For external contributions) Corresponding issue exists and is linked in the description
    • Targeting master unless this is a cherry-pick backport
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

zliu41 and others added 30 commits April 10, 2025 07:28
* Metatheory for dropList

* Spurious imports

* Formatting

* Formatting

* Conformance tests for dropList

* Add some newlines

* Disable Agda budget tests for dropList

* Add some comments, fix a test

* Update comments

* Disable dropList conformance tests for GHC 8.10
* Specification of dropList

* Fix comment
This implements force-delay cancellation when delays appear under `ifThenElse`.

Serves the same purpose as IntersectMBO#7040, but does it better.
* WIP

* WIP

* WIP

* WIP - After meeting with Phil 28/01/25

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP but most of progress is working.

* WIP with case-unsat errors handled.

* Progress typechecks

* Use Arity from Reduction in Pure

* Typechecking Reduction with progress...again

* Cleanup

* Fixed Roman's points
* builtin array conformance tests

* ignore array tests failing in agda-conformance

* conformance tests for array-related builtin functions
* spec: isFirstVarBeforeEffects

* isVarEventuallyEvaluated
* Make length the default size measure for lists and arrays

* Add some comments

* Fix Agda memory usage for pairs

* Fix some typos

* More typos

* Address review comments
* Drop Support for ghc 8.10

* More changes

* Addressed review comments

* Removed git add .! Comments

* Restore git add .! comments

* wip

* Revert "Address comments"

This reverts commit 6161bfb.

* Replace 'NOINLINE' with 'OPAQUE'

* Remove a potentially redundant pragma

* Fix unused variables in plutus-tx-plugin tests

* Update golden file (variable names changed)

---------

Co-authored-by: effectfully <effectfully@gmail.com>
Co-authored-by: kwxm <kenneth.mackenzie@iohk.io>
* Enhance the StrictifyBindings pass with strictness analysis (IntersectMBO#7056)

* Array-builtins: update cost models

* Update conformance budgets

* Update plutus-core/cost-model/create-cost-model/BuiltinMemoryModels.hs

Co-authored-by: Kenneth MacKenzie <kenneth.mackenzie@iohk.io>

---------

Co-authored-by: Ziyang Liu <unsafeFixIO@gmail.com>
Co-authored-by: kwxm <kenneth.mackenzie@iohk.io>
* Fix bug in expModInteger

* Update comment

* Update golden files
* Fix bug in expModInteger

* Update comment

* Update golden files

* Property tests for expModInteger

* Add expModInteger property tests

* Update unit tests

* Explicit exports

* Revert specification date

* Rename some values
…t` (IntersectMBO#6963)

* BuiltinByteStringHex: Unexpected error during compilation

* fix: BuiltinByteString with inscrutable content.

* Changelog entry

* refactor: remove redundant parens
Unisay and others added 4 commits May 31, 2025 02:49
…sectMBO#7128)

* Prepare for possible removal of caseList and caseData

* Prepare for possible removal of caseList and caseData

* Add changelog entry
SeungheonOh and others added 17 commits June 2, 2025 13:19
…e in Plinth (IntersectMBO#7119)

* Enhance documentation on BuiltinString and BuiltinByteString usage in Plinth

* Refactor examples in special-functions-and-types.md: tip on using newtypes; Remove "0x" prefix.

* Start every sentence from a new line.

* Explain the `IsString BuiltinByteString` instance

* Clarify usage of `IsString` instance for `BuiltinByteString` in documentation

* Clarify usage of `IsString` instance for `BuiltinByteString` and highlight potential data loss due to lossy conversion. Add example to illustrate truncation and promote encoding-specific newtypes.
…/testlib` (IntersectMBO#7133)

* rename Transform.CaseOfCase.Test to Transform.CaseOfCase.Spec

* Rename Transform.Simplify to Transform.Simplify.Spec

* Rename module Generators to Generators.Spec

* Add Generators.Lib module and update imports in Spec files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants