plutus-starter icon indicating copy to clipboard operation
plutus-starter copied to clipboard

The current version lacks all Plutus V2 support

Open cmorgado opened this issue 3 years ago • 6 comments
trafficstars

If i try to import for example : import qualified Plutus.Script.Utils.V2.Typed.Scripts as PSU.V2

I end up with

    Could not find module ‘Plutus.Script.Utils.V2.Typed.Scripts’
    Perhaps you meant
      Plutus.Script.Utils.V1.Typed.Scripts (from plutus-script-utils-0.1.0.0)
      Plutus.Script.Utils.V1.Scripts (from plutus-script-utils-0.1.0.0)
      Plutus.Script.Utils.V1.Typed.TypeUtils (from plutus-script-utils-0.1.0.0)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.

Also we're not able to use the Contact Monad latest version to use inline datums or references

cmorgado avatar Oct 17 '22 16:10 cmorgado

Updating dependecies in my forq https://github.com/aleeusgr/plutus-tests/pull/4

aleeusgr avatar Jan 13 '23 07:01 aleeusgr

hi @cmorgado I followed the path you suggested, bumped dependencies for this repo.

I have doubts about sending a PR to the repo tho: bumping dependencies is a recurring task and plutus-starter is the perfect place to learn.

I am not sure it will do any good to hold the hand of anyone who comes after me: if it works out of the box, the user will still have to bump dependencies at some point, but likely in a situation with deadline and stakeholders involved.

there is a nice guide on how to update dependencies in the repo:

https://github.com/input-output-hk/plutus-starter/blob/main/CONTRIBUTING.md

Maybe name is not suggestive, or maybe it needs more visible, but I am not convinced I need to go through additional debuggin guessing game contract to make tests pass while I think it goes against the educational value of this repo.

aleeusgr avatar Jan 17 '23 07:01 aleeusgr

Hi @aleeusgr thank you for your effort and guidance!

cmorgado avatar Jan 17 '23 07:01 cmorgado

I found an issue such that newer versions of plutus-apps depend on CHaP, and for it the manual suggests to use a flake.nix, however this feature has not been added to plutus-starter

aleeusgr avatar Feb 07 '23 12:02 aleeusgr

I found an issue such that newer versions of plutus-apps depend on CHaP, and for it the manual suggests to use a flake.nix, however this feature has not been added to plutus-starter

I'm right there right now. Learning how to convert a repo to flakes by fire!

harryprayiv avatar Mar 05 '23 00:03 harryprayiv

Oh man, thank you so much. I cant work and this makes me feel worse. Knowing someone cares makes me feel better. thank you

aleeusgr avatar Mar 05 '23 06:03 aleeusgr