Skip to content

Release 2026 02 12 ocp v31 vesting zero portion

Cursor Agent edited this page Jun 22, 2026 · 4 revisions

Release: OCP v31 Patch 0.0.3 (VestingTerms schema alignment)

Historical — current source: OpenCapTable-v35; see Releases

Date: 2026-02-12 Author: NC Networks: devnet, mainnet

Summary

Patch release for OpenCapTable-v31 that aligns VestingTerms validation with OCF schema behavior. The contract now accepts vesting condition portions with numerator = 0.0 while continuing to require denominator > 0.0.

What's Being Deployed

Package Version Description
OpenCapTable-v31 0.0.3 Allow zero numerator in vesting condition portion

Changes

  1. Contract validation alignment

    • Updated validateOcfVestingConditionPortion in OpenCapTable-v31/daml/Fairmint/OpenCapTable/OCF/VestingTerms.daml.
    • Changed numerator rule from > 0.0 to >= 0.0 to match OCF numeric semantics.
    • Kept denominator rule strict (> 0.0) to prevent invalid ratios.
  2. Regression test coverage

    • Added testVestingTerms_ZeroPortionNumerator to confirm zero numerator is accepted.
    • Added testVestingTerms_ZeroDenominatorFails to confirm zero denominator is rejected.
  3. Version propagation

    • Updated package references from OpenCapTable-v31-0.0.2 to OpenCapTable-v31-0.0.3 in build and packaging scripts.

Pre-Deployment Checklist

  • npm run build - All packages built successfully
  • npm run test - All tests passing
  • Upload OCP DAR to devnet
  • Upload OCP DAR to mainnet
  • Verify DAR backups and lockfile

Deployment Commands

npm run build
npm run test
npm run upload-dar -- --package ocp --network devnet
npm run upload-dar -- --package ocp --network mainnet
npm run verify-dars

Related

  • PR #171: Fix VestingTerms zero-portion validation and bump OpenCapTable-v31

Follow-up Task

  • Centralize OpenCapTable version source-of-truth: scripts/packages.ts reads versions from each package’s daml.yaml at build time (package metadata and script-generated references derive from that).

Generated: 2026-02-12

Clone this wiki locally