-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move conversion code into Plutus Core * Documentation and notes on implementations * Wrap implementations into builtins * Properties as per CIP-0087 * CIP-0087 examples as tests * Add new builtins to PlutusTx * Document fromIntegral usage as a note * Changelogs for CIP-0087 primitives * Ensure conversions don't break on too-large arguments * Ensure that conversions are available in V3 * Remove unnecessary pragmata on tests * Fix overly-long test names, clarify test meaning in comments * CIP link consistency * Re-order integerToByteString arguments, avoid unnecessary padding * Better documentation for implementations * Correct properties for ByteStringToInteger * Address feedback * Integer/ByteString conversion costing experiments * Turn off warning * Turn off warning * Initial costing for bitwise conversions * Update print-cost-model; add some FIXMEs * Update print-cost-model; add some FIXMEs * Minor updates * Fix typo * Fix plugin; use byteStringToInteger in bls12-318-costs * Fix some tests * Add generator for LiteralByteSize in plc evaluation tests * Update parameter names in plutus-ledger-api * Separate file for bitwise costing benchmarks * More comprehensive exploratory costing benchmarks * More comprehensive exploratory costing benchmarks * Wrong test input sizes * Correct costing benchmarks input widths * One more benchmark * All 0xFF benchmarks * Wrong number * Smaller bytetring inputs * Try to keep CI happy * Bigger benchmarks * Another benchmarking run * Fix modelling code for integer/bytestring conversions * Remove experimental benchmarks; tidy up R code * Tidying up; fix budget benchmarks for byteStringToInteger * Move bitwise Convert module * Move bitwise Convert module * Update cost model * Update bls12-381 cost test results * Update comment * Add changelog entries * Remove accidentally-committed file * Cost model tests for bitwise conversions * Fix failing test * Fix another failing test * Address some small PR comments * Address some small PR comments * Initial conformance tests for bitwise conversion builtins * Move size limit check back to Convert.hs and add some tests * Move size limit check back to Convert.hs and add some tests * Workaround for integerLog2 missing in GHC 8.10 * Workaround for integerLog2 missing in GHC 8.10 * Workaround for integerLog2 missing in GHC 8.10 * Add some more test cases * More test cases * More test cases * More tests * More test cases * Formatting * Update comment * Fix PLC version number in bitwise conformance tests * Update golden tests for new maximum width * Address PR comments * Test output mysteriously rearranged again --------- Co-authored-by: Koz Ross <[email protected]>
- Loading branch information
Showing
120 changed files
with
1,527 additions
and
434 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.