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

Add support for "Regtest" BTC network #713

Merged
merged 5 commits into from
Sep 6, 2024
Merged

Add support for "Regtest" BTC network #713

merged 5 commits into from
Sep 6, 2024

Conversation

lmuntaner
Copy link
Contributor

Motivation

We want to use Regtest for local development in Oisy, but at the moment, this network is not supported in the BitcoinNetwork.

Changes

  • Add "regtest" as supported BitcoinNetwork and change the mapper to support the new value.

Tests

No new functionality.

Todos

  • Add entry to changelog (if necessary).

Copy link
Contributor

github-actions bot commented Sep 6, 2024

size-limit report 📦

Path Size
@dfinity/ckbtc 7.99 KB (+0.13% 🔺)
@dfinity/cketh 3.45 KB (0%)
@dfinity/cmc 1.29 KB (0%)
@dfinity/ledger-icrc 4.17 KB (0%)
@dfinity/ledger-icp 15.43 KB (0%)
@dfinity/nns 36.48 KB (0%)
@dfinity/nns-proto 140.98 KB (0%)
@dfinity/sns 15.92 KB (0%)
@dfinity/utils 4.5 KB (0%)
@dfinity/ic-management 2.92 KB (0%)

@lmuntaner lmuntaner marked this pull request as ready for review September 6, 2024 12:59
@lmuntaner lmuntaner requested review from a team as code owners September 6, 2024 12:59
@lmuntaner
Copy link
Contributor Author

@dskloetd @peterpeterparker please review

Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

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

In few JS docs it's mentionned "(mainnet or testnet)" or "Tesnet or mainnet", should those comment be enhanced as well maybe?

@lmuntaner
Copy link
Contributor Author

lmuntaner commented Sep 6, 2024

In few JS docs it's mentionned "(mainnet or testnet)" or "Tesnet or mainnet", should those comment be enhanced as well maybe?

Which docs?

IGNORE, I found it.

Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

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

LGTM, thx

@lmuntaner lmuntaner merged commit a5c26b3 into main Sep 6, 2024
11 checks passed
@lmuntaner lmuntaner deleted the lm-add-regtest branch September 6, 2024 13:49
lmuntaner added a commit to dfinity/oisy-wallet that referenced this pull request Sep 9, 2024
# Motivation

I want to use `"regtest"` from `BitcoinNetwork` type. The new entry was
added in dfinity/ic-js#713 and it hasn't been
published in any version but next yet.

# Changes

* Upgrade ckbtc to `3.0.0-next-2024-09-09`

# Tests

I checked that the new entry is accessible in node_modules.
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