caelum0x dedef5b2b3 fix(oracle): make the chain actually boot (4 startup panics)
The chain binary panicked on startup and could not produce a single block.
None of the ~2,450 unit/integration tests caught this because they construct
keepers directly and never exercise depinject wiring, store mounting, or full
app construction. Worse, app/test_helpers.go recover()s the construction panic
and t.Skip()s, so every app-construction test was silently skipped while the
suite reported green.

Fixes, all in the oracle module:
- module.pb.go: embed the cosmos.app.v1alpha1.module option in the file
  descriptor (depinject rejected the module without it).
- module.go: register the oracle params subspace in ProvideModule when missing,
  instead of panicking; the keeper installs its own key table.
- module.go: stop requesting store.KVStoreService alongside *KVStoreKey — the
  runtime created and mounted two "oracle" store keys, panicking on a duplicate.
- app_config.go: add the oracle module account to the auth permissions list
  (NewKeeper panics if it is absent).

Verified: clawchaind now boots and produces blocks (chain_id clawchain-local,
finalized/committed, agent params queryable on the live node).
2026-05-31 08:15:19 +03:00
..