diff --git a/contract/registry.yaml b/contract/registry.yaml index a5fff570e..a874b6af9 100644 --- a/contract/registry.yaml +++ b/contract/registry.yaml @@ -376,8 +376,8 @@ cloud_transports: [quic, websocket] # History resolutions backed by what the box actually stores. # --------------------------------------------------------------------------- resolutions: - '5m': { tile_span_ms: 43200000, retention_days: 30, source: energy_ledger } - '1h': { tile_span_ms: 604800000, retention_days: 730, source: hourly_rollup } + '5m': { tile_span_ms: 43200000, retention_days: 30, source: power_history } + '1h': { tile_span_ms: 604800000, retention_days: 730, source: power_history } # --------------------------------------------------------------------------- # What an agent may put in each op it can name (docs/agents.md in srcfl/ftw, diff --git a/go/protocol/contract_gen.go b/go/protocol/contract_gen.go index 701af119c..9df0cd81c 100644 --- a/go/protocol/contract_gen.go +++ b/go/protocol/contract_gen.go @@ -517,9 +517,9 @@ const ( type Resolution string const ( - // ResN1h comes from the hourly_rollup. + // ResN1h comes from the power_history. ResN1h Resolution = "1h" - // ResN5m comes from the energy_ledger. + // ResN5m comes from the power_history. ResN5m Resolution = "5m" )