Skip to content

Releases: iExecBlockchainComputing/iexec-voucher-subgraph

v1.1.0

04 Feb 09:11
0369076
Compare
Choose a tag to compare

🌟 New Features

  • RoleGranted & RoleRevoked Event Handling (voucherHub)
    Added support for the following roles with explicit identifiers:
    • DEFAULT_ADMIN_ROLE (0x00)
    • UPGRADER_ROLE (0x189ab7...d2e3)
    • MANAGER_ROLE (0x241ecf...b08)
    • MINTER_ROLE (0x9f2df0...6a6)
    • Unrecognized roles are now labeled as UNKNOWN_ROLE (#19).

🛠 Changes

  • [BREAKING CHANGE] Transition from nRLC to RLC in Subgraph Fields
    The following fields now use RLC as the unit instead of nRLC (#11):

    appPrice, datasetPrice, workerpoolPrice, sponsoredAmount, drainedAmount,  
    refundedAmount, topUpValue, value  
    

    ⚠️ Action Required: Update integrations relying on these fields.

  • Numeric Fields Upgraded to BigDecimal
    Improved precision for:

    voucher balance, value, appPrice, datasetPrice, workerpoolPrice (#23)  
    
  • Jenkins Deployment Updates
    Updated IPFS and GraphNode URLs in the Jenkins deployer configuration (#25).


🧪 Test Improvements

  • Added unit tests for events:
    • voucherCreated, AccountAuthorized, AccountUnauthorized (#20)
    • VoucherTypeDurationUpdated, VoucherTypeDescriptionUpdated (#21)
    • VoucherTypeCreated (#22)
    • VoucherDrained (#24)