-
Notifications
You must be signed in to change notification settings - Fork 24
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
Vasil update #73
Vasil update #73
Conversation
Fix local cluster & Add PlutusV2 cost model.
- updated: cluster-data files, form current wallet commit - updated: BPI rev - fixed: breaking API changes - partially-fixed: tests
Vasil compliance update
- wait longer before collecting final Values from wallets - node waiting ensures some slots are produced before proceed
541fabc
to
ecefab7
Compare
Plutip updated according to related BPI PR. |
8f8731f
to
c3d4693
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.
Thanks y'all for doing this! Left some small remarks :)
Vasil waiting for index
The previous branch got messed up after some merge issues. So I created a new branch based on the latest working commit of `gergely/vasil` and just copied over `AdjustTx.hs` and made the required changes to `plutip.cabal` and `Integration.hs`. The test works now.
0049cee
to
ae394a6
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.
Looks good for the most part, just some minor comments from me
let noOfSlots = 10 | ||
slotLen = 1000 | ||
timeDiff = POSIXTime (noOfSlots * slotLen) | ||
let timeDiff = POSIXTime 5_000 |
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.
It might be a good idea to document these numeric values or even make them into constants. It will be helpful to know what they signify if they need to updated again in the future
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.
I think the way it was written previously was better in this regard (nOfSlots * slotLen
is easier to understand)
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.
Note: if we decide to go back to nOfSlots * slotLen
representation, we will need to get real slot length from cluster, as it can vary (although it's not too clear yet how to set it after update to newer version of cardano-wallet
framework; default is 0.2 sec).
Removed unused imports, and made sure all imports were either qualified or had explicit import lists. Also replaced some deprecated functions and added a proper signature for `runAdjustTest`.
- switch to final BPI Vasil compliant version - address PR review comments - adjust tests
Add Test that `adjustUnbalancedTx` works (updated)
Update BPI (and plutus-apps) accord to this PR mlabs-haskell/bot-plutus-interface#103
We also need the updated wallet for the cluster: cardano-foundation/cardano-wallet#3318