-
Notifications
You must be signed in to change notification settings - Fork 214
Enable build of CertifyingAndWithdrawingPlutus test #364
Enable build of CertifyingAndWithdrawingPlutus test #364
Conversation
683b368
to
723f69a
Compare
@@ -157,3 +158,7 @@ test-suite plutus-example-test | |||
Test.PlutusExample.ScriptData | |||
|
|||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T | |||
|
|||
build-tool-depends: cardano-node:cardano-node | |||
, cardano-cli:cardano-cli |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required because cardano-node
and cardano-cli
need to be available for the tests to invoke.
[ testProperty "prop_TxId_Api_Ledger_Plutus_Roundtrip" Test.PlutusExample.Plutus.prop_TxId_Api_Ledger_Plutus_Roundtrip | ||
, testProperty "prop_TxId_Api_Ledger_Roundtrip" Test.PlutusExample.Plutus.prop_TxId_Api_Ledger_Roundtrip | ||
[ -- Fails to meet deadline on MacOS for an unknown reason | ||
testProperty "Plutus.Direct.CertifyingAndWithdrawingPlutus" Test.PlutusExample.Direct.CertifyingAndWithdrawingPlutus.hprop_plutus_certifying_withdrawing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the test being enabled.
It would be good to keep all compiled plutus scripts (and script data I guess) in |
243d249
to
f0af84b
Compare
5e2becb
to
dfbd396
Compare
c775159
to
9f75b3b
Compare
9f75b3b
to
5e8fd82
Compare
1db03d1
to
f6defac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just one comment about redeemers, datums and the configuration file.
@@ -29,8 +29,11 @@ jobs: | |||
- uses: actions/checkout@v3 | |||
- uses: nixbuild/nix-quick-install-action@v12 | |||
- run: | | |||
echo "=== 1 ===" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does the 1 symbolize?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left over debugging. Not sure why it still shows up here, but it's not in the diff.
@@ -0,0 +1,287 @@ | |||
########################################################## | |||
############### Mainnet ######### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to move this file into the plutus-example
folder? Likewise for any datums and redeemers the library uses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path is specified in cardano-testnet
from the cardano-node
repo. Will have to change that to make it configurable.
Does this PR subsume #378? |
I have closed #378 |
3727: Make configuration template in cardano-testnet configurable r=newhoggy a=newhoggy The change is for this: IntersectMBO/plutus-apps#364 (comment) Co-authored-by: John Ky <john.ky@iohk.io>
{ }; | ||
cardano-wallet = (import sources.flake-compat { | ||
inherit pkgs; | ||
src = builtins.fetchTree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This broke everything for people not using the flakes experimental feature.
3727: Make configuration template in cardano-testnet configurable r=newhoggy a=newhoggy The change is for this: IntersectMBO/plutus-apps#364 (comment) Co-authored-by: John Ky <john.ky@iohk.io>
Changes
CertifyingAndWithdrawingPlutus
test.cardano-node
dependency.cardano-node
andcardano-cli
asbuild-tool-depends
.Example output
Work in progress
Currently this PR doesn't build in
nix
and it involves some dependency version changes that don't track the documented projects incabal.project
, so the PR is not ready for merging.