Skip to content

Releases: icdevsorg/icrc3.mo

Bug Fix

25 Feb 01:26

Choose a tag to compare

v0.4.2

Bug Fix

  • Fixed archive OVS actionMultiplier from 1_000_000_000 to 1_000_000 — was 1000x too high, now correctly computes to 1 extra XDR per 1,000,000 records stored as intended by the code comment

Clean up release

24 Feb 16:33

Choose a tag to compare

CHANGELOG
v0.4.1

  • optimize icrc3_get_blocks
  • general clean up of unused imports
  • made archives a query

Update To Core

20 Feb 22:42

Choose a tag to compare

v0.4.0

Code Quality

  • Probable breaking changes
  • Fixed 8 unguarded Debug.print statements in get_tip_certificate() - now guarded with debug if(debug_channel.certificate)
  • Fixed unused identifier warnings across all source files:
    • archive/lib.mo: Removed unused imports (Int, Time, Timer), removed redundant stable keyword
    • example/main.mo: Removed unused imports and prefixed unused parameters
    • testActor/InterfaceTest.mo: Removed unused imports and prefixed unused functions
    • pic/ICRC3OVSTestCanisterV1.mo & V2.mo: Fixed unused variable warnings
    • testActor/test_runner.mo: Replaced deprecated ExperimentalCycles.add<system> with (with cycles = N) syntax, prefixed 40+ unused variables
    • updated to core, sha2, leb128

Mixin Enhancements

  • Added icrc3_get_stats() query function to mixin.mo for consistency with ICRC-2/4

Documentation

  • Complete README rewrite with:
    • Comprehensive API Reference section
    • Complete type documentation (Value, Transaction, BlockType, Stats, DataCertificate)
    • Interface Hooks documentation with usage examples
    • Security Considerations section
    • Migration Guide (v0.1.x → v0.2.x → v0.3.x)
    • Archive Configuration best practices
    • Transaction Log sizing guidelines