Skip to content

v1.1.1-testnet — shielded-gate hardening

Choose a tag to compare

@ghostrider1092 ghostrider1092 released this 06 Nov 06:01
· 49 commits to main since this release
v1.1.1-testnet
7fd1e69

CoinCync v1.1.1-testnet — shielded-gate hardening (live on the fleet)

We've shipped v1.1.1-testnet and rolled it to the full public testnet fleet. This is pre-activation hardening of the shielded (Spark) pool gates, ahead of shielded activation at height 29,000.

Soft update, not a hard fork

The consensus fingerprint is unchanged — fc428e86…3664ca. Below height 29,000 this binary is behaviourally identical to v1.1.0-testnet, so nodes upgrade one at a time with no coordinated flag day, and it's reversible by redeploying the prior binary until the tip crosses 29,000.

What it fixes — consensus

  • #365 — reject a shielded payload with neither a mint nor a spend. Closes a miner-exploitable hole: an unshield with a positive value_balance but nothing behind it passed both the transparent↔shielded value bridge and the pool-underflow check, letting a miner draw real transparent value out of the pool — funded by other users' pooled balances — with no spend proof. The block gate now requires a mint (shield-in) or a spend (unshield/transfer).
  • #366 — run the shielded block gates before the tip moves. The gates had been running after the tip/height/supply were updated; a rejection returned without rolling them back, leaving the node reporting a height it never applied until restart. They now run before the first mutation.
  • #363 — regression test: locks the per-output zero-blinding guard against +x/−x cancelling-commitment inflation.

Wallet / tooling

  • #367 — a node-rejected shield-in now reports failure and frees the reserved inputs (transport errors still keep them reserved).
  • #364 — the swap DLEQ --context now defaults to the pre-lock gate's constant (removes a silent-rejection foot-gun).
  • #368 — regenerated CLI feature/crate tables.

Acknowledgements

The two consensus bugs fixed here — the shielded-pool drain (#365) and the tip-advance-on-reject (#366) — were spotted and fixed by @0x4D-5A. Thank you. 🙏

Operators

Grab the binary from the v1.1.1-testnet release, replace coincync-node, and restart — no flag day needed. The fleet is already on it: all nodes converged on fc428e86 at the same height, zero restarts.