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

[ADP-2565] Use Database.Table.SQLite.Simple in Deposit Wallet #4715

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

HeinrichApfelmus
Copy link
Contributor

This pull request changes the Deposit Wallet to use the database functionality from Database.Table.SQLite.Simple.

At the moment, this actually means removing all database usage from the Deposit Wallet — the mock environment does not need it, and also cannot use it, as the SqlM monad is not an instance of MonadSTM. (For good reason: The SqlM monad meant to represent atomic database operations and is not an instance of MonadIO).

However, I want to keep the module Cardano.Wallet.Deposit.IO.DB around as a small indirection over Database.Table.SQLite.Simple.

Issue Number

ADP-2565

@HeinrichApfelmus HeinrichApfelmus self-assigned this Aug 3, 2024
@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-2565/db-deposit branch from b8ddc66 to 57540fc Compare August 3, 2024 14:58
@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-2565/db-deposit branch from 57540fc to 8c0211b Compare August 5, 2024 13:38
@HeinrichApfelmus HeinrichApfelmus added this pull request to the merge queue Aug 5, 2024
Merged via the queue into master with commit 2cbb59a Aug 5, 2024
23 checks passed
@HeinrichApfelmus HeinrichApfelmus deleted the HeinrichApfelmus/ADP-2565/db-deposit branch August 5, 2024 15:32
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.

2 participants