Skip to content
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

Merged
merged 43 commits into from
Sep 2, 2022
Merged

Vasil update #73

merged 43 commits into from
Sep 2, 2022

Conversation

szg251
Copy link
Collaborator

@szg251 szg251 commented May 30, 2022

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

@szg251 szg251 changed the title Update to the latest plutus version Vasil update Jul 4, 2022
- wait longer before collecting final Values from wallets
- node waiting ensures some slots are produced before proceed
- bump to BPI with fixed `adjustUnbalancedTx`
- increase waiting time for wallets UTxOs to be indexed by chain-index
@mikekeke
Copy link
Collaborator

Plutip updated according to related BPI PR.
Cluster uses node version 1.35.3

@mikekeke mikekeke marked this pull request as ready for review August 25, 2022 09:11
Copy link
Contributor

@bladyjoker bladyjoker left a 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 :)

src/Test/Plutip/Internal/BotPlutusInterface/Setup.hs Outdated Show resolved Hide resolved
src/Test/Plutip/Internal/LocalCluster.hs Show resolved Hide resolved
src/Test/Plutip/LocalCluster.hs Show resolved Hide resolved
mikekeke and others added 3 commits August 28, 2022 18:04
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.
Copy link
Contributor

@ngua ngua left a 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

src/Test/Plutip/Internal/LocalCluster.hs Outdated Show resolved Hide resolved
src/Test/Plutip/Internal/LocalCluster.hs Outdated Show resolved Hide resolved
test/Spec/Integration.hs Outdated Show resolved Hide resolved
test/Spec/Integration.hs Outdated Show resolved Hide resolved
let noOfSlots = 10
slotLen = 1000
timeDiff = POSIXTime (noOfSlots * slotLen)
let timeDiff = POSIXTime 5_000
Copy link
Contributor

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

Copy link
Contributor

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)

Copy link
Collaborator

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).

src/Test/Plutip/Internal/LocalCluster.hs Show resolved Hide resolved
nix/haskell.nix Outdated Show resolved Hide resolved
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`.
@mikekeke mikekeke merged commit 8616acc into master Sep 2, 2022
@mikekeke mikekeke deleted the gergely/vasil branch October 12, 2022 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants