Skip to content

feat: track pools' shares issuance in ema-oracle - #1152

Merged
martinfridrich merged 18 commits into
masterfrom
feat/ema-oracle-track-shares-issuance
Jul 14, 2025
Merged

feat: track pools' shares issuance in ema-oracle #1152
martinfridrich merged 18 commits into
masterfrom
feat/ema-oracle-track-shares-issuance

Conversation

@martinfridrich

Copy link
Copy Markdown
Contributor

This PR adds shares_issuance: Option<Balance> to OracleEntry. This field will be used to track pool's shares issuance.
shares_issuance is initialized to None during migration that migrates all existing oracles. It's value will be updated lazyly by pools using OnActivityHandler.

@github-actions

github-actions Bot commented Jul 10, 2025

Copy link
Copy Markdown

Crate versions that have been updated:

  • runtime-integration-tests: v1.45.2 -> v1.45.3
  • hydra-dx-math: v10.1.0 -> v10.2.0
  • pallet-ema-oracle: v1.7.1 -> v1.8.0
  • pallet-hsm: v1.1.0 -> v1.1.1
  • pallet-stableswap: v5.3.1 -> v5.3.2
  • pallet-xyk: v6.9.0 -> v6.10.0
  • hydradx-adapters: v1.7.0 -> v1.8.0
  • hydradx-runtime: v327.0.0 -> v328.0.0
  • hydradx-traits: v3.15.5 -> v4.0.0

Runtime version has been increased.

Comment thread pallets/ema-oracle/src/migrations/v1.rs Outdated
@github-actions

Copy link
Copy Markdown

Quick benchmark at commit 4d03991 has been executed successfully.
View results

@martinfridrich
martinfridrich merged commit 34c79e8 into master Jul 14, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants