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

Upgrade to testcontainers 0.15 #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ikmckenz
Copy link

@ikmckenz ikmckenz commented Feb 24, 2024

In Testcontainers 0.15 they moved the community images from the internal package to another package, and inside that separate package they unfortunately removed the Bitcoin Core image that this bitcoin-harness relies on: testcontainers/testcontainers-rs-modules-community#30

So I simply moved the image as was removed from the modules into this repo, and all the tests seem to pass.

@@ -89,7 +91,7 @@ pub struct Bitcoind<'c> {
impl<'c> Bitcoind<'c> {
/// Starts a new regtest bitcoind container
pub fn new(client: &'c clients::Cli) -> Result<Self> {
let container = client.run(BitcoinCore::default());
let container = client.run(BitcoinCore);
Copy link
Author

@ikmckenz ikmckenz Feb 24, 2024

Choose a reason for hiding this comment

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

This was a clippy suggestion, but is unrelated to the main PR. Can be reverted with no effect.

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.

1 participant