-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
65 changed files
with
541 additions
and
1,289 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
VERSION=0.20.6 | ||
VERSION=0.21.0 | ||
ENV=production | ||
LOG_LEVEL=debug | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
_migrations/network/migrations/20241119095142_dn_update.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- Add down migration script here |
54 changes: 54 additions & 0 deletions
54
_migrations/network/migrations/20241119095142_dn_update.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
-- Add up migration script here | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN kusama_account_id; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN discovered_at; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN inclusion; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN commission; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN is_active; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN unclaimed_eras; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN nominated_at; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN offline_accumulated; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN offline_since; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN name; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN location; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN rank; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN version; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN is_valid; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN fault_count; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_updated_at; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_total; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_aggregate; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_inclusion; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_discovered; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_nominated; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_rank; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_unclaimed; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_bonded; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_faults; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_offline; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_randomness; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_span_inclusion; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_location; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_country; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_nominator_stake; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_provider; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN score_region; | ||
ALTER TABLE sub_onekv_candidate DROP COLUMN created_at; | ||
|
||
ALTER TABLE sub_onekv_candidate ADD COLUMN IF NOT EXISTS identity text NOT NULL; | ||
ALTER TABLE sub_onekv_candidate ADD COLUMN IF NOT EXISTS status VARCHAR(256) NOT NULL; | ||
ALTER TABLE sub_onekv_candidate ADD COLUMN IF NOT EXISTS created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT now(); | ||
|
||
ALTER TABLE sub_onekv_nominator DROP COLUMN onekv_id; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN stash_account_id; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN proxy_account_id; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN bonded_amount; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN proxy_delay; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN last_nomination_at; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN nominator_created_at; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN average_stake; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN reward_destination; | ||
ALTER TABLE sub_onekv_nominator DROP COLUMN created_at; | ||
ALTER TABLE sub_onekv_nominator ADD COLUMN IF NOT EXISTS created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT now(); | ||
|
||
DROP TABLE sub_onekv_candidate_validity; | ||
DROP TABLE sub_onekv_nominee; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "subvt-config" | ||
version = "0.20.7" | ||
version = "0.21.0" | ||
edition = "2021" | ||
rust-version = "1.67.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "subvt-logging" | ||
version = "0.20.7" | ||
version = "0.21.0" | ||
edition = "2021" | ||
rust-version = "1.67.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "subvt-metrics" | ||
version = "0.20.7" | ||
version = "0.21.0" | ||
edition = "2021" | ||
rust-version = "1.67.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "subvt-nft" | ||
version = "0.20.7" | ||
version = "0.21.0" | ||
edition = "2021" | ||
rust-version = "1.67.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 0 additions & 52 deletions
52
subvt-notification-generator/src/inspect/validator_list/onekv/location.rs
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
subvt-notification-generator/src/inspect/validator_list/onekv/mod.rs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.