Skip to content

Commit 8b76a11

Browse files
committed
Validator list updater improvements. Some linting improvements. Bump version.
1 parent abf1c0a commit 8b76a11

File tree

64 files changed

+142
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+142
-121
lines changed

Cargo.lock

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_config/base.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ host = "127.0.0.1"
135135
active_validator_list_server_port = 11003
136136
app_service_port = 11013
137137
block_processor_port = 11000
138+
asset_hub_block_processor_port = 11011
138139
inactive_validator_list_server_port = 11004
139140
network_status_server_port = 11006
140141
network_status_updater_port = 11005

_config/network/kusama.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ chain = "kusama"
33
chain_display = "Kusama"
44
chain_genesis_hash = "0xB0A8D493285C2DF73290DFB7E61F870F17B41801197A149CA93654499EA3DAFE"
55
epochs_per_era = 6
6-
rpc_url = "wss://rpc.helikon.io/kusama"
7-
asset_hub_rpc_url = "wss://rpc.helikon.io/asset-hub-kusama"
8-
people_rpc_url = "wss://rpc.helikon.io/people-kusama"
9-
#rpc_url = "wss://rpc.ibp.network/kusama"
10-
#asset_hub_rpc_url = "wss://sys.ibp.network/asset-hub-kusama"
11-
#people_rpc_url = "wss://sys.ibp.network/people-kusama"
6+
#rpc_url = "wss://rpc.helikon.io/kusama"
7+
#asset_hub_rpc_url = "wss://rpc.helikon.io/asset-hub-kusama"
8+
#people_rpc_url = "wss://rpc.helikon.io/people-kusama"
9+
rpc_url = "wss://rpc.ibp.network/kusama"
10+
asset_hub_rpc_url = "wss://sys.ibp.network/asset-hub-kusama"
11+
people_rpc_url = "wss://sys.ibp.network/people-kusama"
1212
network_id = 1
1313
token_ticker = "KSM"
1414
token_decimals = 12

_docker/compose/.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=0.24.14
1+
VERSION=0.24.15
22
ENV=production
33
LOG_LEVEL=debug
44

_prometheus/subvt-kusama-prometheus.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ scrape_configs:
99
static_configs:
1010
- targets: [ "subvt_kusama_block_processor:11000" ]
1111
metrics_path: "/metrics"
12+
- job_name: subvt_asset_hub_block_processor
13+
scrape_interval: 5s
14+
static_configs:
15+
- targets: [ "subvt_kusama_asset_hub_block_processor:11011" ]
16+
metrics_path: "/metrics"
1217
- job_name: subvt_validator_list_updater
1318
scrape_interval: 5s
1419
static_configs:

_prometheus/subvt-polkadot-prometheus.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ scrape_configs:
99
static_configs:
1010
- targets: [ "subvt_polkadot_block_processor:11000" ]
1111
metrics_path: "/metrics"
12+
- job_name: subvt_asset_hub_block_processor
13+
scrape_interval: 5s
14+
static_configs:
15+
- targets: [ "subvt_polkadot_asset_hub_block_processor:11011" ]
16+
metrics_path: "/metrics"
1217
- job_name: subvt_validator_list_updater
1318
scrape_interval: 5s
1419
static_configs:

clippy.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
disallowed-types = ["std::collections::HashMap", "std::collections::HashSet"]
1+
disallowed-types = ["std::collections::HashMap", "std::collections::HashSet"]
2+
too-many-arguments-threshold = 12

subvt-app-service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "subvt-app-service"
3-
version = "0.24.14"
3+
version = "0.24.15"
44
edition = "2021"
55
rust-version = "1.67.0"
66

subvt-block-processor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "subvt-block-processor"
3-
version = "0.24.14"
3+
version = "0.24.15"
44
edition = "2021"
55
rust-version = "1.67.0"
66

subvt-block-processor/src/event/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ mod referenda;
1010
mod staking;
1111
mod system;
1212

13-
#[allow(clippy::too_many_arguments)]
1413
pub(crate) async fn process_event(
1514
postgres: &PostgreSQLNetworkStorage,
1615
block_hash: &str,

0 commit comments

Comments
 (0)