Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use bitcoin regtest rather than bitcoin testnet (#2243)
# Description For local bitcoin development, the replica needs to be initialized with the `bitcoin_regtest` subnet feature and not `bitcoin_testnet`. This fix depends on [MR 5394](https://gitlab.com/dfinity-lab/public/ic/-/merge_requests/5394) in the replica, and should not be merged until that MR is merged. # How Has This Been Tested? * Built `ic-starter` and `replica` from the branch of the MR above. * Used `DFX_REPLICA_PATH` and `DFX_IC_STARTER_PATH` to use these locally built binaries. * Started bitcoind and generated some blocks * Cloned this dfx project: https://github.com/ielashi/bitcoin-integration-demo * Ran my locally modified dfx with `dfx start --enable-bitcoin --bitcoin-node 127.0.0.1:18444`, and then verified that the adapter and replica were syncing blocks correctly from bitcoind. * Deployed the canister in my dfx project. * Verified that the canister can read the balances/UTXOs of the bitcoin state. # Checklist: - [x] The title of this PR complies with [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). - [x] I have edited the CHANGELOG accordingly.
- Loading branch information