Skip to content

Cross-runtime consistency fixes #82

@sliedig

Description

@sliedig

Summary

A set of fixes to align the .NET runtime with the other runtimes (Java, Python, TypeScript) for functional equivalence and cross-runtime consistency.


Contracts Service

Metric name correction (ContractEventHandler.cs)

  • CreateContractAsync: renamed metric from "NewContracts" to "ContractCreated"
  • Aligns with the canonical metric name used by all other runtimes

Missing metric (ContractEventHandler.cs)

  • UpdateContractAsync: added Metrics.AddMetric("ContractUpdated", 1, MetricUnit.Count, MetricResolution.Standard) after a successful UpdateItemAsync call
  • The update path previously emitted no custom metric; this brings it in line with all other runtimes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions