SharePoolDenominatorReconciled
Event v464 → current #150Emitted when a share pool's denominator was rewritten to the sum of its live share rows.
View events on chainUseful for: analyticsdevelopers
The Big Picture
The only emit site is the migration, so occurrences are confined to the v464 upgrade block. No extrinsic raises it. Source: pallets/subtensor/src/migrations/migrate_reconcile_share_pools.rs at v467.
Use Cases
- Explain a step change in per-member alpha quotes at the v464 upgrade
- Identify which pools the reconciliation touched
How to Use This Event
- → Treat as a one-time correction marker for the named pool
From Chain Metadata
A share pool's denominator was rewritten to the sum of its live shares, so every member is quoted exactly its fraction of the pool value.
Triggers
Preconditions
- The one-shot migration migrate_reconcile_share_pools found a pool whose live shares did not sum to TotalHotkeySharesV2
Effects
Postconditions
- TotalHotkeySharesV2 for (hotkey, netuid) equals the sum of live Alpha and AlphaV2 rows
- Every member is quoted exactly its fraction of the pool value
Side Effects
- If the denominator crossed zero, AlphaSharePoolEpoch advanced
Event Data
Code Examples
import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443
const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);
// Subscribe to SharePoolDenominatorReconciled events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.SubtensorModule.SharePoolDenominatorReconciled.get(block.hash);
for (const evt of events) {
console.log("SharePoolDenominatorReconciled:", evt.payload);
}
});Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 150
- First Version
- v464
- Current Version
- v472