Skip to content

Foedus Blockchain v0.3.2

Choose a tag to compare

@github-actions github-actions released this 30 Nov 05:45
· 38 commits to foedus since this release

Foedus Blockchain v0.3 — Release Notes

What's New in v0.3

✨ New Features

Contract Cancellation 🚫

Securely cancel active contracts and automatically recover undistributed funds.

Features:

  • Cancel contracts at any time with proper authorization
  • Proper authorization checks for contract parties
  • Network-wide propagation of cancellation events
  • Immutable cancellation records on blockchain

API Endpoint:

POST /blockchain/cancelcontract

Example Usage:

curl -X POST http://localhost:3000/blockchain/cancelcontract \
  -H "Content-Type: application/json" \
  -d '{
    "contract_id": "contract_hash_123",
    "creator": "creator_address"
  }'

🔧 Improvements

  • Optimized contract state transition handling
  • Better error handling for contract cancellation scenarios
  • Enhanced contract validation logic

🐛 Bug Fixes

  • Fixed race conditions in contract state updates
  • Corrected contract status verification
  • Resolved edge cases in fund recovery mechanism

Download: Docker Hub | Source: GitHub