Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c238b19
feat!: ⬆️ 🎸 upgrade the postgres image to 18
prashantasdeveloper Sep 8, 2026
ed7ec00
chore: 🔥 delete the db migration files
prashantasdeveloper Sep 8, 2026
a0cf4ff
fix: 🐛 resolve accounts correctly when reindexing from the start
prashantasdeveloper Sep 8, 2026
9724123
feat!: 🎸 rebuild the POLYX record as a double-entry ledger
prashantasdeveloper Sep 8, 2026
4540078
test: 💍 add a harness that checks derived balances against chain state
prashantasdeveloper Sep 8, 2026
133febc
chore: 🤖 accept the pre-memo arity of settlement.InstructionCreated
prashantasdeveloper Sep 9, 2026
7979ce7
chore: 🤖 skip identity.ClaimRevoked events with no issuer
prashantasdeveloper Sep 9, 2026
b1a71d1
chore: 🤖 refine POLYX ledger balance attribution and derivation cost
prashantasdeveloper Sep 9, 2026
14eaa50
chore: 🤖 key RuntimeSnapshot sections the way every consumer spells them
prashantasdeveloper Sep 9, 2026
efffcfa
chore: 🤖 record stateTrieMigration events in EventIdEnum
prashantasdeveloper Sep 9, 2026
fd0092e
chore: 🤖 fall back to api.runtimeVersion when a block reports a stale…
prashantasdeveloper Sep 9, 2026
4622acb
chore: 🤖 address SonarCloud code smell9
prashantasdeveloper Sep 9, 2026
2f952ff
chore: 🤖 declare the validators and mmr members sync-metadata --write…
prashantasdeveloper Sep 9, 2026
2e690b6
chore: 🤖 type the reward-event data as stringable, not unknown
prashantasdeveloper Sep 9, 2026
e27ebd8
fix: 🐛 resolve RewardDestination from its camel-cased toJSON key
F-OBrien Sep 9, 2026
55e22c1
chore: 🤖 derive the pre-v8 staking lock from staking.ledger.total
prashantasdeveloper Sep 10, 2026
312c696
chore: 🤖 buffer NftHolder writes per block
prashantasdeveloper Sep 10, 2026
abf9ec9
chore: 🤖 tolerate a missing asset in handleAssetBalanceUpdated
prashantasdeveloper Sep 10, 2026
8fd8b39
docs: correct the verified claim that the v8 reward-destination path …
prashantasdeveloper Sep 10, 2026
cda7239
chore: 🤖 clear the staking lock at the v8 lock→hold migration
prashantasdeveloper Sep 10, 2026
1ebd957
chore: 🤖 debit the treasury pallet account on a disbursement, not the…
prashantasdeveloper Sep 10, 2026
d9f7b0d
chore: 🤖 identify a migrated asset by byte length, not the block's spec
prashantasdeveloper Sep 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions db/compat.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,23 @@ CREATE INDEX IF NOT EXISTS data_event_module_id_event_id_event_arg_2 ON events (
-- it reads exists in `schema.graphql`.
CREATE INDEX IF NOT EXISTS data_event_transfer_from ON events (trim( '"' from attributes #>> '{2,value,did}'));

-- Denormalised filter columns on `events`. These would be `@index` in schema.graphql, but
-- `@subql/node` caps an entity at 10 indexes (`indexCountLimit`, not configurable) and Event is
-- already at the cap. Kept here, as `master` had them.
CREATE INDEX IF NOT EXISTS data_event_claim_type ON events (claim_type);
CREATE INDEX IF NOT EXISTS data_event_claim_scope ON events (claim_scope);
CREATE INDEX IF NOT EXISTS data_event_claim_issuer ON events (claim_issuer);
CREATE INDEX IF NOT EXISTS data_event_corporate_action_ticker ON events (corporate_action_ticker);
CREATE INDEX IF NOT EXISTS data_event_fundraiser_offering_asset ON events (fundraiser_offering_asset);

-- Plain indexes that would otherwise be `@index` in schema.graphql but cannot be: `@subql/node`
-- caps an entity at 10 indexes (`indexCountLimit`, not configurable), and PolyxEntry is already
-- at the cap with its foreign keys and the three `@compositeIndexes`. These three back the
-- counterparty ("movements touching X"), era (reward/slash-per-era) and day-bucket queries.
CREATE INDEX IF NOT EXISTS data_polyx_entry_counterparty_address ON polyx_entries (counterparty_address);
CREATE INDEX IF NOT EXISTS data_polyx_entry_era_index ON polyx_entries (era_index);
CREATE INDEX IF NOT EXISTS data_polyx_entry_date ON polyx_entries (date);

-- Legacy views, dropped if an older deployment left them behind.
DROP VIEW IF EXISTS data_block;
DROP VIEW IF EXISTS data_event;
Expand Down
14 changes: 0 additions & 14 deletions db/migrations/10_schema_changes_for_portfolio_kind_support.sql

This file was deleted.

176 changes: 0 additions & 176 deletions db/migrations/11_handle_classic_ticker_claimed.sql

This file was deleted.

50 changes: 0 additions & 50 deletions db/migrations/12_add_new_8_chain_events.sql

This file was deleted.

33 changes: 0 additions & 33 deletions db/migrations/13_add_identity_to_asset_transactions.sql

This file was deleted.

Loading
Loading