Skip to content

Commit 713d6d8

Browse files
committed
Rename view to signer_registration_summary
1 parent caac617 commit 713d6d8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/runbook/registrations-monitoring/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ view for that.
99
```sh
1010
$> sqlite3 -table -batch \
1111
$DATA_STORES_DIRECTORY/monitoring.sqlite3 \
12-
`select epoch, version, total_epoch_stakes, stakes_version, stakes_ratio, pool_count from stake_signer_version;`
12+
`select epoch, version, total_epoch_stakes, stakes_version, stakes_ratio, pool_count from signer_registration_summary;`
1313
```
1414

1515
The variable `$DATA_STORES_DIRECTORY` should point to the directory where the

mithril-aggregator/src/event_store/database/migration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ create index metric_date_index on event(date(json_extract(content, '$.content.da
3636
SqlMigration::new(
3737
3,
3838
r#"
39-
create view stake_signer_version as with
39+
create view signer_registration_summary as with
4040
signer_version as (
4141
select
4242
json_extract(content, '$.content.party_id') as party_id,

mithril-aggregator/src/event_store/database/repository.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ mod tests {
147147
}
148148
}
149149

150-
mod stake_signer_version {
150+
mod signer_registration_summary {
151151
use std::sync::Arc;
152152

153153
use crate::event_store::{
@@ -229,7 +229,7 @@ mod tests {
229229
stakes_version,
230230
stakes_ratio,
231231
pool_count
232-
from stake_signer_version;";
232+
from signer_registration_summary;";
233233
let mut statement = connection.prepare(query)?;
234234
let mut result = Vec::new();
235235
while let Ok(sqlite::State::Row) = statement.next() {

0 commit comments

Comments
 (0)