Skip to content

[AIR-3][AIS-3][BPC-3][RES-3] Anya Core Changelog

Overview

Add a brief overview of this document here.

Table of Contents

Last Updated: May 19, 2025

Summary of Changes

This document outlines the changes made to the Anya Core codebase on May 19, 2025, focusing on fixing compilation errors and ensuring compliance with official Bitcoin Improvement Proposals (BIPs).

RGB Module Fixes

  • Fixed duplicate implementation of the generate_asset_id function
  • Ensured proper AI labeling according to BDF v2.5 standards
  • Validated Taproot-compatible asset ID generation

Bitcoin Module Fixes

  • Removed duplicate InvalidConfiguration error variant in the BitcoinError enum
  • Fixed the network configuration handling in the Bitcoin rust module
  • Updated the block_hash method usage in the verify_merkle_proof method to use the correct field access
  • Added proper AI labeling for all Bitcoin-related components

ML Module Fixes

  • Fixed the Device::cuda and Device::Cpu usage to use the correct method calls
  • Implemented the missing predict_proposal_metrics method in the MLService
  • Fixed the duplicate Ok(()) statement in the ML service module
  • Added proper AI labeling for all ML-related components

DLC Module Fixes

  • Added the missing OracleClient struct and its implementation
  • Fixed the create_contract method signature to match the implementation
  • Updated the sign_contract method to handle the missing InvalidSignature error variant
  • Ensured proper AI labeling according to BDF v2.5 standards

Documentation Updates

  • Updated the main README.md with the current date (May 19, 2025)
  • Updated the AI_LABELING.md to version 3.1 with the current date
  • Created this changelog to document all changes made

Compliance Status

All modules now comply with official Bitcoin Improvement Proposals (BIPs) and include proper AI labeling as per the canonical AI Labeling System.

Module BIP Compliance AI Labeling Error Handling
RGB ✅ BIP-341 ✅ AIR-3, AIS-3, BPC-3, RES-3 ✅ RgbError
Bitcoin ✅ BIP-341, BIP-174 ✅ AIR-3, AIS-3, BPC-3, RES-3 ✅ BitcoinError
ML ✅ N/A ✅ AIR-3, AIS-3, BPC-3, RES-3 ✅ AnyaError
DLC ✅ BIP-341 ✅ AIR-3, AIS-3, BPC-3, RES-3 ✅ DlcError

Next Steps

  • Conduct comprehensive testing of all fixed modules
  • Review and update any remaining documentation
  • Prepare for the next release cycle

See Also