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

Fix sample cli and bitcoin rpc provider #210

Merged
merged 3 commits into from
Apr 4, 2024
Merged

Conversation

Tibo-lg
Copy link
Contributor

@Tibo-lg Tibo-lg commented Apr 3, 2024

No description provided.

@Tibo-lg Tibo-lg force-pushed the fix/sample-and-cli-test branch 13 times, most recently from 8c1da20 to 952d18c Compare April 3, 2024 12:03
@Tibo-lg Tibo-lg marked this pull request as ready for review April 3, 2024 12:08
@bennyhodl
Copy link
Contributor

tACK 👍

Got an error with the oracle-db

2024-04-03 15:12:44.324 UTC [1] FATAL:  database files are incompatible with server
2024-04-03 15:12:44.324 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 16.2 (Debian 16.2-1.pgdg120+2).

changing testconfig/oracle/oracledb.dockerfile from 16.2 to 12.2 fixed the issue and I was able to go through a full contract.

Can make a PR for that

Comment on lines +394 to +404
match self
.client
.lock()
.unwrap()
.unlock_unspent(outpoints)
.map_err(rpc_err_to_manager_err)?
{
true => Ok(()),
false => Err(ManagerError::StorageError(format!("Failed to unlock utxos: {outpoints:?}")))
false => Err(ManagerError::StorageError(format!(
"Failed to unlock utxos: {outpoints:?}"
))),
Copy link
Collaborator

@luckysori luckysori Apr 3, 2024

Choose a reason for hiding this comment

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

Is this just a formatting change? Maybe this wasn't intentional.

On a similar note, I often get formatting conflicts when working on rust-dlc since I use auto-formatting on save. Are we using rustfmt or not?

@Tibo-lg Tibo-lg force-pushed the fix/sample-and-cli-test branch from 952d18c to 3b48432 Compare April 4, 2024 00:28
@Tibo-lg
Copy link
Contributor Author

Tibo-lg commented Apr 4, 2024

Closes #209

@Tibo-lg Tibo-lg merged commit 926d3ad into master Apr 4, 2024
71 checks passed
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.

3 participants