-
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.
PLT-8880 Dynamic Cek Machine Cost Parameters (#5721)
Adds support for loading the default cek Machine cost parameters from the plutus-core package. The parameters are passed from Main, allowing in the future to provide other means of obtaining them (apart from importing defaultCekMachineCosts from the plutus-core package) For better interfacing with Haskell I reworked the pairing datatype in Utils.lagda.md. This meant that I had to do some minor changes in other files. --------- Co-authored-by: kwxm <[email protected]>
- Loading branch information
1 parent
dee7310
commit 907c537
Showing
9 changed files
with
155 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
cabal-version: 3.0 | ||
name: plutus-metatheory | ||
version: 0.1.0.0 | ||
synopsis: Command line tool for running plutus core programs | ||
homepage: https://github.com/input-output-hk/plutus | ||
license: Apache-2.0 | ||
cabal-version: 3.0 | ||
name: plutus-metatheory | ||
version: 0.1.0.0 | ||
synopsis: Command line tool for running plutus core programs | ||
homepage: https://github.com/input-output-hk/plutus | ||
license: Apache-2.0 | ||
license-files: | ||
LICENSE | ||
NOTICE | ||
|
||
author: James Chapman | ||
maintainer: [email protected] | ||
category: Development | ||
extra-source-files: | ||
author: James Chapman | ||
maintainer: [email protected] | ||
category: Development | ||
data-files: | ||
data/builtinCostModel.json | ||
Plutus.agda-lib | ||
README.md | ||
|
@@ -20,7 +20,7 @@ extra-source-files: | |
|
||
-- This makes cabal rebuild if any of these files change, which allow the | ||
-- custom setup to fire and rebuild the Haskell sources | ||
build-type: Custom | ||
build-type: Custom | ||
|
||
custom-setup | ||
setup-depends: | ||
|
@@ -59,6 +59,7 @@ library | |
, composition-prelude | ||
, cryptonite | ||
, extra | ||
, filepath | ||
, ghc-prim | ||
, ieee754 | ||
, megaparsec | ||
|
@@ -78,6 +79,8 @@ library | |
Raw | ||
Untyped | ||
|
||
other-modules: Paths_plutus_metatheory | ||
|
||
-- WARNING: Order is important! MAlonzo modules must be listed last. | ||
-- But cabal-fmt reorders modules alphabetically, so we use two | ||
-- exposed-modules subsets to work around that. See Setup.hs | ||
|
@@ -535,7 +538,6 @@ executable plc-agda | |
import: lang | ||
hs-source-dirs: exe | ||
main-is: Main.hs | ||
other-modules: Paths_plutus_metatheory | ||
build-depends: | ||
, base | ||
, plutus-metatheory | ||
|
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
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.