Ecosystem 5.2.0

30 January 2025

BUG FIXESUTXOEVM CHAINSDEPOSIT SYSTEM

Ecosystem v5.2.0

Release Date: January 30, 2025 Tags: BUG FIXES, UTXO, EVM CHAINS, DEPOSIT SYSTEM

Changed

UTXO System

  • Changed UTXO saving on deposits for BTC, LTC, DOGE, DASH
  • Changed UTXO withdrawal logic to convert units properly
  • Changed stored balances to always be held in standard units, while calculations are always done in satoshis
  • Changed UTXO deposit monitoring to log only new transactions

API Migration

  • Changed all Etherscan-based lookups to the V2 endpoints, passing the chain id for every supported network
  • Changed error handling so a deprecated V1 response is handled gracefully rather than failing the lookup
  • Changed the error logging for explorer lookups so a failure is identifiable in the logs

Wallet Management

  • Changed wallet creation to log a detailed reason when it fails
  • Changed transaction parsing errors to include sample data in the message

Fixed

UTXO & Bitcoin Ecosystem

  • Fixed BTC deposits not saving UTXOs to the database
  • Fixed UTXO withdrawal unit conversion issues (satoshis versus BTC)
  • Fixed BTC withdrawal failing with an "Insufficient funds" error
  • Fixed UTXO input amounts not being converted to satoshis for calculations
  • Fixed change amounts not being converted back to standard units
  • Fixed UTXO deposit monitoring logging far more than it needed to

Ethereum & EVM Chains

  • Fixed ETH wallet creation failing validation
  • Fixed the wallet address not being initialised when a wallet was created
  • Fixed errors caused by the deprecation of the Etherscan V1 API
  • Fixed "Invalid raw transactions format" errors
  • Fixed the chain id being missing from Etherscan V2 requests
  • Fixed EVM deposit monitoring errors on every Etherscan-based chain