Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

== DFX

=== feat: Add additional logging from bitcoin canister in replica.

Configures the replica to emit additional logging from the bitcoin canister whenever the bitcoin feature is enabled. This helps show useful information to developers, such as the bitcoin height that the replica currently sees.

=== fix: make `+build+` field optional for custom canisters

Prior to 0.11.0, a custom canister's `+build+` field could be left off if `+dfx build+` was never invoked. To aid in deploying prebuilt canisters, this behavior is now formalized; omitting `+build+` is equivalent to `+build: []+`.
Expand Down
4 changes: 4 additions & 0 deletions src/dfx/src/actors/replica.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ fn replica_start_thread(
socket_path.to_str().unwrap_or_default(),
]);
}

// Show debug logs from the bitcoin canister.
// This helps developers see, for example, the current tip height.
cmd.args(&["--debug-overrides", "ic_btc_canister::heartbeat"]);
}
if config.canister_http_adapter.enabled {
cmd.args(&["--subnet-features", "http_requests"]);
Expand Down