Skip to content

v0.0.1.dev6

Pre-release
Pre-release

Choose a tag to compare

@VanDung-dev VanDung-dev released this 26 Jan 20:59
· 1669 commits to main since this release

HieraChain v0.0.1.dev6 - Consensus Stability & Cleanup

Pre-release Warning: This is a development preview and is not intended for production use. APIs may change without notice.

What's New

Core Consensus

  • Emergency Event Pool Flush: Implemented an emergency flush mechanism for the event pool to prevent Out-Of-Memory (OOM) errors under high load (1f30e6a).

Infrastructure & Simulation

  • Docker Integration: Added docker-compose.test.yml for orchestrated simulation environments.
  • Health Check Logging: Improved health check logging for better observability during stress tests (1c03f83).

Stress Testing Framework

  • Chaos Sync Testing: Added test_chaos_sync.py to validate state coherence during node failures and restarts (1473ed3).
  • Poison Pill Testing: Added test_poison_pill.py to verify system resilience against malicious inputs (1473ed3).
  • Tsunami Flood Testing: Added test_tsunami_flood.py to validate high-throughput handling (1473ed3).
  • Real Network Simulation: Added test_real_network.py and real_stress_client.py for realistic network condition testing (1473ed3).

Testing & Quality Assurance

  • Legacy Test Removal: Removed deprecated HybridEngine Arrow integration tests to align with recent architectural changes (6354cd2).
  • Scenario Cleanup: Removed obsolete framework version checks from test scenarios (ba004f3).

Vulnerability Fixes

  • CVE-2026-24049: Bumped wheel dependency from 0.45.1 to 0.46.2 to address security vulnerability (64a3f37).

Files Changed

File Changes Commit
hierachain/consensus/ordering_service.py Add emergency event pool flush 1f30e6a
tests/stress/ Add comprehensive stress test suite (Chaos, Poison Pill, Tsunami) 1473ed3
docker/docker-compose.test.yml Add Docker composition for testing 1c03f83
tests/integration/test_hybrid_arrow.py Remove deprecated integration test 6354cd2
tests/scenarios/ Remove framework version checks ba004f3

Security Audit Summary

Tool Result
Bandit (SAST) ✅ CLEAN - No new issues detected
pip-audit (SCA) ✅ CLEAN - CVE-2026-24049 resolved

Known Limitations

  • Not production-ready
  • Emergency flush may impact immediate throughput during trigger
  • Documentation still in progress

Links

Documentation

Ecosystem

What's Changed

  • chore(deps-dev): bump wheel from 0.45.1 to 0.46.2 by @dependabot[bot] in #1

Full Changelog: v0.0.1.dev5...v0.0.1.dev6