Skip to content

Conversation

@Alann27
Copy link
Contributor

@Alann27 Alann27 commented Jul 23, 2025

Summary

Updated code to match the changes made to poktroll events:

To match this changes we needed to update:

  • The proto files
  • The client generated code using buf
  • The handlers of the events affected

Type of change

Select one or more:

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Documentation
  • Other (specify)

Sanity Checklist

  • I have tested my changes using the available tooling
  • I have commented my code
  • I have performed a self-review of my own code; both comments & source code
  • I create and reference any new tickets, if applicable
  • I have left TODOs throughout the codebase, if applicable

Alann27 added 3 commits July 22, 2025 12:17
…oktroll#1672 PR where `Coin` attributes where changed to `string` in the following format `121upokt`
…pr.

- Refactored claim attribute handling for streamlined processing and improved data extraction.
- Added improved support for managing new schema fields such as `sessionEndBlockHeight`, `serviceId`, `proofValidationStatus`, and more.
- Optimized `EventClaimSettled` and `EventSupplierSlashed` mapping logic by introducing better handling for missing or optional attributes.
- Updated protobuf definitions to align with new requirements and added missing fields to several event messages.
- Added support for `rewardDistribution` to handle cases where `settlementResult` is undefined.
- Introduced handling for mint, burn, and module-to-module transfers within settlement logic.
- Updated `getDenomAndAmount` utility to account for parsing errors and ensure robust handling of string inputs.
@Alann27 Alann27 self-assigned this Jul 23, 2025
@Alann27 Alann27 added the enhancement New feature or request label Jul 23, 2025
@Olshansk Olshansk added this to Shannon Jul 29, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Shannon Jul 29, 2025
@Olshansk Olshansk moved this from 📋 Backlog to 🏗 In progress in Shannon Jul 29, 2025
…extraction logic, ensuring accurate matching of `service`, `app`, and `supplier` attributes.
@jorgecuesta
Copy link
Collaborator

Close this in favor of #60

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Shannon Sep 22, 2025
@jorgecuesta jorgecuesta deleted the feature/changes-to-match-flatten-events branch September 22, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants