Commit bed53cb
authored
fix(crypto): drop dangling serde_json/std refs in 4 crypto crates (#1420)
* chore(deps): bump tnt-core-bindings 0.17.0 → 0.17.1 (crates.io)
v0.17.1 lands the post-audit follow-up batch:
- M-2 escrow rescue: `withdrawRemainingEscrowTo(serviceId, to)` — owner-chosen
recipient escape hatch when escrow token blocklists the service owner.
- H-1 oracle snapshot at activation/join — per-(serviceId, op, asset) USD
price pinned at activation; post-activation oracle drift cannot inflate
one operator's bill share against honest co-operators.
- F-001 pull-payment staker forward — distributor pulls ERC20 via
`safeTransferFrom`; reverting distributor no longer strands tokens.
- Governance-tunable operator cap — `setMaxOperatorsPerService` /
`maxOperatorsPerService` view, default 256 (was hardcoded 64).
- New events: PushTransferFailed, PriceOracleFallback, MaxOperatorsPerServiceUpdated.
Switches off the git-branch pin and onto the published crates.io release.
`cargo check --workspace` clean — no ABI break sites in the workspace.
* chore(release): bump workspace to alpha.5 — tnt-core-bindings v0.17.1 + audit follow-up
Per-crate prerelease bump preserving each crate's major/minor lineage:
- blueprint-* core/sdk/runner/etc.: 0.2.0-alpha.4 → 0.2.0-alpha.5
- blueprint-manager: 0.4.0-alpha.3 → 0.4.0-alpha.4
- blueprint-pricing-engine: 0.3.0-alpha.3 → 0.3.0-alpha.4
- cargo-tangle: 0.5.0-alpha.3 → 0.5.0-alpha.4
Picks up tnt-core-bindings v0.17.1 transitively (M-2 escrow rescue, H-1
oracle snapshot, F-001 pull-payment, governance-tunable operator cap).
* fix(crypto-bls): remove dangling serde_json/std feature reference
`serde_json` is a dev-dependency, not a top-level dep — its `std` feature
can't be activated from the package's own `std` feature gate. Cargo's
strict manifest validation rejects this on publish.
Triggered by `cargo workspaces publish` halting on:
> error: feature `std` includes `serde_json/std`, but `serde_json` is not a dependency
* fix(crypto): drop dangling serde_json/std refs in crypto crates
Same bug as #1419 in 4 more crypto crates (ed25519, bn254, sr25519, k256).
serde_json is only a dev-dependency in these crates; referencing its `std`
feature from the package's own `std` feature is a manifest validation
error that halts `cargo publish`.
Removed the dangling references; serde_json isn't used in non-test paths.1 parent 71e7c2d commit bed53cb
4 files changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
0 commit comments