Skip to content

Release Firmachain v0.5.1-patch#21

Merged
haryunio merged 2 commits intomasterfrom
v0.5.1-patch-release
Dec 9, 2025
Merged

Release Firmachain v0.5.1-patch#21
haryunio merged 2 commits intomasterfrom
v0.5.1-patch-release

Conversation

@haryunio
Copy link
Contributor

@haryunio haryunio commented Dec 9, 2025

Pull Request for Firmachain v0.5.1-patch Release

Updates

Chain Binary

  • Upgrade: v0.5.1v0.5.1-patch
  • Since this patch is a non-breaking, non-governance upgrade, the chain version stays at v0.5.1

Patches

TempDir Cleanup Fix

  • firmachaind binary creates temporary directory on each run #20
  • Issue: Each firmachaind execution created a new /tmp/.firmachainXXXXXXX directory, which was never removed; causing inode growth and unnecessary disk usage, even for simple commands like firmachaind status.
  • Root Cause: CosmWasm’s temporary app initialization flow did not clean up WASM temp directories after command execution.
  • Solution: Added cleanup process during tempApp initialization to ensure directories are deleted properly.

Requirements

  • Go: v1.21 (same as v0.5.1)

Tests

  • Local: Unit Tests, CLI Commands
  • Devnet: Unit Tests, CLI Commands, E2E Tests
  • Testnet (Imperium-4): Unit Tests, CLI Commands, E2E Tests, Smart Contract Transactions (state-sync validation)

Detailed Description

This patch resolves the CosmWasm temp directory leakage that caused persistent /tmp/.firmachain* artifacts.

Key improvements:

  • Ensures temporary WASM directories are fully cleaned after each command.
  • Prevents inode exhaustion and improves node environment stability.

Who Should Upgrade

  • Required:

    • Node operators experiencing growing /tmp/.firmachain* directories
  • Recommended:

    • All validators and full nodes (upgrading avoids future disk bloat and improves overall reliability)

@haryunio haryunio requested review from koofree and thismars December 9, 2025 01:05
@haryunio haryunio self-assigned this Dec 9, 2025
@haryunio haryunio merged commit bd43328 into master Dec 9, 2025
1 check passed
@haryunio haryunio changed the title Release Firmachain v0.5.1 Release Firmachain v0.5.1-patch Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants