-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update to latest Plutus #42
Merged
Merged
Conversation
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
… My nix shell is now attempting to build ghc 9.0.1 and I have no idea why.
VictorCMiraldo
changed the title
WIP: Attempt to update to latest plutus; need help with nix and ghc versions
Update to latest Plutus
Dec 8, 2021
…ent version but nix insists on building 1.5.0.1
…nMinAda', which is awesome!
…match that of Plutus
…xO feature raises serious concerns. I think this will have to be reimplemented differently within plutus
most notably awaitTime had an off-by-one error; we must wait until the slot that contains time t, and then another slot to be sure we return in a time that is in the future of t.
useful error information and respect newlines
othewise we'd trivially get a 'ValueNotPreserved' error
* Rewrite balancing in terms of BalancableOut class * Start working on balance tests themselves * Describe spendValueFrom * Add some more tests on balancespec * Update and fix balance tests
0xd34df00d
approved these changes
Dec 17, 2021
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 with a couple of tiny notes.
* Remove the MarkedMaker and its tests; at the end of the day, the features used around it are all exemplified elsewhere * Ported the datum hijacking attack to PMultiSigStateful
Co-authored-by: 0xd34df00d <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While looking into issue #37, and understanding that those checks were merged on verion
v2021-12-06
ofplutus-apps
, I attempted to update our cabal file following our process in the readme file (which worked last time!), only to be met with a compilation error withinplutus-tx-plugin
, which is a library from withinplutus
:After a long odyssey and with a lot of help from Cheng and Adrian, I managed to get a nix enviroment that builds everything I need and enables me to build plutus and the necessary dev tooling.
@GuillaumeDesforges , I'd love your review of the
nix
files in this PR, since you were the person to help get this going in the first place. Because we had to buildhaskell-language-server
with a custom patch toghcide
and with a customghc
, I tried to split my dependencies into development deps and build deps. HLS is a dev-dep, and CI should not worry about it. I hope I did this in a reasonable way. :)