Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

ContractModel: Test that slot numbers line up between model and emulator #327

Merged
merged 4 commits into from
Mar 1, 2022

Conversation

MaximilianAlgehed
Copy link
Contributor

And improve how we show mock wallets in the emulator.

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

@MaximilianAlgehed
Copy link
Contributor Author

@sjoerdvisscher Do you think that the changes to the mock wallets we have here make sense? Before we had the problem that in the test you would write stuff like "do x for wallet 1" and "wallet 1" would show up as Wallet 1bc5f27... in the logs.

Copy link
Contributor

@sjoerdvisscher sjoerdvisscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very nice, thanks!

@sjoerdvisscher sjoerdvisscher merged commit 7db7822 into IntersectMBO:main Mar 1, 2022
bwbush pushed a commit that referenced this pull request Mar 11, 2022
…tor (#327)

* Test that slot numbers line up between model and emulator
and improve showing wallets.

* fixes to PAB after mock wallet change + refactor PAB emulator to be marginally safer

* more fixes

* fix purs
@MaximilianAlgehed MaximilianAlgehed deleted the PR-slots-and-wallets branch January 4, 2023 09:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants