Skip to content

Commit

Permalink
Fix registry and deps update
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Feb 20, 2024
1 parent c6f98db commit 8370370
Show file tree
Hide file tree
Showing 8 changed files with 201 additions and 189 deletions.
370 changes: 191 additions & 179 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This helps your apps no longer having to provide a flag such as `your-cli --url
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/dwellir.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/onfinality.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/moonbeam.json
subrpc reg add https://polkadot-cloud.github.io/polkadot_network_directory/registry.json
subrpc reg add https://polkadot-ui.github.io/polkadot_network_directory/registry.json
subrpc reg up
subrpc system info

Expand Down Expand Up @@ -61,7 +61,7 @@ Registries are mainly a list of RPC endpoints, stored into a json file and avail

You can find below a list of public registries:

- [Polkadot Network Directory Registry](https://polkadot-cloud.github.io/polkadot_network_directory/registry.json): The [Polkadot Network Directory](https://polkadot-cloud.github.io/polkadot_network_directory) project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory
- [Polkadot Network Directory Registry](https://polkadot-ui.github.io/polkadot_network_directory/registry.json): The [Polkadot Network Directory](https://polkadot-ui.github.io/polkadot_network_directory) project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory

- [SubRPC Registry](https://raw.githubusercontent.com/chevdor/subrpc/master/registry/subrpc.json): A small basic registry to get started and show an example

Expand Down
2 changes: 1 addition & 1 deletion README_src.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/dwellir.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/onfinality.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/moonbeam.json
subrpc reg add https://polkadot-cloud.github.io/polkadot_network_directory/registry.json
subrpc reg add https://polkadot-ui.github.io/polkadot_network_directory/registry.json
subrpc reg up
subrpc system info
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ readme.workspace = true
repository.workspace = true

[dependencies]
env_logger = "0.10"
env_logger = "0.11"
log = "0.4"
clap = { version = "4", features = ["derive", "env", "unicode", "cargo"] }
color-eyre = "0.6"
Expand Down
4 changes: 2 additions & 2 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This helps your apps no longer having to provide a flag such as `your-cli --url
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/dwellir.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/onfinality.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/moonbeam.json
subrpc reg add https://polkadot-cloud.github.io/polkadot_network_directory/registry.json
subrpc reg add https://polkadot-ui.github.io/polkadot_network_directory/registry.json
subrpc reg up
subrpc system info

Expand Down Expand Up @@ -61,7 +61,7 @@ Registries are mainly a list of RPC endpoints, stored into a json file and avail

You can find below a list of public registries:

- [Polkadot Network Directory Registry](https://polkadot-cloud.github.io/polkadot_network_directory/registry.json): The [Polkadot Network Directory](https://polkadot-cloud.github.io/polkadot_network_directory) project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory
- [Polkadot Network Directory Registry](https://polkadot-ui.github.io/polkadot_network_directory/registry.json): The [Polkadot Network Directory](https://polkadot-ui.github.io/polkadot_network_directory) project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory

- [SubRPC Registry](https://raw.githubusercontent.com/chevdor/subrpc/master/registry/subrpc.json): A small basic registry to get started and show an example

Expand Down
2 changes: 1 addition & 1 deletion doc/registries.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Registries are mainly a list of RPC endpoints, stored into a json file and avail

You can find below a list of public registries:

- https://polkadot-cloud.github.io/polkadot_network_directory/registry.json[Polkadot Network Directory Registry]: The https://polkadot-cloud.github.io/polkadot_network_directory[Polkadot Network Directory] project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory
- https://polkadot-ui.github.io/polkadot_network_directory/registry.json[Polkadot Network Directory Registry]: The https://polkadot-ui.github.io/polkadot_network_directory[Polkadot Network Directory] project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory
- https://raw.githubusercontent.com/chevdor/subrpc/master/registry/subrpc.json[SubRPC Registry]: A small basic registry to get started and show an example
- Add your registry with https://github.com/chevdor/subrpc/pulls[Pull Request]
4 changes: 2 additions & 2 deletions subrpc-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ repository.workspace = true
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
log = "0.4"
env_logger = "0.10"
env_logger = "0.11"
tokio = { version = "1", features = ["rt"], default-features = false }
jsonrpsee = { version = "0.21", git = "https://github.com/paritytech/jsonrpsee", features = [
jsonrpsee = { version = "0.22", git = "https://github.com/paritytech/jsonrpsee", features = [
"client",
] }
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion subrpc-core/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ mod test_super {

#[test]
fn test_load_from_url() {
let test_url = "https://polkadot-cloud.github.io/polkadot_network_directory/registry.json";
let test_url = "https://ui.github.io/polkadot_network_directory/registry.json";
let reg = Registry::load_from_url(test_url).unwrap();
println!("{reg:#?}");
assert_eq!("Polkadot Network Directory", reg.name);
Expand Down

0 comments on commit 8370370

Please sign in to comment.