Fiber Dev Log 2025-04-17

1 min read
#devlog

Updates

Features

  • Fiber v0.5.0 Released

    Including breaking changes to both contract behavior and configuration files.

    View the release note for more details: https://github.com/nervosnetwork/fiber/releases/tag/v0.5.0

Fixes

Performance & Build

  • Resolved performance regression: https://github.com/nervosnetwork/fiber/pull/661
  • Fixed compiling issue caused by build.rs: https://github.com/nervosnetwork/fiber/pull/651

Watchtower Improvements

  • Watchtower now loops through all live cells to prevent transaction pinning attacks.
    • Extracted preimage discovery into a dedicated find_preimages function: https://github.com/nervosnetwork/fiber/pull/644
  • Watchtower now claims upstream HTLCs using on-chain preimages: https://github.com/nervosnetwork/fiber/pull/640

Channel Handling

  • Force-close channel when HTLCs expire without response: https://github.com/nervosnetwork/fiber/pull/623
  • Forbid abandoning signed funding channels to prevent risk from peers committing signed funding transactions later: ****https://github.com/nervosnetwork/fiber/pull/633
  • Fixed invoice cancel bug caused by check channels job in edge cases: https://github.com/nervosnetwork/fiber/pull/657
  • Added test for retrying remove HLC and preimages cleanup: ****https://github.com/nervosnetwork/fiber/pull/647

In Progress

  • Fixing channel closure issue

    Addresses the problem where channels get stuck in the AWAITING_CHANNEL_READY state: https://github.com/nervosnetwork/fiber/issues/606

  • Refactoring the Watchtower into a standalone service with WASM support

  • Implementing database support to Fiber WASM.

View original discussion on GitHub
Open in GitHub Discussions
All Posts

Found this helpful? Share it with others!

Fiber Dev Log 2025-04-17 | Fiber Devlog