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
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ edition = "2021"
# the ROOT manifest (`[workspace.package].version`), so it MUST be set here for a
# release to fire (§3.6). The library crates (dig-node-core/dig-runtime/dig-wallet)
# keep their own independent versions — only the released binary tracks the workspace version.
version = "0.252.20"
version = "0.252.40"

# Release hardening, matching digstore: keep integer-overflow checks ON in release.
# The node parses untrusted serialized input and does offset/length arithmetic over
Expand Down
6 changes: 3 additions & 3 deletions crates/dig-node-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ dig-mirror-collateral = "0.3"
# The chain half of the same model: `census` counts the collateralised network at a block height
# and hands `dig-mirror-collateral` the three integers its controller consumes (dig-node#400).
# Without it a node could only ever record epoch 1, which is derivable from nothing.
dig-mirror-coin = "0.7"
dig-mirror-coin = "0.9"

# The canonical `ChainSource` trait `dig-mirror-coin`'s census is generic over. Declared, not
# implemented: `chia-query` already provides the implementation this node uses
Expand All @@ -120,7 +120,7 @@ dig-chainsource-interface = "0.3"
# `build_reclaim` pass them straight through. They were dev-dependencies while the module was
# unwired; a public signature cannot be spelled in a dev-dependency.
#
# The whole chia set moves TOGETHER and every version here is the one `dig-mirror-coin` 0.7 and
# The whole chia set moves TOGETHER and every version here is the one `dig-mirror-coin` 0.9 and
# `dig-wallet` compile against. A crate split across two chia lines compiles until something
# crosses a public signature -- which is exactly what these four do -- and then the `Bytes32` the
# builder wants is a different type from the one the caller holds.
Expand Down Expand Up @@ -337,7 +337,7 @@ chia-protocol = "0.36.1"
# hand-written `CoinRecord` cannot exercise the authentication path the census runs, so the probe
# would assert its property against a fixture that could not exhibit it.
#
# Every version here is the one `dig-mirror-coin` 0.7 itself compiles against, and the whole set
# Every version here is the one `dig-mirror-coin` 0.9 itself compiles against, and the whole set
# moves together: the chia ceiling is not one number, and a crate split across two chia lines
# compiles only until something crosses a public signature.
chia-puzzle-types = "0.36.1"
Expand Down
7 changes: 7 additions & 0 deletions crates/dig-node-service/src/mirror/spends.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,13 @@ pub fn build_create(
root_hash,
epoch: epoch.clone(),
urls,
// No peer declaration: this reproduces exactly what dig-mirror-coin 0.7 wrote, which
// had no declared_peer concept at all, so the bump changes nothing about the coins this
// node creates. It is a deliberate choice rather than a default -- the crate made the
// field required precisely so a consumer cannot inherit one silently. Binding this
// collateral to the node's own DIG peer id is dig-node#473, which owns that decision and
// the signature change it needs.
declared_peer: None,
collateral: collateral_dig_base_units,
},
dig_coins,
Expand Down
Loading