DET-004: Refactor Policy BudgetLedger for determinism
- Inject TimeProvider and IGuidProvider in BudgetLedger constructor - Replace DateTimeOffset.UtcNow with _timeProvider.GetUtcNow() - Replace Guid.NewGuid() with _guidProvider.NewGuid() - Add Determinism.Abstractions reference to Policy csproj Sprint: SPRINT_20260104_001_BE_determinism_timeprovider_injection Task: DET-004 (in progress - Policy module)
This commit is contained in:
@@ -28,5 +28,6 @@
|
||||
<ProjectReference Include="../../../Attestor/__Libraries/StellaOps.Attestor.ProofChain/StellaOps.Attestor.ProofChain.csproj" />
|
||||
<ProjectReference Include="../../../__Libraries/StellaOps.Canonical.Json/StellaOps.Canonical.Json.csproj" />
|
||||
<ProjectReference Include="../../../__Libraries/StellaOps.Cryptography/StellaOps.Cryptography.csproj" />
|
||||
<ProjectReference Include="../../../__Libraries/StellaOps.Determinism.Abstractions/StellaOps.Determinism.Abstractions.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user