-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADP-3335] Change
Cardano.Wallet.Deposit.IO.DB
to depend on `sqlite…
…-simple` (#4526) This pull request changes `Cardano.Wallet.Deposit.IO.DB` to use `sqlite-simple` instead of `persistent`. The reason for this change is that `withDBHandleInMemory` throws an exception when called *twice* in some circumstances. It appears that this bug is located in a dependency. Rumor has it that there might be a bug in `persistent` where SQL statements are not finalized. It seems likely that the SQL statement which is not finalized is the `BEGIN TRANSACTION` statement that `persistent` reuses in each call to `runSqlConn`. I did not investigate this further, as I want to move away from `persistent` anyway, and using `sqlite-simple` fixes the issue. ### Comment This pull request prepares the implementation of a mock environment for the Deposit Wallet. In turn, this enables execution of user scenarios. ### Issue Number ADP-3335
- Loading branch information
Showing
3 changed files
with
22 additions
and
71 deletions.
There are no files selected for viewing
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
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
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